ytdlp_subtitle / fetchYoutubeSubtitle.py

Commit History

1. Add retry to extract video, and use proxy when retry if has proxy.
eb92911

lanbogao commited on

1. Add api subtitle-dl to stream download subtitle.
5c48e61

lanbogao commited on

Set user requested lang to requested_subtitles
d53a7e5

lanbogao commited on

Fix no text but only \n in xml, eg: uwIHyLPBZkY.
5f54ad5

lanbogao commited on

Fix len(subtitle) due to subtitle may be None.
54b8a97

lanbogao commited on

Return None if no text in xml, due to no subtitle and automatic_captions with gibberish except xml(xml format text part is empty) in this video https://youtu.be/LI0mzC6sl7w
4868530

lanbogao commited on

Use web + ios.
0806569

lanbogao commited on

Use player web + webpage.
a232a02

lanbogao commited on

Mark skip webpage due to missing some langes for some videos(l2P5PgL1LfI).
8038202

lanbogao commited on

Skip webpage & add requested_subtitles back.
0ffddf9

lanbogao commited on

Mark subtitleslangs (requested_subtitles) for try speed up.
b4671e5

lanbogao commited on

Use anderoid player, it faster than web.
f51ada2

lanbogao commited on

1. Fix some video automatic_captions is empty (eg:VSFg5LZYsyc).
73a9bbe

lanbogao commited on

Fix missing some langs.
3e21f52

lanbogao commited on

1. Set socket_timeout default 10 and set 20 when proxy.
8a3c63b

lanbogao commited on

Add proxy & update fetchSubtitleUrls.
d8804e5

lanbogao commited on

Add chapters.
860b5e0

lanbogao commited on

Add support download subType xml.
0d59eb5

lanbogao commited on

Add return duration if no subtitle.
3965709

lanbogao commited on

Add duration(seconds).
6e687fe

lanbogao commited on

Add noplaylist param for avoid download all playlist.
a0c5866

lanbogao commited on

Set writesubtitles to False.
3fca3bd

lanbogao commited on

Add try except to fetchSubtitle and fetchSubtitleUrls.
c997914

lanbogao commited on

Add get subtitle with type support.
d030b89

lanbogao commited on

Remove unused and check subtitle_url.
de8dee7

lanbogao commited on

add socket_timeout for urlopen.
4797dae

lanbogao commited on

Fix getVttUrlFromSubtitles not correct.
49a4a29

lanbogao commited on

Fix item.keys not list.
4fb8d8a

lanbogao commited on

'dict_keys' object has no attribute 'get'
1dbc6b0

lanbogao commited on

rename getSubtitle to fetchSubtitle.
c2eed51

lanbogao commited on

Add async to functions.
3dadd80

lanbogao commited on

Fix 'dict_keys' object has no attribute 'length'
56ace91

lanbogao commited on

Fix code error
13bd0f6

lanbogao commited on

Update readme.
ba9fae4

lanbogao commited on

Duplicate from lanbogao/docker_fastapi
093a866

lanbogao commited on