Alexandre Ramos
8ec164054e
Fix #9970 : FFmpeg requires ext in filename for FFmpegMetadataPP
...
Output templates resulting in filenames with only dots preceding the
extension would be passed to ffmpeg for embeding metadata with .temp
in the extension field because os.path.splitext would not find and
extension field in those filenames.
As a result ffmpeg would fail to determine what the output extension
should be and fail.
To solve this a must_have_ext argument was added to _change_extension
so that where a extension is required the expected extension will be
used in those cases where os.path.splitext returns an empty string for
the extension field.
existing_video_file in YoutubeDL.py was also changed so it won't
overwrite info_dict['ext'] with an empty string if os.path.splitext
returns an empty string for the extension field. This fixes #9970 .
2025-03-22 18:26:18 +00:00
f36e4b6e65
[cleanup] Misc ( #12526 )
...
Authored by: Grub4K, seproDev, gamer191, dirkf
Co-authored-by: sepro <sepro@sepr0.com >
2025-03-21 23:41:56 +00:00
9b868518a1
[ie/youtube] Fix nsig and signature extraction for player 643afba4 ( #12684 )
...
Closes #12677 , Closes #12682
Authored by: seproDev, bashonly
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com >
2025-03-21 20:58:10 +00:00
7d18fed8f1
[networking] Add keep_header_casing extension ( #11652 )
...
Authored by: coletdjnz, Grub4K
Co-authored-by: coletdjnz <coletdjnz@protonmail.com >
2025-03-03 00:10:01 +01:00
coletdjnz and GitHub
4445f37a7a
[core] Load plugins on demand ( #11305 )
...
- Adds `--no-plugin-dirs` to disable plugin loading
- `--plugin-dirs` now supports post-processors
Authored by: coletdjnz, Grub4K, pukkandan
2025-02-23 11:00:46 +13:00
Simon Sawicki and GitHub
a3e0c7d3b2
[test] Show all differences for expect_value and expect_dict ( #12334 )
...
Authored by: Grub4K
2025-02-21 21:29:07 +01:00
2081634474
[test:download] Validate and sort info dict fields ( #12299 )
...
Authored by: pzhlkj6612, bashonly
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com >
2025-02-10 23:22:21 +00:00
sepro and GitHub
4ca8c44a07
[jsinterp] Improve zeroise ( #12313 )
...
Authored by: seproDev
2025-02-09 22:37:23 +01:00
Simon Sawicki and GitHub
0d9f061d38
[jsinterp] Add js_number_to_string ( #12110 )
...
Authored by: Grub4K
2025-02-08 18:48:36 +01:00
Simon Sawicki and GitHub
fc12e724a3
[utils] sanitize_path: Fix some incorrect behavior ( #11923 )
...
Authored by: Grub4K
2025-01-25 22:32:00 +01:00
f7d071e8aa
[core] Fix float comparison values in format filters ( #11880 )
...
Closes #10115
Authored by: Dioarya, bashonly
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com >
2025-01-25 19:12:56 +00:00
pukkandan and GitHub
6fc85f617a
Don't sanitize filename on Unix when --no-windows-filenames ( #9591 )
...
Closes #4547 , Closes #8464
Authored by: pukkandan
2024-12-23 15:57:25 +05:30
bashonly and GitHub
5460cd9189
[ie/youtube] Fix signature function extraction for 2f1832d2 ( #11801 )
...
Closes #11798
Authored by: bashonly
2024-12-13 09:43:08 +00:00
bashonly and GitHub
a95ee6d880
[ie/youtube] Fix n sig extraction for player 3bb1f723 ( #11750 )
...
Closes #11744
Authored by: bashonly
2024-12-06 15:35:18 +00:00
bashonly and GitHub
4c85ccd136
[ie/youtube] Fix signature function extraction ( #11751 )
...
Closes #11748
Authored by: bashonly
2024-12-06 15:34:13 +00:00
coletdjnz and GitHub
c7316373c0
[rh:websockets] Support websockets 14.0+ ( #11616 )
...
Authored by: coletdjnz
2024-11-24 10:30:00 +13:00
sepro and GitHub
f95a92b3d0
[cleanup] Deprecate more compat functions ( #11439 )
...
Authored by: seproDev
2024-11-17 00:24:11 +01:00
Simon Sawicki and GitHub
c014fbcddc
[utils] subs_list_to_dict: Add lang default parameter ( #11508 )
...
Authored by: Grub4K
2024-11-15 23:25:52 +01:00
Simon Sawicki and GitHub
39d79c9b9c
[utils] Fix join_nonempty, add **kwargs to unpack ( #11559 )
...
Authored by: Grub4K
2024-11-15 22:06:15 +01:00
197d0b03b6
[cleanup] Misc ( #11347 )
...
Closes #11361
Authored by: avagordon01, bashonly, grqz, Grub4K, seproDev
Co-authored-by: Ava Gordon <avagordon01@gmail.com >
Co-authored-by: bashonly <bashonly@protonmail.com >
Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com >
Co-authored-by: Simon Sawicki <contact@grub4k.xyz >
2024-11-04 01:33:21 +01:00
4613096f2e
[cookies] Support chrome table version 24 ( #11425 )
...
Closes #6564
Authored by: kesor, seproDev
Co-authored-by: sepro <sepro@sepr0.com >
2024-11-04 00:59:57 +01:00
sepro and GitHub
beae2db127
[aes] Fix GCM pad length calculation ( #11438 )
...
Closes #10169
Authored by: seproDev
2024-11-03 21:03:09 +01:00
b103aca24d
[utils] Fix and improve find_element and find_elements ( #11443 )
...
Fix d710a6ca7c
Authored by: bashonly, Grub4K
Co-authored-by: Simon Sawicki <contact@grub4k.xyz >
2024-11-03 18:19:45 +00:00
Simon Sawicki and GitHub
422195ec70
[utils] Allow partial application for even more functions ( #11437 )
...
Fixes b6dc2c49e8
Authored by: Grub4K
2024-11-02 21:42:00 +01:00
b6dc2c49e8
[utils] Allow partial application for more functions ( #11391 )
...
Also adds the `trim_str` traversal helper
Authored by: bashonly, Grub4K
Co-authored-by: Simon Sawicki <contact@grub4k.xyz >
2024-10-30 21:53:41 +00:00
88402b714e
Fix --netrc empty string parsing for Python <=3.10 ( #11414 )
...
Ref: https://github.com/python/cpython/commit/15409c720be0503131713e3d3abc1acd0da07378
Closes #11413
Authored by: bashonly, Grub4K
Co-authored-by: Simon Sawicki <contact@grub4k.xyz >
2024-10-30 18:58:50 +00:00
bashonly and GitHub
d784464399
Remove Python 3.8 support ( #11321 )
...
Closes #10086
Authored by: bashonly
2024-10-23 06:33:50 +00:00
0f593dca9f
Add option --plugin-dirs ( #11277 )
...
Closes #3260
Authored by: imranh2, coletdjnz
Co-authored-by: coletdjnz <coletdjnz@protonmail.com >
2024-10-20 17:10:26 +00:00
Simon Sawicki and GitHub
d710a6ca7c
Add extractor helpers ( #10653 )
...
Authored by: Grub4K
2024-10-13 05:14:32 +02:00
Simon Sawicki and GitHub
85b87c991a
[utils] sanitize_path: Reimplement function ( #11198 )
...
Authored by: Grub4K
2024-10-13 04:10:12 +02:00
rakslice and GitHub
8f4ea14680
Fix format sorting bug with vp9.2 vcodec ( #10884 )
...
Authored by: rakslice
2024-09-27 21:32:39 +00:00
coletdjnz and GitHub
d1c4d88b2d
[networking] Fix handler not being added to RequestError ( #10955 )
...
Authored by: coletdjnz
2024-09-08 19:32:44 +12:00
coletdjnz and GitHub
6f9e653743
[rh:websockets] Upgrade websockets to 13.0 ( #10815 )
...
Fixes CI hanging
Authored by: coletdjnz
2024-08-21 19:17:26 +12:00
sepro and GitHub
c86891eb94
[ie/youtube] Fix n function name extraction for player b12cc44b ( #10668 )
...
Authored by: seproDev
2024-08-05 20:36:11 +00:00
sepro and GitHub
bb8bf1db99
[jsinterp] Improve slice implementation ( #10664 )
...
Authored by: seproDev
2024-08-05 20:28:24 +00:00
bashonly and GitHub
011b4a04db
[ie/youtube] Fix n function name extraction for player 20dfca59 ( #10611 )
...
Closes #10608
Authored by: bashonly
2024-07-31 21:19:30 +00:00
bashonly and GitHub
6daf2c27c0
[utils] unified_timestamp: Recognize Sunday ( #10589 )
...
Authored by: bashonly
2024-07-29 05:35:46 +00:00
bashonly and GitHub
713b4cd18f
[ie/youtube] Fix n function name extraction for player 3400486c ( #10542 )
...
Authored by: bashonly
2024-07-23 21:25:49 +00:00
bashonly and bashonly
cc0070f649
[utils] parse_codecs: Fix parsing of mixed case codec strings
...
Authored by: bashonly
2024-07-14 22:56:28 -05:00
coletdjnz and GitHub
150ecc45d9
[networking] Add legacy_ssl request extension ( #10448 )
...
Supported by Urllib, Requests and Websockets request handlers. Ignored by CurlCFFI.
Also added couple cookie-related tests.
Authored by: coletdjnz
2024-07-14 11:22:43 +12:00
coletdjnz and bashonly
42bfca00a6
[rh:curl_cffi] Support curl_cffi 0.7.X
...
Authored by: coletdjnz
2024-07-09 18:36:15 -05:00
sepro and GitHub
0b570f2a90
[core] Do not alter default format selection when simulated ( #9862 )
...
Closes #9843
Authored by: seproDev
2024-07-09 01:51:43 +02:00
297b0a3792
[ie/youtube] Fix JS n function name extraction ( #10390 )
...
Fixes nsig decoding for player b22ef6e7
Closes #10391
Authored by: bashonly, seproDev
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com >
2024-07-08 22:04:48 +00:00
Simon Sawicki and GitHub
6c056ea7ae
[jsinterp] Implement Function.prototype resolving for call and apply ( #10392 )
...
Authored by: Grub4K
2024-07-08 23:46:26 +02:00
Simon Sawicki
5ce582448e
[core] Disallow unsafe extensions (CVE-2024-38519)
...
Ref: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-79w7-vh3h-8g4j
Authored by: Grub4K
2024-07-02 00:58:40 +02:00
6aaf96a3d6
[cleanup] Misc ( #10075 )
...
Closes #10303
Authored by: bashonly, seproDev, jucor, c-basalt
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com >
Co-authored-by: Julien Cornebise <julien@cornebise.com >
Co-authored-by: c-basalt <117849907+c-basalt@users.noreply.github.com >
2024-07-01 22:51:27 +00:00
bashonly and GitHub
54a63e80af
[test:download] Raise on network errors ( #10283 )
...
Authored by: bashonly, seproDev
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com >
2024-06-28 00:23:44 +00:00
Peisen Wang and GitHub
a8520244b8
[cookies] Fix --cookies-from-browser DE detection on Linux ( #10237 )
...
Align with chromium source by parsing every part of `XDG_CURRENT_DESKTOP`
Authored by: peisenwang
2024-06-22 23:25:16 +00:00
sepro and GitHub
add96eb9f8
[cleanup] Add more ruff rules ( #10149 )
...
Authored by: seproDev
Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com >
Reviewed-by: Simon Sawicki <contact@grub4k.xyz >
2024-06-12 01:09:58 +02:00
5c019f6328
[misc] Cleanup ( #9765 )
...
Closes #9763
Authored by: bashonly, seproDev, Grub4K
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com >
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com >
2024-05-26 21:37:49 +00:00