Commit graph

  • 087d865230 [YouTube] Support new player URL patterns dirkf 2025-03-25 22:14:08 +00:00
  • a4fc1151f1 [JSInterp] Improve indexing * catch invalid list index with ValueError (eg [1, 2]['ab'] -> undefined) * allow assignment outside existing list (eg var l = [1,2]; l[9] = 0;) dirkf 2025-03-25 21:56:32 +00:00
  • a464c159e6 [YouTube] Make _extract_player_info() use _search_regex() dirkf 2025-03-25 21:49:21 +00:00
  • 7dca08eff0 [YouTube] Also get original of translated automatic captions dirkf 2025-03-25 21:41:15 +00:00
  • 2239ee7965 [YouTube] Get subtitles/automatic captions from both web and API responses dirkf 2025-03-25 21:39:31 +00:00
  • 0a6117341a Merge remote-tracking branch 'ytdl-org/master' into fix-npo-support Bart Broere 2025-03-22 09:39:57 +01:00
  • da7223d4aa [YouTube] Improve support for tce-style player JS * improve extraction of global "useful data" Array from player JS * also handle tv-player and add tests: thx seproDev (yt-dlp/yt-dlp#12684) dirkf 2025-03-21 16:26:25 +00:00
  • 37c2440d6a [YouTube] Update player client data thx seproDev (yt-dlp/yt-dlp#12603) dirkf 2025-03-21 16:13:24 +00:00
  • 4f8b323d1b Merge remote-tracking branch 'ytdl-org/master' into fix-npo-support Bart Broere 2025-03-15 17:17:27 +01:00
  • b5f1fcb5f9 Fix KeyError('50') in Google Drive extractor by adding safe extension lookup Adebimpe51 2025-03-13 10:06:36 +01:00
  • 420d53387c [JSInterp] Improve tests * from yt-dlp/yt-dlp#12313 * also fix d7c2708 dirkf 2025-03-10 11:44:06 +00:00
  • 32f89de92b [YouTube] Update TVHTML5 client parameters * resolves #33078 dirkf 2025-03-07 21:03:54 +00:00
  • 283dca56fe [YouTube] Initially support tce-style player JS * resolves #33079 dirkf 2025-03-07 21:02:28 +00:00
  • 422b1b31cf [YouTube] Temporarily redirect from tce-style player JS dirkf 2025-03-07 20:00:58 +00:00
  • 1dc27e1c3b [JSInterp] Make indexing error handling more conformant * by default TypeError -> undefined, else raise * set allow_undefined=True/False to override dirkf 2025-03-07 19:40:53 +00:00
  • af049e309b [JSInterp] Handle undefined, etc, passed to JS_RegExp and Exception dirkf 2025-03-07 19:37:56 +00:00
  • 94849bc997 [JSInterp] Improve Date processing * add JS_Date class implementing JS Date * support constructor args other than date string * support static methods of Date * Date objects are still automatically coerced to timestamp before using in JS. dirkf 2025-03-07 19:32:56 +00:00
  • 974c7d7f34 [compat] Fix inheriting from compat_collections_chain_map * see ytdl-org/youtube-dl#33079#issuecomment-2704038049 dirkf 2025-03-07 19:17:18 +00:00
  • 8738407d77 [compat] Support zstd Content-Encoding * see RFC 8878 7.2 dirkf 2025-03-02 13:36:05 +00:00
  • cecaa18b80 [compat] Clean-up * make workaround_optparse_bug9161 private * add comments * avoid leaving test objects behind dirkf 2025-03-07 23:03:17 +00:00
  • 0da30320ae [JSInterp] Improve tests * from yt-dlp/yt-dlp#12313 * also fix d7c2708 dirkf 2025-03-10 11:44:06 +00:00
  • 6a8382a83e [YouTube] Update TVHTML5 client parameters * resolves #33078 dirkf 2025-03-07 21:03:54 +00:00
  • 5c9a987a8d [YouTube] Initially support tce-style player JS * resolves #33079 dirkf 2025-03-07 21:02:28 +00:00
  • f3572dc46f [YouTube] Temporarily redirect from tce-style player JS dirkf 2025-03-07 20:00:58 +00:00
  • 5edaf42402 [JSInterp] Make indexing error handling more conformant * by default TypeError -> undefined, else raise * set allow_undefined=True/False to override dirkf 2025-03-07 19:40:53 +00:00
  • 086c0725f0 [JSInterp] Handle undefined, etc, passed to JS_RegExp and Exception dirkf 2025-03-07 19:37:56 +00:00
  • b2820cbf4a [JSInterp] Improve Date processing * add JS_Date class implementing JS Date * support constructor args other than date string * support static methods of Date * Date objects are still automatically coerced to timestamp before using in JS. dirkf 2025-03-07 19:32:56 +00:00
  • 705edd3a77 [compat] Fix inheriting from compat_collections_chain_map * see ytdl-org/youtube-dl#33079#issuecomment-2704038049 dirkf 2025-03-07 19:17:18 +00:00
  • 1916ab7433 [compat] Support zstd Content-Encoding * see RFC 8878 7.2 dirkf 2025-03-02 13:36:05 +00:00
  • 15dad2d359 [compat] Clean-up * make workaround_optparse_bug9161 private * add comments * avoid leaving test objects behind dirkf 2025-03-07 23:03:17 +00:00
  • 8d2170c713
    Relax HTML constraints on error message Michał Połtyn 2025-03-08 22:01:54 +01:00
  • efcf027208
    fix: updated readme for linux installation Ritesh Mahale 2025-03-02 01:03:02 +05:30
  • 673277e510
    [YouTube] Fix 91b1569 dirkf 2025-02-28 01:02:20 +00:00
  • 91b1569f68
    [YouTube] Fix channel playlist extraction (#33074) dirkf 2025-02-28 00:02:10 +00:00
  • c6f27dd88e [YouTube] Extract playlist items from LOCKUP_VIEW_MODEL_... * resolves #33073 * thx seproDev (yt-dlp/yt-dlp#11615) dirkf 2025-02-27 23:14:36 +00:00
  • 0e91062090 Removed pytz, added zoneinfo fallback, and improved timestamp parsing Asry18 2025-02-22 22:08:01 +05:30
  • c8364d6417 This update removes the dependency on pytz while maintaining accurate timestamp extraction. Asry18 2025-02-22 19:13:49 +05:30
  • 9717986128 - Implemented _parse_date method to convert dateTimeString to a UNIX timestamp. Asry18 2025-02-21 15:09:37 +05:30
  • 9b90c3fd62 Remove test/ Connor Mason 2025-02-14 04:56:45 -08:00
  • bf4e69eb7a Remove bidi_workaround stuff Connor Mason 2025-02-14 04:48:30 -08:00
  • 63b58baa01 basics Connor Mason 2025-02-13 23:37:22 -08:00
  • 853a2a2239 [Edited] Fix minor bug in the main function MayureshMore 2025-02-13 12:07:41 -08:00
  • 1fe43de848 Merge remote-tracking branch 'ytdl-org/master' into fix-npo-support Bart Broere 2025-02-10 15:05:35 +01:00
  • eb97b83ea2 Just warn on inabliity to embed thumbnail Connor Mason 2025-02-09 11:22:44 -08:00
  • 07cad2dbeb Add option for AAC -> MP3 conversion post-processor Connor Mason 2025-02-09 11:08:57 -08:00
  • 6e22b3b1eb Add ConvertAACToMP3PP post-processor Connor Mason 2025-02-09 10:47:52 -08:00
  • 8a5c8b8d09 Logging in FFmpegFD Connor Mason 2025-02-09 10:45:58 -08:00
  • 593b352fdb Use python logging Connor Mason 2025-02-09 10:43:23 -08:00
  • a2e33ecb48
    Update for 2025 dirkf 2025-02-07 09:03:46 +00:00
  • 711e72c292 [JSInterp] Fix bit-shift coercion for player 9c6dfc4a dirkf 2025-02-06 21:09:00 +00:00
  • 26b6f15d14 [compat] Make casefold private * if required, not supported: from youtube_dl.casefold import _casefold as casefold dirkf 2025-02-03 18:10:15 +00:00
  • 8ba28b7610 [JSInterp] Fix bit-shift coercion for player 9c6dfc4a dirkf 2025-02-06 21:09:00 +00:00
  • c866c8384b [compat] Make casefold private * if required, not supported: from youtube_dl.casefold import _casefold as casefold dirkf 2025-02-03 18:10:15 +00:00
  • 45c034e262
    Improve error handling for share link/redirect URL dirkf 2025-02-02 02:16:38 +00:00
  • 91e279fec1 Fix name of key Bart Broere 2025-01-31 16:15:03 +01:00
  • 4aa57d666c Merge remote-tracking branch 'ytdl-org/master' into fix-npo-support Bart Broere 2025-01-31 12:30:53 +01:00
  • c15351641c
    [Eporner] Check if video was deleted Michał Połtyn 2025-01-30 15:20:10 +01:00
  • f9515cb400 add streamable.com/t/VID url support, and test tansy 2025-01-29 15:03:45 +01:00
  • 05709d9896
    Support STVR dirkf 2025-01-27 03:43:14 +00:00
  • 2c7638739f
    Added missing colons (:) for clarity and consistency in README.md Shay Molcho 2025-01-23 08:49:11 +02:00
  • 5975d7bb96 [YouTube] Use X-Goog-Visitor-Id * required with tv player client * resolves #33030 dirkf 2025-01-22 06:52:40 +00:00
  • 63fb0fc415 [YouTube] Retain .videoDetails members from all player responses dirkf 2025-01-20 13:23:54 +00:00
  • b09442a2f4 [YouTube] Also use ios client when is_live dirkf 2025-01-19 01:18:34 +00:00
  • 55ad8a24ca [YouTube] Support ... /feeds/videos.xml?playlist_id={pl_id} dirkf 2025-01-15 03:22:56 +00:00
  • 21fff05121 [YouTube] Switch to TV API client * thx yt-dlp/yt-dlp#12059 dirkf 2025-01-15 03:19:15 +00:00
  • f6c4fc246a
    Update extraction from yt-dlp dirkf 2025-01-13 13:04:21 +00:00
  • 0f107596ba
    Unite playlist/channel extraction, pt 1 dirkf 2025-01-13 13:00:23 +00:00
  • 6105bac185
    Merge c4b5b8e231 into 1036478d13 andrea-aus-hh 2025-01-10 11:32:16 +00:00
  • a38d8bf2ae
    Merge 43ef8cf385 into 1036478d13 Rahul Ambhore 2025-01-06 20:14:43 -07:00
  • 1036478d13 [YouTube] Endure subtitle URLs are complete * WEB URLs are, MWEB not * resolves #33017 dirkf 2025-01-06 01:39:04 +00:00
  • 00ad2b8ca1 [YouTube] Refactor subtitle processing * move to internal function * use traverse-obj() dirkf 2025-01-06 01:24:30 +00:00
  • ab7c61ca29 [YouTube] Apply code style changes, trailing commas, etc dirkf 2025-01-06 01:22:16 +00:00
  • 224e0a7486
    Merge branch 'ytdl-org:master' into fix-npo-support Bart Broere 2025-01-04 14:44:46 +01:00
  • f28d5edd89
    Merge c85000591b into 176fc2cb00 Josef Bohórquez 2025-01-02 10:11:47 -05:00
  • 176fc2cb00 [YouTube] Avoid early crash if webpage can't be read * see issue #33013 dirkf 2024-12-31 14:51:29 +00:00
  • 31d3679237
    Update __main__.py jayadeepm 2024-12-22 23:27:17 +05:30
  • 7e6845d0d6
    Merge f70619bfe5 into d55d1f423d dirkf 2024-12-20 15:53:58 -08:00
  • c7ba44287a Updated Table of Contents for consistency and readability govindnathsng 2024-12-20 00:02:26 +05:30
  • 83fa68f453 +streamable.com/t/<VID> url support tansy 2024-12-16 23:26:29 +01: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
  • 94fd774608 [jsinterp] Fix and improve split/join * improve split/join edge cases * correctly implement regex split (not like re.split) dirkf 2024-12-12 04:13:06 +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
  • 118c6d7a17 [jsinterp] Implement typeof operator dirkf 2024-12-07 03:37:39 +00:00
  • f28d7178e4 [InfoExtractor] Use kwarg maxsplit for re.split * May become kw-only in future Pythons dirkf 2024-12-12 04:46:33 +00:00
  • 12bc3775d9 [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
  • 82b525657a [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
  • 3d649843fe [YouTube] Simplify pattern for nsig function name extraction dirkf 2024-12-13 03:09:29 +00:00
  • 9bc8fcf23c [YouTube] Pass nsig value as return hook, fixes player 3bb1f723 dirkf 2024-12-12 04:38:23 +00:00
  • a93fff3052 [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
  • 2968201ae0 [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
  • 067ad7439c [jsinterp] Strip /* comments */ when parsing * NB: _separate() is looking creaky dirkf 2024-12-12 04:21:53 +00:00