项目作者: AlexBarbera

项目描述 :
Download transcripts available for available Youtube videos
高级语言: Python
项目地址: git://github.com/AlexBarbera/Youtube-transcript-downloader.git
创建时间: 2018-11-22T02:56:33Z
项目社区:https://github.com/AlexBarbera/Youtube-transcript-downloader

开源协议:MIT License

下载


Youtube Transcription downloader

A fast downloader for youtube transcripts.
Download transcripts from:

  • Specific video
  • Playlist
  • List of videos.

Dependencies

Depending on the browser you want to use check the Selenium Driver Documentation and ensure you have the required drivers.
Tested python 2 & 3

Running

  1. $ youtube-transcript-downloader.py [-h] [--output OUTPUT] [--wait WAIT]
  2. [--language LANGUAGE] [--retries RETRIES] [--quiet]
  3. [--browser [0-3]]
  4. link
  5. Arguments:
  6. link Full path to target, could be url or local file (urls
  7. separated by lines). If url start with "http".
  8. optional arguments:
  9. -h, --help show this help message and exit
  10. --output OUTPUT Output file, if none given it will be printed to
  11. standart output.
  12. --wait WAIT Maximum waiting time in seconds in between actions.
  13. --language LANGUAGE Prefered caption language. If not found then get auto-
  14. generated.
  15. --retries RETRIES Number of retries if error happens.
  16. --quiet Don't show browser window.
  17. --browser [0-3] Which browser to use.
  18. 0: Firefox
  19. 1: Chrome
  20. 2: Ie
  21. 3: Opera