Commit Graph

23385 Commits (223b3b75efd6090677ccfd9456ffbd294e161f9a)
 

Author SHA1 Message Date
theqwertycoder 223b3b75ef fixes to extractor regex, artist splitting, and half·alive test 2 weeks ago
bashonly 13e6a52074
Merge branch 'master' into patch-2 2 weeks ago
u-spec-png 6539ee1947
[ie/N1Info:article] Fix extractor (#13865)
Authored by: u-spec-png
2 weeks ago
CasperMcFadden95 43dedbe639
[ie/RoyaLive] Support `en` URLs (#13908)
Authored by: CasperMcFadden95
2 weeks ago
doe1080 05e553e9d1
[ie/niconico] Fix error handling & improve metadata extraction (#13240)
Closes #13338
Authored by: doe1080
2 weeks ago
doe1080 1c6068af99
[cleanup] Move embed tests to dedicated extractors (#13782)
Authored by: doe1080
2 weeks ago
TheQWERTYCodr fb26d5134e
update regex to follow coding guidelines
make unreferenced group non-capturing
2 weeks ago
TheQWERTYCodr 2cc41d1f20
create test for middle dot character
add half·alive's "Back Around" as a test to make sure middle dot works in artist names
2 weeks ago
TheQWERTYCodr 9116f98f49
performance improvement on new regex
performance improvement, no functional changes
2 weeks ago
TheQWERTYCodr 08c7d5379e
slight revision _video.py
.+ outside the artist group steamrolls any potential artist tag, so we move it inside the artist group
2 weeks ago
TheQWERTYCodr 1b4d0401e4
fix youtube music metadata extraction
fixed the metadata extraction regex's catastrophic backtracking, made it faster on all inputs, and added proper support for artists using the middle dot character

and now, a rant about properly checking your work and learning how to do shit before you publish changes:
simulated atomic groups did not make the regex faster - you added a newline.
simulated atomic groups are always (guaranteed!) slower than normal groups and removing them from the old regex makes that regex faster: https://regex101.com/r/8Ssf2h/3
this is fairly obvious to anyone who has actually learned how regexes are matched.
the fix is to add a delimiter to the start of the expression: https://regex101.com/r/XqqucW/1
without (?:\n|^), the regex attempts to find a match starting at every possible title character (which is virtually every location)
it will then attempt to extend this until it can't do so.
for the string "hello", it would have to check "hello", "ello", "llo", "lo", and "o".
this is what backtracking is, and it causes quadratic performance in the number of input characters.
again, this is fairly obvious to anyone who has actually learned how regexes are matched.
i really hope the next person to "improve" this actually takes the time to review their changes before pushing them.
2 weeks ago
garret1317 71f30921a2
[ie/tbsjp] Fix extractor (#13485)
Closes #13484
Authored by: garret1317
2 weeks ago
Abdulmohsen 121647705a
[ie/TVer] Support --ignore-no-formats-error when geo-blocked (#13598)
Authored by: arabcoders
3 weeks ago
bashonly 70d7687487
[ie/TVer] Extract Streaks API info (#13885)
Closes #13874
Authored by: bashonly
3 weeks ago
bashonly 42ca3d601e
[ie/archive.org] Fix metadata extraction (#13880)
Closes #13881
Authored by: bashonly
3 weeks ago
bashonly 62e2a9c0d5
[ci] Bump supported PyPy version to 3.11 (#13877)
Ref: https://pypy.org/posts/2025/07/pypy-v7320-release.html

Authored by: bashonly
3 weeks ago
bashonly 28b68f6875
[cookies] Load cookies with float `expires` timestamps (#13873)
Authored by: bashonly
3 weeks ago
fries1234 682334e4b3
[ie/tvw:news] Add extractor (#12907)
Authored by: fries1234
3 weeks ago
Florentin Le Moal b831406a1d
[ie/rtve.es:program] Add extractor
Authored by: meGAmeS1, seproDev

Co-authored-by: sepro <sepro@sepr0.com>
3 weeks ago
bashonly 23c658b9cb
Raise minimum recommended Python version to 3.10 (#13859)
Ref: https://github.com/yt-dlp/yt-dlp/issues/13858

Authored by: bashonly
3 weeks ago
bashonly cc5a5caac5
Deprecate `darwin_legacy_exe` support (#13857)
Ref: https://github.com/yt-dlp/yt-dlp/issues/13856

Authored by: bashonly
3 weeks ago
bashonly 66aa21dc5a
[build] Use `macos-14` runner for `macos` builds (#13814)
Ref: https://github.blog/changelog/2025-07-11-upcoming-changes-to-macos-hosted-runners-macos-latest-migration-and-xcode-support-policy-updates/#macos-13-is-closing-down

Authored by: bashonly
3 weeks ago
Tom Hebb 57186f958f
[fd/hls] Fix `--hls-split-continuity` support (#13321)
Authored by: tchebb
3 weeks ago
CasperMcFadden95 daa1859be1
[ie/FaulioLive] Support Bahry TV (#13850)
Authored by: CasperMcFadden95
3 weeks ago
c-basalt e8c2bf798b
[ie/neteasemusic] Support XFF (#11044)
Closes #11043
Authored by: c-basalt
3 weeks ago
doe1080 1fe83b0111
[ie/eagleplatform] Remove extractors (#13469)
Authored by: doe1080
3 weeks ago
InvalidUsernameException 30302df22b
[ie/sportdeuschland] Support embedded player URLs (#13833)
Closes #13766
Authored by: InvalidUsernameException
3 weeks ago
CasperMcFadden95 3e609b2ced
[ie/FaulioLive] Add extractor (#13421)
Authored by: CasperMcFadden95, seproDev

Co-authored-by: sepro <sepro@sepr0.com>
3 weeks ago
bashonly d399505fdf
[fd/external] Work around ffmpeg's `file:` URL handling (#13844)
Closes #13781
Authored by: bashonly
3 weeks ago
sepro 61d4cd0bc0
[ie/PlyrEmbed] Add extractor (#13836)
Closes #13827
Authored by: seproDev
3 weeks ago
doe1080 4385480795
[utils] `parse_resolution`: Support width-only pattern (#13802)
Authored by: doe1080
3 weeks ago
Barry van Oudtshoorn 485de69dbf
[ie/Parlview] Rework extractor (#13788)
Closes #13787
Authored by: barryvan
3 weeks ago
ischmidt20 0adeb1e54b
[ie/tbs] Fix truTV support (#9683)
Closes #3400
Authored by: ischmidt20, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
3 weeks ago
bashonly afaf60d9fd
[ie/vimeo] Fix login support and require authentication (#13823)
Closes #13822
Authored by: bashonly
4 weeks ago
Atsushi2965 7e3f48d64d
[pp/EmbedThumbnail] Fix ffmpeg args for embedding in mp3 (#13720)
Authored by: atsushi2965
4 weeks ago
bashonly 59765ecbc0
[ie/sproutvideo] Fix extractor (#13813)
Authored by: bashonly
4 weeks ago
bashonly c59ad2b066
[utils] `random_user_agent`: Bump versions (#13543)
Closes #5362
Authored by: bashonly
4 weeks ago
Simon Sawicki eed94c7306
[utils] Add `WINDOWS_VT_MODE` to globals (#12460)
Authored by: Grub4K
4 weeks ago
Roland Crosby 3e918d825d
[pp/XAttrMetadata] Add macOS "Where from" attribute (#12664)
Authored by: rolandcrosby
4 weeks ago
github-actions[bot] 035b1ece8f Release 2025.07.21
Created by: bashonly

:ci skip all
4 weeks ago
sepro 9951fdd0d0
[cleanup] Misc (#13595)
Closes #10853, Closes #12436, Closes #13314, Closes #13609
Authored by: seproDev, InvalidUsernameException, doe1080, hseg, bashonly, adamralph

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: InvalidUsernameException <InvalidUsernameException@users.noreply.github.com>
Co-authored-by: gesh <gesh@gesh.uni.cx>
Co-authored-by: Adam Ralph <adam@adamralph.com>
Co-authored-by: doe1080 <98906116+doe1080@users.noreply.github.com>
4 weeks ago
Simon Sawicki 959ac99e98
Fix `--exec` placeholder expansion on Windows
See https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-45hg-7f49-5h56 for more details

Authored by: Grub4K
4 weeks ago
bashonly d88b304d44
[ie/patreon:campaign] Fix extractor (#13712)
Closes #13622
Authored by: bashonly
4 weeks ago
bashonly b15aa8d772
[ie/BiliBiliBangumi] Fix extractor (#13800)
Closes #13795
Authored by: bashonly
4 weeks ago
c-basalt d3edc5d52a
[ie/bilibili] Pass newer user-agent with API requests (#13736)
Closes #12887
Authored by: c-basalt
4 weeks ago
doe1080 060c6a4501
[ie/skeb] Rework extractor (#13593)
Closes #7440
Authored by: doe1080
4 weeks ago
doe1080 6be26626f7
[utils] `unified_timestamp`: Return `int` values (#13796)
Authored by: doe1080
4 weeks ago
bashonly ef103b2d11
[ie/hotstar] Fix error handling (#13793)
Fix 7e0af2b1f0

Closes #13790
Authored by: bashonly
4 weeks ago
bashonly 3e49bc8a1b
Make extractor-designated impersonation override `--impersonate` (#13792)
Fix 32809eb2da

Authored by: bashonly
4 weeks ago
bashonly 2ac3eb9837
Fix `ImpersonateTarget` sanitization (#13791)
Fix 32809eb2da

Authored by: bashonly
4 weeks ago