Commit Graph

12811 Commits (master)

Author SHA1 Message Date
dirkf a084c80f7b [YouTube] Fix 680069a, excess `min_ver`
Resolves #33125.
3 months ago
dirkf 680069a149 [YouTube] Improve n-sig function extraction for player `aa3fc80b`
Resolves #33123
3 months ago
dirkf 4a31290ae1 [YouTube] Delete cached problem nsig cache data on descrambling error
* inspired by yt-dlp/yt-dlp#12750
3 months ago
dirkf 3a42f6ad37 [YouTube] Cache signature timestamp from player JS
* if the YT webpage can't be loaded, getting the `sts` requires loading the
player JS: this caches it
* based on yt-dlp/yt-dlp#13047, thx bashonly
3 months ago
dirkf c052a16f72 [JSInterp] Add tests and relevant functionality from yt-dlp
* thx seproDev, bashonly: yt-dlp/yt-dlp#12760, yt-dlp/yt-dlp#12761:
  - Improve nested attribute support
  - Pass global stack when extracting objects
  - interpret_statement: Match attribute before indexing
  - Fix assignment to array elements with nested brackets
  - Add new signature tests
  - Invalidate JS function cache
  - Avoid testdata dupes now that we cache by URL

* rework nsig function name search
* fully fixes #33102
* update cache required versions
* update program version
4 months ago
dirkf 67dbfa65f2 [InfoExtractor] Fix merging subtitles to empty target 4 months ago
dirkf 6eb6d6dff5 [InfoExtractor] Use local variants for remaining parent method calls
* ... where defined
4 months ago
dirkf 6c40d9f847 [YouTube] Remove remaining hard-coded API keys
* no longer required for these cases
4 months ago
dirkf 1b08d3281d [YouTube] Fix playlist continuation extraction
* thx coletdjnz, bashonly: yt-dlp/yt-dlp#12777
4 months ago
dirkf 32b8d31780 [YouTube] Support shorts playlist
* only 1..100: yt-dlp/yt-dlp#11130
4 months ago
dirkf 9a6ddece4d [core] Refactor message routines to align better with yt-dlp
* in particular, support `only_once` in the same methods
4 months ago
dirkf 4e714f9df1 [Misc] Correct [_]IE_DESC/NAME in a few IEs
* thx seproDev, yt-dlp/yt-dlp/pull/12694/commits/ae69e3c
* also add documenting comment in `InfoExtractor`
4 months ago
dirkf c1ea7f5a24 [ITV] Mark ITVX not working
* update old shim
* correct [_]IE_DESC
4 months ago
dirkf 2b4fbfce25 [YouTube] Support player `4fcd6e4a`
thx seproDev, bashonly: yt-dlp/yt-dlp#12748
4 months ago
dirkf c55dbf4838 [YouTube] Update signature extraction for players `643afba4`, `363db69b` 4 months ago
dirkf 087d865230 [YouTube] Support new player URL patterns 4 months ago
dirkf a464c159e6 [YouTube] Make `_extract_player_info()` use `_search_regex()` 4 months ago
dirkf 7dca08eff0 [YouTube] Also get original of translated automatic captions 4 months ago
dirkf 2239ee7965 [YouTube] Get subtitles/automatic captions from both web and API responses 4 months ago
dirkf da7223d4aa [YouTube] Improve support for tce-style player JS
* improve extraction of global "useful data" Array from player JS
* also handle tv-player and add tests: thx seproDev (yt-dlp/yt-dlp#12684)

Co-Authored-By: sepro <sepro@sepr0.com>
4 months ago
dirkf 37c2440d6a [YouTube] Update player client data
thx seproDev (yt-dlp/yt-dlp#12603)

Co-authored-by: sepro <sepro@sepr0.com>
4 months ago
dirkf 32f89de92b [YouTube] Update TVHTML5 client parameters
* resolves #33078
5 months ago
dirkf 283dca56fe [YouTube] Initially support tce-style player JS
* resolves #33079
5 months ago
dirkf 422b1b31cf [YouTube] Temporarily redirect from tce-style player JS 5 months ago
dirkf 673277e510
[YouTube] Fix 91b1569 5 months ago
dirkf 91b1569f68
[YouTube] Fix channel playlist extraction (#33074)
* [YouTube] Extract playlist items from LOCKUP_VIEW_MODEL_...
* resolves #33073
* thx seproDev (yt-dlp/yt-dlp#11615)

Co-authored-by: sepro <sepro@sepr0.com>
5 months ago
dirkf 5975d7bb96 [YouTube] Use X-Goog-Visitor-Id
* required with tv player client
* resolves #33030
6 months ago
dirkf 63fb0fc415 [YouTube] Retain .videoDetails members from all player responses 6 months ago
dirkf b09442a2f4 [YouTube] Also use ios client when is_live 6 months ago
dirkf 55ad8a24ca [YouTube] Support `... /feeds/videos.xml?playlist_id={pl_id}` 7 months ago
dirkf 21fff05121 [YouTube] Switch to TV API client
* thx yt-dlp/yt-dlp#12059
7 months ago
dirkf 1036478d13 [YouTube] Endure subtitle URLs are complete
* WEB URLs are, MWEB not
* resolves #33017
7 months ago
dirkf 00ad2b8ca1 [YouTube] Refactor subtitle processing
* move to internal function
* use `traverse-obj()`
7 months ago
dirkf ab7c61ca29 [YouTube] Apply code style changes, trailing commas, etc 7 months ago
dirkf 176fc2cb00 [YouTube] Avoid early crash if webpage can't be read
* see issue #33013
7 months ago
dirkf d55d1f423d [YouTube] Always extract using MWEB API client
* temporary fix-up for 403 on download
* MWEB parameters from yt-dlp 2024-12-06
8 months ago
dirkf eeafbbc3e5 [YouTube] Fix signature function extraction for `2f1832d2`
* `_` was omitted from patterns
* thx yt-dlp/yt-dlp#11801

Co-authored-by: bashonly
8 months ago
dirkf cd7c7b5edb [YouTube] Simplify pattern for nsig function name extraction 8 months ago
dirkf eed784e15f [YouTube] Pass nsig value as return hook, fixes player `3bb1f723` 8 months ago
dirkf b4469a0f65 [YouTube] Handle player `3bb1f723`
* fix signature code extraction
* raise if n function returns input value
* add new tests from yt-dlp

Co-authored-by: bashonly
8 months ago
dirkf f28d7178e4 [InfoExtractor] Use kwarg maxsplit for re.split
* May become kw-only in future Pythons
8 months ago
dirkf c5098961b0 [Youtube] Rework n function extraction pattern
Now also succeeds with player b12cc44b
12 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>
1 year ago
dirkf e1b3fa242c [Youtube] Find `n` function name in player `3400486c`
Fixes #32877
1 year ago
dirkf 451046d62a [Youtube] Make n-sig throttling diagnostic up-to-date 1 year 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)
1 year ago
unkernet 36801c62df
[YandexMusic] Save track version in the title field
PR #32837
* Add track version to track title
1 year ago
Sergey Musatov f4b47754d9
[YandexMusic] Download music in High Quality (320 Kbit/s)
PR #31159
1 year ago
dirkf 4d05f84325 [PalcoMP3] Conform to new linter rule
* no space after @ in decorator
1 year ago
dirkf ad01fa6cca [jsinterp] Add Debugger from yt-dlp
* https://github.com/yt-dlp/yt-dlp/commit/8f53dc4
* thx pukkandan
1 year ago