Commit Graph

890 Commits (master)

Author SHA1 Message Date
gy-chen 71211e7db7
[Youtube] Fix unwanted private method __ie_msg in f8b0135850
Fixes `AttributeError no attribute '_YoutubeIE__ie_msg'` if unable to decode n-parameter
2 months ago
dirkf dc512e3a8a [YouTube] Fix `like_count` extraction using `likeButtonViewModel`
* also fix various tests
* TODO: check against yt-dlp tests
4 months ago
dirkf f8b0135850 [YouTube] Rework n-sig processing, realigning with yt-dlp
* apply n-sig before chunked fragments, fixes #32692
4 months ago
ReenigneArcher b7fca0fab3 [Youtube] Update consent cookie handling to match site
Apologies for force push!
[skip ci]
6 months ago
dirkf fa7f0effbe [YouTube] Avoid crash in author extraction 11 months ago
pukkandan 9112e668a5 [YouTube] Improve nsig function name extraction
Fixes player b7910ca8, using `,` vs `;`
See https://github.com/ytdl-org/youtube-dl/issues/32292#issuecomment-1602231170

Co-authored-by: dirkf
11 months ago
dirkf 07af47960f [YouTube] Improve fix for ae8ba2c
Thx: https://github.com/yt-dlp/yt-dlp/commit/01aba25
11 months ago
dirkf ae8ba2c319 [YouTube] Fix `KeyError QV` in signature extraction failed
* temporarily force missing global definition into sig JS
* improve test: thanks https://github.com/yt-dlp/yt-dlp/issues/7327#issuecomment-1595274615
* resolves #32314
11 months ago
dirkf 64d6dd64c8 [YouTube] Support Releases tab 1 year ago
dirkf 2da3fa04a6 [YouTube] Simplify signature patterns 1 year ago
pukkandan 3f6d2bd76f [extractor/youtube] Bypass throttling for `-f17`
and related cleanup

Thanks @AudricV for the finding

Ref: yt-dlp/yt-dlp/commit/c9abebb
1 year ago
pukkandan 88f28f620b [extractor/youtube] Construct fragment list lazily
Ref: yt-dlp/yt-dlp/commit/e389d17
See: yt-dlp/yt-dlp#6517
1 year ago
pukkandan 3da17834a4 [Youtube] Construct dash formats with `range` query
See yt-dlp/yt_dlp#6369
1 year ago
dirkf f7ce98a21e [YouTube] Support @owner format in uploader_id etc
* implement https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435734719
* update affected tests
* misc clean-ups
1 year ago
dirkf 2dd6c6edd8
[YouTube] Avoid crash if uploader_id extraction fails
See #31530.
1 year ago
dirkf e8198c517b [YouTube] Fix tests 1 year ago
dirkf bafb6dec72 [YouTube] Refresh compat/utils usage
* import parse_qs()
* import parse_qs in lazy_extractors (clears old TODO)
* clean up old compiled lazy_extractors for Py2
* use update_url()
1 year ago
dirkf 30e986b834 [YouTube] Add `signatureTimestamp` for age-gate bypass 1 year ago
dirkf 58988c1421 [YouTube] Bypass age-gating for certain restricted videos
* Use TVHTML5_SIMPLY_EMBEDDED_PLAYER client

* Also add and fix tests

* Introduce and use new utility function `update_url()`
1 year ago
zhangeric-15 6d829d8119
[YouTube] Fix not finding videos listed under a channel's "shorts" subpage. (#31409)
Resolves #31336

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
Co-authored-by: dirkf <fieldhouse@gmx.net>
1 year ago
dirkf 573b13410e [YouTube] Improve error check for n-sig processing 2 years ago
dirkf 811c480f7b [YouTube] Support JSON3 subtitle format
* subtitle tests updated to match
2 years ago
dirkf 187a48aee2 [YouTube] Handle player c5a4daa1 with indirect n-function definition
* resolves #30976
2 years ago
dirkf a0068bd6be [Youtube] Fix "n" descrambling for player fae06c11
Resolves #30856.
2 years ago
pukkandan 0c0876f790 [youtube:search] Add tests 2 years ago
dirkf 5add3f4373 Merge branch 'pukkandan-yt-searchurl' into yt-dl-master
Closes #27749
2 years ago
pukkandan 78ce962f4f [youtube] Support channel search
Code from cd684175ad
2 years ago
dirkf 41f0043983 Avoid crashing if n-sig decode fails 2 years ago
dirkf 34c06b16f5 Support Youtube Shorts URL format 2 years ago
dirkf 1e677567cd
[YouTube] Fix n-sig for player e06dea74 (#30582)
From yt-dl commit 48416bc
2 years ago
df af9e72507e Implement n-param descrambling using JSInterp
Fixes #29326, closes #29790, closes #30004, closes #30024, closes #30052,
closes #30088, closes #30097, closes #30102, closes #30109, closes #30119,
closes #30125, closes #30128, closes #30162, closes #30173, closes #30186,
closes #30192, closes #30221, closes #30239, closes #30539, closes #30552.
2 years ago
df 5f5de51a49 Add compat_map/filter and use the former 2 years ago
pukkandan a3373da70c
Merge branch 'UP/youtube-dl' into dl/YoutubeSearchURLIE 2 years ago
pukkandan 2c4cb134a9
Fix max_results 2 years ago
pukkandan bfe72723d8
Use `itertools.islice` 2 years ago
pukkandan ed99d68bdd
Add back `YoutubeSearchURLIE` 2 years ago
lanegramling b5242da7d2
[youtube] Update signature function patterns (closes #30363) (#30366) 2 years ago
Sergey M․ 47f2f2fbe9
[youtube] Make get_video_info processing more robust (closes #29333) 3 years ago
Sergey M․ 03ab02730f
[youtube] Workaround for get_video_info request (refs #29333)
See https://github.com/ytdl-org/youtube-dl/issues/29333#issuecomment-864049544
3 years ago
bopol 4131703001
[youtube] Update invidious instance list (#29281) 3 years ago
Sergey M․ 24297a42ef
[youtube] Fix get_video_info request (closes #29086, closes #29165) 3 years ago
Sergey M․ 7e8b3f9439
[youtube] Remove unused code 3 years ago
Sergey M․ 32290307a4
[youtube] Fix lazy extractors (closes #28780) 3 years ago
Sergey M․ 54558e0baa
[youtube] Improve stretch extraction and fix stretched ratio calculation (closes #28769) 3 years ago
Sergey M․ 7c52395479
[youtube:tab] Improve grid extraction (closes #28725) 3 years ago
zraktvor ea87ed8394
[youtube:tab] Detect series playlist on playlists page (closes #28723) 3 years ago
Cássio Ávila d01e261a15
[youtube] Add more invidious instances (#28706) 3 years ago
Sergey M․ 06159135ef
[youtube] Improve URL to extractor routing (closes #27572, closes #28335, closes #28742) 3 years ago
Sergey M․ 1b0a13f33c
[youtube:tab] Pass innertube context and x-goog-visitor-id header along with continuation requests (closes #28702) 3 years ago
Sergey M․ 6b116f0c03
[youtube] Fix videos with restricted location (closes #28685) 3 years ago