Skip to content

aculich/when2meet-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

When2Meet CSV Export Script

This script is designed to make exporting data from When2Meet simpler and more efficient, saving you time and effort in organizing participant availability data from a When2Meet page into a CSV file. It combines the best features from various community contributions (originally from camtheman256) into a single, easy-to-use tool.

Bookmarklet

You can add the When2Meet CSV Export bookmarklet to your browser by visiting this link to activate the link below.

NEW CURRENT:

When2Meet CSV Export Bookmarklet

OLD VERSIONS:

When2Meet CSV Export Bookmarklet

When2Meet CSV Export Bookmarklet

Drag the link above to your bookmarks bar or right-click the link above and add to bookmarks. image

Features

  • Simple Execution: Runs as a bookmarklet or directly from the browser's developer console, no additional tools required.
  • Readable Time Slots: Converts internal When2Meet time identifiers into human-readable format (e.g., "Monday 09:00:00 AM").
  • Participant Availability: Maps participant availability, marking 1 for available and 0 for unavailable.
  • Day and Time Separation: The exported CSV file separates the day of the week and the time into distinct columns.
  • Dynamic Filename Generation: The CSV file is automatically named using the format when2meet_UNIQUECODE_TIMESTAMP.csv, where UNIQUECODE is extracted from the URL and TIMESTAMP is formatted down to seconds.
  • Customizable Options: Allows customization of the filename, CSV delimiter, and time format (12-hour or 24-hour).
  • Direct CSV Download: Automatically downloads the generated CSV file to your device.

Problems or Feature Requests?

Add a new issue or check out the github repo and submit a pull request.

How to Use

  1. Open the When2Meet page where you want to export the availability data.
  2. Run from bookmarklet by clicking on it in your bookmarks bar after you have added the link above to your bookmarks.
  3. Or optionally, for more customization, open the browser's developer console:
    • On most browsers, press F12 or Ctrl + Shift + J (Windows/Linux) or Cmd + Option + J (Mac).
  4. Copy and paste the code from export_when2meet.js into the browser's developer console. In Chrome, you may need to first type allow pasting before you can copy & paste or drag the file into the console.
  5. Press Enter to run the script as: downloadCSV()
  6. The CSV file named when2meet_UNIQUECODE_TIMESTAMP.csv will automatically download to your device, where UNIQUECODE is extracted from the URL and TIMESTAMP is the current date and time, so for example when2meet_24892637-Evxyx_2024-05-20_133456.csv would be the download file from https://www.when2meet.com/?24892637-Evxyx

Customization Options

You can customize the filename, delimiter, and time format by passing options when calling the downloadCSV function. Here are some examples:

  • Default Filename: The default filename follows the format when2meet_UNIQUECODE_TIMESTAMP.csv, where UNIQUECODE is extracted from the URL and TIMESTAMP is the current date and time, so for example when2meet_24892637-Evxyx_2024-05-20_133456.csv would be the download file from https://www.when2meet.com/?24892637-Evxyx

    downloadCSV();
  • Custom Filename: Specify a custom filename instead of the default.

    downloadCSV({ filename: "my_custom_filename.csv" });
  • Custom Delimiter: Use a different delimiter (e.g., semicolon) instead of the default comma.

    downloadCSV({ delimiter: ";" });
  • 24-Hour Time Format: Convert times to 24-hour format.

    downloadCSV({ timeFormat: "24-hour" });
  • Combined Customization: Combine multiple options.

    downloadCSV({ filename: "custom_schedule.csv", delimiter: ";", timeFormat: "24-hour" });

This script is designed to make exporting data from When2Meet simpler and more efficient, saving you time and effort in organizing participant availability.