Skip to content

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
wants to merge 208 commits into
base: master
Choose a base branch
from

Conversation

dirkf
Copy link

@dirkf dirkf commented Aug 2, 2024

Please refer to ytdl-org#30839 for up-to-date youtube-dl releases, including ones that may actually work with YouTube.

pukkandan and others added 30 commits June 22, 2023 16:46
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
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
* 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()`
dirkf added 30 commits March 25, 2025 22:35
* 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
* no longer required for these cases
* 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.