Commit Graph

18998 Commits (0d1fa41564357973564006704e8bdf05716d5d81)
 

Author SHA1 Message Date
Bart Broere 0d1fa41564 Fix variable name and add capture group to regex 2 months ago
Bart Broere 958f9aa7d4 Merge remote-tracking branch 'ytdl-org/master' into fix-npo-support 2 months ago
Bart Broere 8fd477c797
Match HTML tags 2 months ago
Bart Broere 86118717af
Take the first result without breaking from a loop
Co-authored-by: dirkf <fieldhouse@gmx.net>
2 months ago
dirkf 35857bf76b
download_webpage() without _handle 3 months ago
dirkf a084c80f7b [YouTube] Fix 680069a, excess `min_ver`
Resolves #33125.
3 months ago
dirkf e102b9993a [workflows/ci.yml] Move pinned Ubuntu runner images from withdrawn 20.4 to 22.04
* fix consequent missing `python-is-python2` package
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 ec75141bf0 [Cache] Add `clear` function 3 months ago
Bart Broere c4e5b23f86 Merge remote-tracking branch 'ytdl-org/master' into fix-npo-support 4 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 bd2ded59f2 [JSInterp] Improve unary operators; add `!` 4 months ago
dirkf 16b7e97afa [JSInterp] Add `_separate_at_op()` 4 months ago
dirkf d21717978c [JSInterp] Improve JS classes, etc 4 months ago
dirkf 7513413794 [JSInterp] Reorganise some declarations to align better with yt-dlp 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 570b868078 [cache] Use `esc_rfc3986` to encode cache key 4 months ago
dirkf 2190e89260 [utils] Support optional `safe` argument for `escape_rfc3986()` 4 months ago
dirkf 7e136639db [compat] Improve Py2 compatibility for URL Quoting 4 months ago
dirkf cedeeed56f [cache] Align further with yt-dlp
* use compat_os_makedirs
* support non-ASCII characters in cache key
* improve logging
4 months ago
dirkf add4622870 [compat] Add compat_os_makedirs
* support exists_ok parameter in Py < 3.2
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
Bart Broere 82d496fef2 Merge remote-tracking branch 'ytdl-org/master' into fix-npo-support 4 months ago
dirkf 3eb8d22ddb
[JSInterp] Temporary fix for #33102 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 1bc45b8b6c [JSInterp] Use `,` for join() with null/undefined argument
Eg: [1,2,3].join(null) -> '1,2,3'
4 months ago
dirkf b982d77d0b [YouTube] Align signature tests with yt-dlp
thx bashonly, yt-dlp/yt-dlp#12725
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 a4fc1151f1 [JSInterp] Improve indexing
* catch invalid list index with `ValueError` (eg [1, 2]['ab'] -> undefined)
* allow assignment outside existing list (eg var l = [1,2]; l[9] = 0;)
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
Bart Broere 0a6117341a Merge remote-tracking branch 'ytdl-org/master' into fix-npo-support 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
Bart Broere 4f8b323d1b Merge remote-tracking branch 'ytdl-org/master' into fix-npo-support 5 months ago
dirkf 420d53387c [JSInterp] Improve tests
* from yt-dlp/yt-dlp#12313
* also fix d7c2708
5 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 1dc27e1c3b [JSInterp] Make indexing error handling more conformant
* by default TypeError -> undefined, else raise
* set allow_undefined=True/False to override
5 months ago