176fc2cb00
[YouTube] Avoid early crash if webpage can't be read * see issue #33013
dirkf
2024-12-31 14:51:29 +00:00
d55d1f423d
[YouTube] Always extract using MWEB API client * temporary fix-up for 403 on download * MWEB parameters from yt-dlp 2024-12-06
dirkf
2024-12-14 11:18:34 +00:00
eeafbbc3e5
[YouTube] Fix signature function extraction for 2f1832d2 * _ was omitted from patterns * thx yt-dlp/yt-dlp#11801
dirkf
2024-12-13 12:16:31 +00:00
cd7c7b5edb
[YouTube] Simplify pattern for nsig function name extraction
dirkf
2024-12-13 03:09:29 +00:00
eed784e15f
[YouTube] Pass nsig value as return hook, fixes player 3bb1f723
dirkf
2024-12-12 04:38:23 +00:00
b4469a0f65
[YouTube] Handle player 3bb1f723 * fix signature code extraction * raise if n function returns input value * add new tests from yt-dlp
dirkf
2024-12-07 03:39:44 +00:00
ce1e556b8f
[jsinterp] Add return hook for player 3bb1f723 * set var _ytdl_do_not_return to a specific value in the scope of a function * if an expression to be returned has that value, return becomes void
dirkf
2024-12-12 04:29:13 +00:00
f487b4a02a
[jsinterp] Strip /* comments */ when parsing * NB: _separate() is looking creaky
dirkf
2024-12-12 04:21:53 +00:00
60835ca16c
[jsinterp] Fix and improve "methods" * push, unshift return new length * impove edge cases for push/pop, shift/unshift, forEach, indexOf, charCodeAt * increase test coverage
dirkf
2024-12-12 04:16:07 +00:00
5dee6213ed
[jsinterp] Fix and improve arithmetic operations * addition becomes concat with a string operand * improve handling of edgier cases * arithmetic in float like JS (more places need cast to int?) * increase test coverage
dirkf
2024-12-12 00:26:00 +00:00
81e64cacf2
[jsinterp] Support multiple indexing (eg a[1][2]) * extend single indexing with improved RE (should probably use/have used _separate_at_paren()) * fix some cases that should have given undefined, not throwing * standardise RE group names * support length of objects, like {1: 2, 3: 4, length: 42}
dirkf
2024-12-12 00:15:31 +00:00
c1a03b1ac3
[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
dirkf
2024-12-12 00:00:32 +00:00
16f5bbc464
[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)
dirkf
2024-07-10 18:20:59 +01:00
d35ce6ce95
[jsinterp] Support functionality for player b22ef6e7 * support prototype for call() and apply() (yt-dlp/yt-dlp#10392, thx Grub4k) * map JS Array to list
dirkf
2024-07-10 18:07:20 +01:00
76ac69917e
[jsinterp] Further improve expression parsing (fix fd8242e) Passes tests from yt-dlp
dirkf
2024-07-10 18:02:11 +01:00
756f6b45c7
[jsinterp] Re-align JSInterp and tests (esp.) with yt-dlp Thx: various yt-dlp authors
dirkf
2024-07-10 17:58:38 +01:00
e20ca543f0
[ORF] Re-factor and updateORFFM4StoryIE * fix getting media via DASH instead of inaccessible mp4 * also get in-page YT media
dirkf
2024-06-01 13:43:37 +01:00
e39466051f
[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
dirkf
2024-06-01 13:29:26 +01:00
d95c0d203f
[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
dirkf
2024-06-01 12:56:41 +01:00
3bde6a5752
[test] Improve download test * skip reason can't be unicode in Py2 * remove duplicate assert...Equal functions
dirkf
2024-06-11 01:20:42 +01:00
50f6c5668a
[core] Re-factor with _fill_common_fields() as used in yt-dlp
dirkf
2024-06-01 03:25:06 +01:00
b4ff08bd2d
[core] Safer handling of nested playlist data
dirkf
2024-06-01 03:23:37 +01:00
88bd8b9f87
[mixcloud] updated mixcloud API server address (#32557)
kmnx
2024-06-11 13:38:24 +02:00
21924742f7
[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
dirkf
2024-04-26 18:57:44 +01:00
768ccccd9b
[compat] Avoid type comparison in compat_ord NB This isn't actually a compat fn; it should be utils.int_from_int_or_char
dirkf
2024-05-28 15:59:34 +01:00
eee9a247eb
[utils] Split out traversal.py dummy and traversal tests
dirkf
2024-05-28 17:16:58 +01:00
0b2ce3685e
[YouPorn] Improve extraction * detect unwatchable videos * improve duration extraction * fix count extraction and support large values * detect and remove SEO spam boilerplate description
dirkf
2024-03-01 15:07:30 +00:00
c2766cb80e
[test/test_download] Support 'playlist_maxcount:count' expected value * parallel to `playlist_mincount' * specify both for a range of playlist lengths * if max < min the test will always fail!
dirkf
2024-04-11 12:47:05 +01:00
4ea59c6107
[utils] Fix crash in _report_ignoring_subs from c58b655 (#32762)
Ori Avtalion
2024-04-05 17:25:29 +03:00
21792b88b7
[external/FFmpeg] Fix and improve --ffmpeg-location handling * pass YoutubeDL (FileDownloader) to FFmpegPostProcessor constructor * consolidate path search in FFmpegPostProcessor * make availability of FFmpegFD depend on existence of FFmpegPostProcessor * detect ffmpeg executable on instantiation of FFmpegFD * resolves#32735
dirkf
2024-03-03 12:38:00 +00:00
d8f134a664
[downloader/external] Fix "Resource Warning" in downloader test * add compat_subprocess_Popen context manager * apply context manager in FFmpegFD._call_downloader()
dirkf
2024-03-02 15:17:09 +00:00
aef24d97e9
[Videa] Align with yt-dlp
dirkf
2024-02-29 14:12:37 +00:00
f7b30e3f73
[XFileShare] Update extractor for 2024 * simplify aa_decode() * review and update supported sites and tests * in above, include FileMoon.sx, and remove separate module * incorporate changes from yt-dlp * allow for decoding multiple scripts (eg, FileMoon) * use new JWPlayer extraction
dirkf
2024-02-21 00:18:17 +00:00
f66372403f
[InfoExtractor] Rework and improve JWPlayer extraction * use traverse_obj() and _search_json() * support playlist .load({**video1},{**video2}, ...) * support transform_source=... for _extract_jwplayer_data()
dirkf
2024-02-21 00:09:48 +00:00
7216fa2ac4
[InfoExtractor] Add _search_json() * uses the error diagnostic to truncate the JSON string * may be confused by non-C-Pythons
dirkf
2024-02-21 00:03:17 +00:00
acc383b9e3
[utils] Let int_or_none() accept a base, like int()
dirkf
2024-03-04 20:52:58 +00:00
7687389f08
[Vbox7] Improve extraction, adding features from yt-dlp PR #9100
dirkf
2024-02-18 20:55:01 +00:00
4416f82c80
[Vbox7IE] Sanitise ld+json containing unexpected characters * based on PR #29680 * added hack to force invoking transform_source * fixes#26218
dirkf
2024-01-27 18:17:09 +00:00
bdda6b81df
[Vbox7IE] Improve extraction * DASH extraction no longer fails with new range support * but always find combined formats if available * suppress ineffective XFF geo-bypass (causes time-outs) * adapted from https://github.com/ytdl-org/youtube-dl/pull/29680 * thx former GH user kikuyan
dirkf
2024-01-27 15:57:25 +00:00