archiving community contributions on YouTube: unpublished captions, title and description translations and caption credits
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
tech234a e36d4af1ed
Add files via upload
před 3 roky
README.md Add files via upload před 3 roky
config.json Add files via upload před 3 roky
discovery.py Add files via upload před 3 roky
requirements.txt Add files via upload před 3 roky
ytcc-exporter.py Add files via upload před 3 roky

README.md

YouTube Community Contributed Captions Exporter

Export YouTube community-contributed captioning drafts to SBV files.

Setup

Install the requirements in the requirements.txt file (pip install -r requirements.txt). Because the captioning editor is only available to logged-in users, you must specify the values of three session cookies for any Google account (HSID, SSID, and SID). You can get these cookie values by opening the developer tools on any youtube.com webpage, going to the “Application” (Chrome) or “Storage” (Firefox) tab, selecting “Cookies”, and copying the required values.

Usage

Simply run python3 ytcc-exporter.py followed by a list of space-separated YouTube video IDs, and all community-contributed captioning drafts in all languages will be exported.