Commit Graph

18909 Commits

Author SHA1 Message Date
dirkf
79b9dbb23f [jsinterp] Fix and improve loose and strict equality operations
* reimplement loose equality according to MDN (eg, 1 == "1")
* improve strict equality (eg, "abc" === "abc" but 'abc' is not 'abc')
* add tests for above
2024-12-17 02:18:13 +00:00
dirkf
357634af09 [jsinterp] Implement typeof operator 2024-12-17 02:18:13 +00:00
dirkf
3049cf905f [InfoExtractor] Use kwarg maxsplit for re.split
* May become kw-only in future Pythons
2024-12-17 02:18:13 +00:00
github-actions
7d9ffeeb53 Release (nightly)
Created by:

:ci skip all
2024-08-07 01:58:04 +00:00
dirkf
c5cf21d9ef [Youtube] Rework n function extraction pattern
Now also succeeds with player b12cc44b
2024-08-07 01:57:14 +00:00
dirkf
4985bc4e74 [jsinterp] Improve slice implementation for player b12cc44b
Partly taken from yt-dlp/yt-dlp#10664, thx seproDev
        Fixes #32896
2024-08-07 01:57:14 +00:00
github-actions
f3c9c02e4c Release (nightly)
Created by:

:ci skip all
2024-08-02 01:55:40 +00:00
Aiur Adept
4ddd37d2b3 [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>
2024-08-02 01:55:14 +00:00
github-actions
90a427ca3d Release (nightly)
Created by:

:ci skip all
2024-07-25 01:55:24 +00:00
dirkf
562355837b [Youtube] Find n function name in player 3400486c
Fixes #32877
2024-07-25 01:54:55 +00:00
dirkf
39f96e3443 [Youtube] Make n-sig throttling diagnostic up-to-date 2024-07-25 01:54:55 +00:00
github-actions
8d26745139 Release (nightly)
Created by:

:ci skip all
2024-07-11 01:54:43 +00:00
dirkf
7549629489 [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)
2024-07-11 01:54:17 +00:00
dirkf
aefb5aa4ef [jsinterp] Support functionality for player b22ef6e7
* support `prototype` for call() and apply() (yt-dlp/yt-dlp#10392, thx Grub4k)
* map JS `Array` to `list`
2024-07-11 01:54:17 +00:00
dirkf
9d88dc51c0 [jsinterp] Further improve expression parsing (fix fd8242e)
Passes tests from yt-dlp
2024-07-11 01:54:17 +00:00
dirkf
3dc3fd6a25 [jsinterp] Re-align JSInterp and tests (esp.) with yt-dlp
Thx: various yt-dlp authors
2024-07-11 01:54:17 +00:00
bashonly
7f10817c82 [core] Address gaps in allowed extensions
Adds some extensions missing in 46521096433aceaa41b4caa845bed22ca6f377ce
(from yt-dlp/yt-dlp#10362)

Authored by: bashonly
Co-authored by: dirkf
2024-07-11 01:54:17 +00:00
github-actions
2ac07eef06 Release (nightly)
Created by:

:ci skip all
2024-07-08 01:55:30 +00:00
dirkf
a635e7f0e4 [core] Fix PR #32830 for fixed extensionless output template 2024-07-08 01:55:04 +00:00
unkernet
83cd764203 [YandexMusic] Save track version in the title field
PR #32837
* Add track version to track title
2024-07-08 01:55:04 +00:00
github-actions
5e088d1338 Release (nightly)
Created by:

:ci skip all
2024-07-07 01:58:57 +00:00
Sergey Musatov
33f2a293d1 [YandexMusic] Download music in High Quality (320 Kbit/s)
PR #31159
2024-07-07 01:58:33 +00:00
github-actions
4dadf7fe2b Release (nightly)
Created by:

:ci skip all
2024-07-03 01:48:31 +00:00
dirkf
a4ffbc78fe [core,utils] Support unpublicised --no-check-extensions 2024-07-03 01:47:59 +00:00
dirkf
e3a9ce0097 [core,utils] Implement unsafe file extension mitigation
* from https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-79w7-vh3h-8g4, thx grub4k
2024-07-03 01:47:59 +00:00
dirkf
63911beed7 [utils] Back-port Namespace and MEDIA_EXTENSIONS from yt-dlp
Thx pukkandan
* Namespace: https://github.com/yt-dlp/yt-dlp/commit/591bb9d355
* MEDIA_EXTENSIONS: https://github.com/yt-dlp/yt-dlp/commit/8dc5930511
2024-07-03 01:47:59 +00:00
github-actions
c5311431c8 Release (nightly)
Created by:

:ci skip all
2024-06-21 01:46:59 +00:00
dirkf
873964c330 [PalcoMP3] Conform to new linter rule
* no space after @ in decorator
2024-06-21 01:46:28 +00:00
dirkf
663ff5b567 [jsinterp] Various tweaks
* treat Infinity like NaN
* cache operator list
2024-06-21 01:46:28 +00:00
dirkf
46c37a8e1f [jsinterp] Fix and improve expression parsing
* improve BODMAS (fixes https://github.com/ytdl-org/youtube-dl/issues/32815)
* support more weird expressions with multiple unary ops
2024-06-21 01:46:28 +00:00
dirkf
0717d915c9 [jsinterp] Add Debugger from yt-dlp
* https://github.com/yt-dlp/yt-dlp/commit/8f53dc4
* thx pukkandan
2024-06-21 01:46:28 +00:00
dirkf
c5dc0b5674 [utils] Save orig_msg in ExtractorError 2024-06-21 01:46:28 +00:00
github-actions
4a8d1906f9 Release (nightly)
Created by:

:ci skip all
2024-06-12 01:48:25 +00:00
Paper
3e38ea12db [VidLii] Add 720p support (#30924)
* [VidLii] Add HD support  (yt-dlp backport-ish)

* Also fix a bug with the view count

---------

Co-authored-by: dirkf <fieldhouse@gmx.net>
2024-06-12 01:47:57 +00:00
dirkf
3db3ffc859 [ORF] Skip tests with limited availability 2024-06-12 01:47:57 +00:00
dirkf
7b510e4f4d [ORF] Re-factor and updateORFFM4StoryIE
* fix getting media via DASH instead of inaccessible mp4
* also get in-page YT media
2024-06-12 01:47:57 +00:00
dirkf
ce7f1813dd [ORF] Support sound.orf.at, updating ORFRadioIE
* maintain support for xx.orf.at/player/... URLs
* add `ORFRadioCollectionIE` to support playlists in ORF Sound
* back-port and re-work `ORFPodcastIE` from https://github.com/yt-dlp/yt-dlp/pull/8486, thx Esokrates
2024-06-12 01:47:57 +00:00
dirkf
ac87af192d [ORF] Support on.orf.at, replacing ORFTVthekIE
* add `ORFONIE`, back-porting yt-dlp PR https://github.com/yt-dlp/yt-dlp/pull/9113 and friends: thx HobbyistDev, TuxCoder, seproDev
* re-factor to support livestreams via new `ORFONliveIE`
2024-06-12 01:47:57 +00:00
dirkf
b5fb97a711 [test] Improve download test
* skip reason can't be unicode in Py2
* remove duplicate assert...Equal functions
2024-06-12 01:47:57 +00:00
dirkf
bfe962ff50 [core] Re-factor with _fill_common_fields() as used in yt-dlp 2024-06-12 01:47:57 +00:00
dirkf
c3928f9122 [core] Safer handling of nested playlist data 2024-06-12 01:47:57 +00:00
kmnx
5a52f5f079 [mixcloud] updated mixcloud API server address (#32557)
* updated mixcloud API server address
* fix tests
* etc

---------

Co-authored-by: dirkf <fieldhouse@gmx.net>
2024-06-12 01:47:57 +00:00
github-actions
4346d68237 Release (nightly)
Created by:

:ci skip all
2024-05-31 01:46:23 +00:00
dirkf
10bf86fd2e [InfoExtractor] Misc yt-dlp back-ports, etc
* add _yes_playlist() method
* avoid crash using _NETRC_MACHINE
* use _search_json() in _search_nextjs_data()
* _search_nextjs_data() default is JSON, not text
* test for above
2024-05-31 01:45:57 +00:00
dirkf
045c63f951 [compat] Avoid type comparison in compat_ord
NB This isn't actually a compat fn; it should be utils.int_from_int_or_char
2024-05-31 01:45:57 +00:00
dirkf
9efa2a0d55 [utils] Split out traversal.py dummy and traversal tests 2024-05-31 01:45:57 +00:00
dirkf
563a8549ae [compat] Improve compat_etree_iterfind for Py2.6
Adapted from https://raw.githubusercontent.com/python/cpython/2.7/Lib/xml/etree/ElementPath.py
2024-05-31 01:45:57 +00:00
dirkf
a093e0ac1c [utils] Update traverse_obj() from yt-dlp
* remove `is_user_input` option per https://github.com/yt-dlp/yt-dlp/pull/8673
* support traversal of compat_xml_etree_ElementTree_Element per https://github.com/yt-dlp/yt-dlp/pull/8911
* allow un/branching using all and any per https://github.com/yt-dlp/yt-dlp/pull/9571
* support traversal of compat_cookies.Morsel and multiple types in `set()` keys per https://github.com/yt-dlp/yt-dlp/pull/9577
thx Grub4k for these
* also, move traversal tests to a separate class
* allow for unordered dicts in tests for Py<3.7
2024-05-31 01:45:57 +00:00
github-actions
90cac9424d Release (nightly)
Created by: dirkf

:ci skip all
2024-05-16 18:18:31 +00:00
dirkf
6d8de7ccf7
[workflows/build.yml] Temporary workaround for Python 3.4/5 failures
https://github.com/actions/setup-python/issues/866
2024-05-16 19:07:15 +01:00