forked from ytdl-org/youtube-dl
-
Notifications
You must be signed in to change notification settings - Fork 11
This repository is obsolete: it has not been updated since June 2023 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dirkf
wants to merge
208
commits into
ytdl-patched:master
Choose a base branch
from
ytdl-org:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixes player b7910ca8, using `,` vs `;` See #32292 (comment) Co-authored-by: dirkf
* support `method` parameter of `Request.__init__` (Py 2 and old Py 3) * support `getcode` method of compat_http_client.HTTPResponse (Py 2)
* Thx coletdjnz: yt-dlp/yt-dlp#7094 * add test that redirected `POST` loses its `Content-Type`
Adated from yt-dlp/yt-dlp-GHSA-v8mc-9377-rwjj/pull/1/commits/101caac Thx coletdjnz
…s_for_url` methods
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.
Thanks Grub4k for these: * traverse `Iterable`s, from yt-dlp/yt-dlp#6902, etc * traverse `set` key for transformations/filters, `re.Match` group names, from yt-dlp/yt-dlp@776995b, etc * traverse `re.Match`es, from yt-dlp/yt-dlp#5174 * always return list when branching, from yt-dlp/yt-dlp#5170
* 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 yt-dlp/yt-dlp#6623 thanks Grub4k * add limited `!` evaluation (eg, !!0 -> false, see tests)
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
* from yt-dlp/yt-dlp#6903, thanks garret1317
* from yt-dlp/yt-dlp#6803, thanks CoryTibbettsDev
* from yt-dlp/yt-dlp#6697, thanks nick-cd
* add _search_nextjs_data(), from yt-dlp/yt-dlp#1386 thanks selfisekai * add _search_nuxt_data(), from yt-dlp/yt-dlp#1921, thanks Lesmiscore, pukkandan * add tests for the above * also fix HTML5 type recognition and tests, from yt-dlp/yt-dlp@222a230, thanks Lesmiscore * update extractors in PR using above, fix tests.
* inspect.getargspec is missing despite doc claiming backward compat * replace with emulation of `Signature.bind()`
Eg: [1,2,3].join(null) -> '1,2,3'
thx seproDev, bashonly: yt-dlp/yt-dlp#12748
* update old shim * correct [_]IE_DESC
* thx seproDev, yt-dlp/yt-dlp/pull/12694/commits/ae69e3c * also add documenting comment in `InfoExtractor`
* in particular, support `only_once` in the same methods
* support exists_ok parameter in Py < 3.2
* use compat_os_makedirs * support non-ASCII characters in cache key * improve logging
* only 1..100: yt-dlp/yt-dlp#11130
* thx coletdjnz, bashonly: yt-dlp/yt-dlp#12777
* no longer required for these cases
* ... where defined
* 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
* 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
….4 to 22.04 * fix consequent missing `python-is-python2` package
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please refer to ytdl-org#30839 for up-to-date youtube-dl releases, including ones that may actually work with YouTube.