dirkf
c5098961b0
[Youtube] Rework n function extraction pattern
...
Now also succeeds with player b12cc44b
3 months ago
Aiur Adept
71223bff39
[Youtube] Fix nsig extraction for player 20dfca59 ( #32891 )
...
* dirkf's patch for nsig extraction
* add generic search per yt-dlp/yt-dlp/pull/10611 - thx bashonly
---------
Co-authored-by: dirkf <fieldhouse@gmx.net>
3 months ago
dirkf
e1b3fa242c
[Youtube] Find `n` function name in player `3400486c`
...
Fixes #32877
4 months ago
dirkf
451046d62a
[Youtube] Make n-sig throttling diagnostic up-to-date
4 months ago
dirkf
16f5bbc464
[YouTube] Fix nsig processing for player `b22ef6e7`
...
* improve extraction of function name (like yt-dlp/yt-dlp#10390 )
* always use JSInterp to extract function code (yt-dlp/yt-dlp#10396 , thx seproDev, pukkandan)
4 months ago
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
8 months ago
dirkf
dc512e3a8a
[YouTube] Fix `like_count` extraction using `likeButtonViewModel`
...
* also fix various tests
* TODO: check against yt-dlp tests
10 months ago
dirkf
f8b0135850
[YouTube] Rework n-sig processing, realigning with yt-dlp
...
* apply n-sig before chunked fragments, fixes #32692
10 months ago
ReenigneArcher
b7fca0fab3
[Youtube] Update consent cookie handling to match site
...
Apologies for force push!
[skip ci]
12 months ago
dirkf
fa7f0effbe
[YouTube] Avoid crash in author extraction
1 year 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
1 year ago
dirkf
07af47960f
[YouTube] Improve fix for ae8ba2c
...
Thx: https://github.com/yt-dlp/yt-dlp/commit/01aba25
1 year 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
1 year ago
dirkf
64d6dd64c8
[YouTube] Support Releases tab
2 years ago
dirkf
2da3fa04a6
[YouTube] Simplify signature patterns
2 years ago
pukkandan
3f6d2bd76f
[extractor/youtube] Bypass throttling for `-f17`
...
and related cleanup
Thanks @AudricV for the finding
Ref: yt-dlp/yt-dlp/commit/c9abebb
2 years ago
pukkandan
88f28f620b
[extractor/youtube] Construct fragment list lazily
...
Ref: yt-dlp/yt-dlp/commit/e389d17
See: yt-dlp/yt-dlp#6517
2 years ago
pukkandan
3da17834a4
[Youtube] Construct dash formats with `range` query
...
See yt-dlp/yt_dlp#6369
2 years 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
2 years ago
dirkf
2dd6c6edd8
[YouTube] Avoid crash if uploader_id extraction fails
...
See #31530 .
2 years ago
dirkf
e8198c517b
[YouTube] Fix tests
2 years 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()
2 years ago
dirkf
30e986b834
[YouTube] Add `signatureTimestamp` for age-gate bypass
2 years 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()`
2 years 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>
2 years 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
3 years ago
dirkf
a0068bd6be
[Youtube] Fix "n" descrambling for player fae06c11
...
Resolves #30856 .
3 years ago
pukkandan
0c0876f790
[youtube:search] Add tests
3 years ago
dirkf
5add3f4373
Merge branch 'pukkandan-yt-searchurl' into yt-dl-master
...
Closes #27749
3 years ago
pukkandan
78ce962f4f
[youtube] Support channel search
...
Code from cd684175ad
3 years ago
dirkf
41f0043983
Avoid crashing if n-sig decode fails
3 years ago
dirkf
34c06b16f5
Support Youtube Shorts URL format
3 years ago
dirkf
1e677567cd
[YouTube] Fix n-sig for player e06dea74 ( #30582 )
...
From yt-dl commit 48416bc
3 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 .
3 years ago
df
5f5de51a49
Add compat_map/filter and use the former
3 years ago
pukkandan
a3373da70c
Merge branch 'UP/youtube-dl' into dl/YoutubeSearchURLIE
3 years ago
pukkandan
2c4cb134a9
Fix max_results
3 years ago
pukkandan
bfe72723d8
Use `itertools.islice`
3 years ago
pukkandan
ed99d68bdd
Add back `YoutubeSearchURLIE`
3 years ago
lanegramling
b5242da7d2
[youtube] Update signature function patterns ( closes #30363 ) ( #30366 )
3 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 )
4 years ago
Sergey M․
7e8b3f9439
[youtube] Remove unused code
4 years ago
Sergey M․
32290307a4
[youtube] Fix lazy extractors ( closes #28780 )
4 years ago
Sergey M․
54558e0baa
[youtube] Improve stretch extraction and fix stretched ratio calculation ( closes #28769 )
4 years ago
Sergey M․
7c52395479
[youtube:tab] Improve grid extraction ( closes #28725 )
4 years ago