aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-07-19[DLF] Add site extractors back-ported from yt-dlpdirkf
* from https://github.com/yt-dlp/yt-dlp/pull/6697, thanks nick-cd
2023-07-19[Whyp] Add extractor back-ported from yt-dlpdirkf
* from https://github.com/yt-dlp/yt-dlp/pull/6803, thanks CoryTibbettsDev
2023-07-19[GlobalPlayer] Add site extractors back-ported from yt-dlpdirkf
* from https://github.com/yt-dlp/yt-dlp/pull/6903, thanks garret1317
2023-07-19[InfoExtractor] Support groups in _`search_regex()`, etcdirkf
2023-07-19[utils] Minor updates (merge_dicts, T)dirkf
A couple of mods to ease yt-dlp back-ports: * add kwargs to merge_dicts: `unblank=True` (disallow empty string), `rev=False` (reverse the merge list) * add `T(x)` shortcut for `{x}`, unsupported in Py2.6
2023-07-19[utils] Improve js_to_json, align with yt-dlpdirkf
* support variable substitution, from https://github.com/yt-dlp/yt-dlp/pull/#521 etc, thanks ChillingPepper, Grub4k, pukkandan * improve escape handling, from https://github.com/yt-dlp/yt-dlp/pull/#521 thanks Grub4k * support template strings from https://github.com/yt-dlp/yt-dlp/pull/6623 thanks Grub4k * add limited `!` evaluation (eg, !!0 -> false, see tests)
2023-07-19[utils] Align traverse_obj() with yt-dlpdirkf
Thanks Grub4k for these: * traverse `Iterable`s, from https://github.com/yt-dlp/yt-dlp/pull/6902, etc * traverse `set` key for transformations/filters, `re.Match` group names, from https://github.com/yt-dlp/yt-dlp/commit/776995bc109c5cd1aa56b684fada2ce718a386ec, etc * traverse `re.Match`es, from https://github.com/yt-dlp/yt-dlp/pull/5174 * always return list when branching, from https://github.com/yt-dlp/yt-dlp/pull/5170
2023-07-18[compat] Fix old Pythons broken loading of valueless cookie attributesdirkf
Cookie string parsing in Py 2.6.9, probably earlier, requires `=`. Also 3.2, though the CPython code appears to be OK: 3.1 was also wrong.
2023-07-18[test] Fixes for old Pythonsdirkf
2023-07-18[doc] Warn against setting cookies with --add-headerdirkf
2023-07-18[downloader/external] Fix cookie supportbashonly
2023-07-18[core] Process header cookies on loadingSimon Sawicki
2023-07-18[utils] `YoutubeDLCookieJar`: Add `get_cookie_header` and ↵bashonly
`get_cookies_for_url` methods
2023-07-18[core] Remove `Cookie` header on redirect to prevent leaksdirkf
Adated from yt-dlp/yt-dlp-ghsa-v8mc-9377-rwjj/pull/1/commits/101caac Thx coletdjnz
2023-07-18[core] Update redirect handling from yt-dlpdirkf
* Thx coletdjnz: https://github.com/yt-dlp/yt-dlp/pull/7094 * add test that redirected `POST` loses its `Content-Type`
2023-07-18[compat] Add Request and HTTPClient compat for redirectdirkf
* support `method` parameter of `Request.__init__` (Py 2 and old Py 3) * support `getcode` method of compat_http_client.HTTPResponse (Py 2)
2023-07-18[test] Make skipped tests in test_execution work with Py 2.6dirkf
2023-07-18[core] Align error reporting methods with yt-dlpdirkf
2023-07-18[utils] Add {expected_type} and Iterable support to traverse_obj()dirkf
2023-07-18[core] Revert version display from b8a86dcdirkf
2023-07-05[Misc] Fixes for 2.6 compatibilitydirkf
2023-07-05[workflows/ci.yml] Fix test support for Py 2.6dirkf
2023-07-05[workflows/ci.yml] Restore test support for Py 3.2dirkf
2023-06-23[workflows/ci.yml] Restore test support for Py 3.3, 3.4, and add 2.6dirkf
2023-06-22[YouTube] Avoid crash in author extractiondirkf
2023-06-22[workflows/ci.yml] Replace actions/setup-python for legacy Pythonsdirkf
Thanks MatteoH2O1999: https://github.com/MatteoH2O1999/setup-python
2023-06-22[YouTube] Improve nsig function name extractionpukkandan
Fixes player b7910ca8, using `,` vs `;` See https://github.com/ytdl-org/youtube-dl/issues/32292#issuecomment-1602231170 Co-authored-by: dirkf
2023-06-18[YouTube] Improve fix for ae8ba2cdirkf
Thx: https://github.com/yt-dlp/yt-dlp/commit/01aba25
2023-06-17[YouTube] Fix `KeyError QV` in signature extraction faileddirkf
* temporarily force missing global definition into sig JS * improve test: thanks https://github.com/yt-dlp/yt-dlp/issues/7327#issuecomment-1595274615 * resolves #32314
2023-06-17[jsinterp] Don't find unrelated objectsdirkf
2023-06-17[jsinterp] Fix test for failed match in extract_object()dirkf
2023-06-11[jsinterp] Fix div bug breaking player 8c7583ffdirkf
Thx bashonly: https://github.com/ytdl-org/youtube-dl/issues/32292#issuecomment-1585639223 Fixes #32292
2023-05-26[core] Revise 1f7c6f8 to help downstream merger (possibly)dirkf
2023-05-23[compat] Fix casefold import __all__ syntax in a19855fdirkf
2023-05-23[ITV] Fix UA capitalisation in 384f632dirkf
2023-05-23[core] Further improve platform debug logdirkf
* see d1c6c5c
2023-05-23[jsinterp] Small updates for a85a875dirkf
* update signature tests * clarify NaN handling
2023-05-11[core] Improve platform debug log, based on yt-dlpdirkf
2023-05-11[jsinterp] Add short-cut evaluation for common expressiondirkf
* special handling for (d%e.length+e.length)%e.length speeds up ~6%
2023-05-11[jsinterp] Handle NaN in bitwise operatorsdirkf
* also add _NaN * also pull function naming from yt-dlp
2023-05-11[utils] Fix `compiled_regex_type` in 249f2b6dirkf
2023-04-23[YouTube] Support Releases tabdirkf
2023-04-21[jsinterp] Minimally handle arithmetic operator precedencedirkf
Resolves #32066
2023-04-13[DashSegmentsFD] Correctly detect errors when `fragment_retries` == 0dirkf
* use the success flag instead of the retry count * establish the fragment_url outside the retry loop * only report skipping a fragment once. * resolves #32033
2023-04-12[YouTube] Simplify signature patternsdirkf
2023-04-12[core] Sanitize info dict before dumping JSON (fixes fe7e130) (#32032)Gabriel Nagy
* follow up to fe7e130 which didn't fix everything. Co-authored-by: dirkf <fieldhouse@gmx.net>
2023-04-10[core] Add and use sanitize_info() method from yt-dlpdirkf
2023-04-06[core] No longer importing copydirkf
2023-04-06[core] Avoid deepcopy of ctx dict (fix f35b757) (Pt 2)dirkf
2023-04-06[core] Avoid deepcopy of ctx dict (fix f35b757)dirkf
* may now contain `LazyList`s * resolves #31999