YouTube Transcript Downloader

Downloads and copies YouTube video transcripts.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey, Greasemonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Userscripts.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een gebruikersscriptbeheerder nodig.

(Ik heb al een user script manager, laat me het downloaden!)

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

(Ik heb al een beheerder - laat me doorgaan met de installatie!)

Maker
blarer
Dagelijks aantal installaties
0
Totaal aantal installaties
85
Beoordelingen
0 0 0
Versie
1.1
Gemaakt op
31-12-2024
Bijgewerkt op
31-12-2024
Grootte
7,43 KB
Licentie
MIT
Wordt toegepast op

YouTube Transcript Downloader Userscript

This userscript enhances the YouTube viewing experience by providing a convenient way to download and copy the video's transcript. It automatically detects the transcript container and adds buttons for easy access.

Features:

  • Automatic Transcript Detection: The script dynamically searches for the transcript container, adapting to changes in YouTube's page structure. This ensures compatibility even with future updates to the YouTube website.
  • Download Button: A custom "Download Transcript" button is added to the transcript area, allowing users to download the transcript as a plain text file (.txt).
  • Clipboard Copy Button: A custom "Copy Transcript" button is added to the transcript area, allowing users to copy the transcript directly to their clipboard.
  • Timestamp Inclusion: The downloaded transcript includes timestamps for each segment, making it easy to locate specific parts of the video.
  • Error Handling: The script includes robust error handling to gracefully manage situations where the transcript is unavailable or there are issues during the download process.
  • Customizable Styling: The download and copy buttons are styled using embedded CSS, providing a visually appealing and consistent user experience.
  • Retry Mechanism: If the transcript isn't immediately available, the script will retry until it's found or a timeout is reached.

How to Use:

  1. Install a userscript manager: You'll need a browser extension like Tampermonkey (Chrome), Violentmonkey (Chrome, Firefox, Edge), or Greasemonkey (Firefox) to install and run this userscript.
  2. Install the script: Obtain the main.js file (see below for instructions on obtaining the file) and create a new userscript in your userscript manager. Save the script with a descriptive name (e.g., "YouTube Transcript Downloader").
  3. Visit a YouTube video: Navigate to any YouTube video with a transcript.
  4. Access the transcript: Open the video transcript by clicking the "Show transcript" button below the video.
  5. Download or copy the transcript: Two buttons, "Download Transcript" and "Copy Transcript", will appear in the transcript area. Click the respective button to either download the transcript as a .txt file or copy it to your clipboard.

Obtaining the main.js File:

You can obtain the main.js file from Here. This link will provide the complete, ready-to-use JavaScript code for the userscript. Remember to replace any placeholder comments with the appropriate code.

Author Credits:

This script was developed by Blareware aka blare.

License:

This userscript is licensed under the MIT License. See the main.js file for the full license text.

Disclaimer:

This script is provided as-is. Use at your own risk. YouTube's structure may change, potentially breaking the script's functionality. I am not responsible for any issues arising from the use of this script.