archiving community contributions on YouTube: unpublished captions, title and description translations and caption credits
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
tech234a 2115c9ccce Fix Requests há 3 anos
.gitignore Update gitignore há 3 anos
Dockerfile Added Dockerfile written by Fusl há 3 anos
README.md Update README.md há 3 anos
config.json Allow specifying TRACKER_USERNAME in config.json há 3 anos
discovery.py Switch from Requests to http3 after 30 failures há 3 anos
export.py Switch from Requests to http3 after 30 failures há 3 anos
http3.py Workaround for Heroku há 3 anos
http3_base.py Credit source há 3 anos
requirements.txt Initial HTTP3 Support há 3 anos
switchable_request.py Fix Requests há 3 anos
tracker.py Redirect support há 3 anos
worker.py Fix loop Heroku há 3 anos

README.md

YouTube Community Contributions Archiving Worker

Worker for the Save Community Captions project: Archiving unpublished YouTube community-contributions.

Setup

To run these tools you will need to supply session cookies (SSID,HSID,SID) see the tutorial for more details.

Primary Usage

Heroku️ (Minimal Setup! Minimal Maintence!)

A wrapper repo for free and easy deployment and environment configuration, as well automatic updates every 24-27.6 hours is available. Deploy up to 5 instances of it to a free Heroku account (total max monthly runtime 550 hours) with no need for credit card verification by clicking the button below.

Deploy

Archiving Worker

After completing the above setup steps, simply run

python3 worker.py

Docker image

Stable Docker Image:

docker pull fusl/ytcc-archive

Run:

docker container run --restart=unless-stopped --network=host -d --tmpfs /grab/out --name=grab_ext-yt-communitycontribs -e HSID=XXX-e SID=XXX -e SSID=XXX -e TRACKER_USERNAME=Fusl -e PYTHONUNBUFFERED=1 fusl/ytcc-archive

Bonus Features

Export Captions and Titles/Descriptions Manually

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

Discover Videos Manually

Simply run python3 discovery.py followed by a list of space-separated YouTube video IDs and a list of discovered video, channel and playlist IDs will be printed, as well as whether caption contributions are enabled.

Stats

See how much has been archived so far.