瀏覽代碼

Update README.md

pull/3/head
tech234a 3 年之前
committed by GitHub
父節點
當前提交
0ca26f6a61
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 7 行新增3 行删除
  1. +7
    -3
      README.md

+ 7
- 3
README.md 查看文件

@@ -1,8 +1,12 @@
# YouTube Community Contributed Captions Exporter
Export YouTube community-contributed captioning drafts to SBV files.
# YouTube Community Contributions Archiving Worker
Export YouTube community-contributed captioning drafts to SBV files. Export YouTube community-contributed titles and descriptions to JSON (coming soon).
## 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.
### Export Captions
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.
### Discover videos
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.

Loading…
取消
儲存