Commit Graph

783 Commits (a5e386d9feb0e54013ec5aa1ba106869240fb995)

Author SHA1 Message Date
xarantolus a5e386d9fe Fix python2 compatibility and title extraction
xarantolus 4f37c60bf5 Run formatter
xarantolus c449f70965 [youtube] Fix feed extraction
In order to extract videos from further pages, we need to get various variables that are in an argument to the `ytcfg.set` call in a script on the feed page.
Sergey M․ 49004a6b59 [youtube] Fix sigfunc name extraction (closes , closes , closes , closes )
MRWITEK 54ffcbb8eb [youtube] Improve description extraction (closes ) ()
Glenn Slayden bb2c950b8e [youtube] Prevent excess HTTP 301 ()
Sergey M․ 255f31b5cb [youtube:playlists] Extend _VALID_URL (closes )
xarantolus 7fa0a67cc1 Remove unused variable
xarantolus c37ca4732b [youtube] Remote download limit
xarantolus 5cbe7563be [youtube] Return to old feed extraction code as it *seems* like that change was reverted
The old code now works again, but it downloads without limit. This is why a limit of 1000 videos is added, it can be overwritten with the `--max-downloads` option - that way, only so many ids will be extracted as videos downloaded
xarantolus 6a3cc89394 [youtube] Make search extraction less dependent on json schema.
If an object looks like a video (it has a `videoId` key), assume that it is.
xarantolus b3fd4b155e run flake8
xarantolus 57f72370c5 [youtube] Fix feed extraction
This moves feed extraction from using html content to json metadata. However, loading additional pages no longer works.

The _extract_video_info function also returns a continuation object that contains some metadata that - together with an API key that is in the page source - might be used to request the next page.
xarantolus 6dad89289c [youtube] Move search URL extraction to appropriate extractor
xarantolus 7a74feda78 [youtube] Fix extraction of search urls (closes )
Sergey M․ ee0b726cd7
[youtube] Force old layout (closes , closes , closes , closes )
Sergey M․ dbeafce5d5
[youtube] Fix categories and improve tags extraction
Sergey M․ a6211d237b
[youtube] Fix uploader id and uploader URL extraction
Sergey M․ 7b16239a49
[youtube] Improve view count extraction
Sergey M․ 37357d21a9
[youtube] Fix upload date extraction
Sergey M․ b477fc1314
[youtube] Fix thumbnails extraction and remove uploader id extraction warning (closes )
Sergey M․ d84b21b427
[youtube] Fix playlist and feed extraction (closes )
Sergey M․ 84213ea8d4
[youtube] Extract chapters from JSON (closes )
striker.sh 1db5ab6b34
[youtube] Add support for more invidious instances ()
Juan Francisco Cantero Hurtado 384bf91f88
[youtube] Add support for yewtu.be ()
Sergey M․ fa3db38333
[youtube] Improve signature cipher extraction (closes )
Sergey M․ e40c758c2a
[youtube] Improve player id extraction and add tests
Sergey M․ 011e75e641
[youtube] Use redirected video id if any (closes )
Sergey M․ 00eb865b3c
[youtube] Fix DRM videos detection (refs )
Sergey M․ 6b09401b0b
[youtube] Skip broken multifeed videos (closes )
Sergey M․ 43ebf77df3
[youtube] Remove outdated code
Additional get_video_info requests don't seem to provide any extra itags any longer
Sergey M․ d332ec725d
[youtube] Improve age-gated videos extraction in 429 error conditions (refs )
Sergey M․ f93abcf1da
[youtube] Improve extraction in 429 error conditions (closes )
Sergey M․ 5429d6a9cb
[youtube] Fix tests
Sergey M․ dc879c5a37
[youtube] Fix age-gated videos support without login (closes )
jxu 0e30a7b973
[youtube:playlist] Fix tests (closes ) ()
Sergey M․ c3cfea9068
[youtube] Fix sigfunc name extraction (closes )
Remita Amine 66b4872747 [youtube] add support youtubekids.com(closes )
sofutru 76e510b92c [youtube] Remove support for invidious.enkirton.net ()
sofutru 894b3826f5 [youtube] Add support for yt.lelux.fi ()
sofutru 33c1c7d80f [youtube] Add support for owxfohz4kjyv25fvlqilyxast7inivgiktls3th44jhk3ej3i7ya.b32.i2p ()
sofutru 666d808e70 [youtube] Add support for invidious.drycat.fr ()
Sergey M․ 4e3f1f0469
[youtube:playlist] Unescape playlist uploader (closes )
Sergey M․ 4878759f3b
[youtube] Remove quality and tbr for itag 43 (closes )
Sergey M․ bf1317d257
[youtube] Quick extraction tempfix (closes , closes )
sofutru bff90fc518 [youtube] Add support for invidious tor instances ()
sofutru 494d664e67 [youtube] Add support for invidious.nixnet.xyz and yt.elukerio.org ()
Sergey M․ 0add33abcb
[youtube] Improve unavailable message extraction (refs )
Sergey M․ 351f37c022
[youtube:playlist] Improve flat extraction (closes )
Remita Amine 64b6a4e91e [youtube] fix annotations extraction(closes )