All Projects → qwertyuiop6 → get_youtube_subtitle

qwertyuiop6 / get_youtube_subtitle

Licence: other
📺 Youtube字幕下载脚本

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to get youtube subtitle

companion-module-requests
Repository for tracking module requests
Stars: ✭ 60 (+7.14%)
Mutual labels:  requests
python-ogren-4-saatte-python-baslangic
(TR) 4 saatlik Python başlangıç atölyesinin içerik dokümanı. (EN version is in progress!)
Stars: ✭ 71 (+26.79%)
Mutual labels:  requests
reqwasm
HTTP requests library for WASM Apps
Stars: ✭ 81 (+44.64%)
Mutual labels:  requests
Peanuts
Peanuts is a free and open source wifi tracking tool. Based on the SensePosts Snoopy-NG project that is now closed.
Stars: ✭ 34 (-39.29%)
Mutual labels:  requests
fastrates
💵 Free & open source API service for current and historical foreign exchange rates.
Stars: ✭ 26 (-53.57%)
Mutual labels:  requests
RESTEasy
REST API calls made easier
Stars: ✭ 12 (-78.57%)
Mutual labels:  requests
SJS DROPS
Script using requests module to register accounts to Slam Jam Socialism raffles.
Stars: ✭ 21 (-62.5%)
Mutual labels:  requests
Git-API
Gets info from github and transfers into json styled data
Stars: ✭ 18 (-67.86%)
Mutual labels:  requests
curly.hpp
Simple cURL C++17 wrapper
Stars: ✭ 48 (-14.29%)
Mutual labels:  requests
TwitterMediaDownloader
downloads photos and videos from twitter
Stars: ✭ 15 (-73.21%)
Mutual labels:  requests
DadosAbertosBrasil
Pacote Python para acesso a dados abertos e APIs do governo brasileiro.
Stars: ✭ 28 (-50%)
Mutual labels:  requests
ProxyGrab
Asynchronous Library made using Python and aiohttp to get proxies from multiple services!
Stars: ✭ 17 (-69.64%)
Mutual labels:  requests
pyscrapper
📷 web scrapping in python: multiple libraries -requests, beautifulsoup, mechanize, selenium
Stars: ✭ 50 (-10.71%)
Mutual labels:  requests
comments-generator
A Reddit bot that generates new context-aware comments using Markov chains trained from a set of given users or subreddits comments history.
Stars: ✭ 63 (+12.5%)
Mutual labels:  requests
spreadsheets-to-dataframes
Pycon 2021 Tutorial to help Spreadsheet (Excel) Users learn Python
Stars: ✭ 30 (-46.43%)
Mutual labels:  requests
cp-tool
cp-tool is an auto generator for solved problems at different online judges.
Stars: ✭ 24 (-57.14%)
Mutual labels:  requests
NodeKit
surfstudio.github.io/nodekit
Stars: ✭ 27 (-51.79%)
Mutual labels:  requests
tiktok-downloader
Tiktok Downloader/Scraper using requests & bs4
Stars: ✭ 47 (-16.07%)
Mutual labels:  requests
YouTube-Tutorials--Italian
📂 Source Code for (some of) the Programming Tutorials from my Italian YouTube Channel and website ProgrammareInPython.it. This is just a small portion of the content: please visit the website for more.
Stars: ✭ 28 (-50%)
Mutual labels:  requests
Web-crawler-engineer-for-Python
Web-crawler-engineer-for-Python
Stars: ✭ 42 (-25%)
Mutual labels:  requests

Python Youtube Subtitles Download Script

基于zhuwei.me字幕接口编写下载脚本

在config.json里修改配置下载选项:

{
	
	"test_token":"a2d09c7d76fced01f8be4b1f4cce8bec",  	//测试用api-key
	"token":"", 				       		//个人申请的api-key
	"single_language":"zh-Hans",		//单语言下载选项,"en","zh-Hans",...
	"multilanguage":false,			//是否下载双语,true 或false
	"which_language_to_zh":"en",		//哪种语言=>简中,"en","kr","jp"...
	"notimeline":false,			//无字幕时间线 ,ture 或false
	"play_list_file":""			//从指定文件读取视频链接下载字幕
}
  • test_token : 接口测试的api,可下载单个字幕
  • token : 私人api-key, 在api.zhuwei.me申请
  • single_language : 单语言字幕下载
  • multilanguage : 是否下载双语字幕,若为true则single_language选项无效
  • which_language_to_zh : xxx语言+简中(机翻)字幕 (接口暂只支持xxx=>简中)
  • notimeline : 字幕不要时间线
  • play_list_file : 从所填文件读取链接下载(文件可自行创建,手动添加url,一行一个链接)

环境:Python3, 依赖: requests (pip install requests)

Usage:

1 . 命令行输入单个视频链接或playlist链接(需申请api-key)即可下载字幕:

python get_sub.py

2 . 从本地文件批量读取视频链接下载字幕(需申请api-key):

1 . 手动创建文件,一行一个视频链接
2 . "play_list_file" 填入文件全称(.xxx后缀不要忘记加)
3 . 运行 python get_sub.py

3.将playlist所有视频链接暂存文件再下载

1 . 运行 python get_list.py 将自动把输入的playlis链接里的所有视频链接保存到文件
2 . python get_sub.py 将自动下载以上文件

Other:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].