dirkf
|
4652109643
[core,utils] Implement unsafe file extension mitigation
|
5 months ago |
dirkf
|
eee9a247eb
[utils] Split out traversal.py dummy and traversal tests
|
6 months ago |
dirkf
|
06da64ee51
[utils] Update traverse_obj() from yt-dlp
|
7 months ago |
dirkf
|
acc383b9e3
[utils] Let int_or_none() accept a base, like int()
|
9 months ago |
Hubert Hirtz
|
f0812d7848
[utils] Handle user:pass in URLs (#28801)
|
9 months ago |
dirkf
|
66ab0814c4
[utils] Revert bbd3e7e, updating docstring, test instead
|
1 year ago |
dirkf
|
abef53466d
[utils] Rework URL path munging for ., .. components
|
1 year ago |
dirkf
|
d9d07a9581
[utils] Improve js_to_json, align with yt-dlp
|
1 year ago |
dirkf
|
825a40744b
[utils] Align traverse_obj() with yt-dlp
|
1 year ago |
dirkf
|
1d8d5a93f7
[test] Fixes for old Pythons
|
1 year ago |
dirkf
|
f47fdb9564
[utils] Add {expected_type} and Iterable support to traverse_obj()
|
1 year ago |
dirkf
|
f24bc9272e
[Misc] Fixes for 2.6 compatibility
|
1 year ago |
dirkf
|
f35b757c82
[utils] Ensure `allow_types` for `variadic()` is a tuple
|
1 year ago |
pukkandan
|
1d3751c3fe
Escape URLs in `sanitized_Request`, not `sanitize_url` d2558234cf5dd12d6896eed5427b7dcdb3ab7b5a added escaping of URLs while sanitizing. However, `sanitize_url` may not always receive an actual URL. Eg: When using `youtube-dl "search query" --default-search ytsearch`, `search query` gets escaped to `search%20query` before being prefixed with `ytsearch:` which is not the intended behavior. So the escaping is moved to `sanitized_Request` instead.
|
3 years ago |
Andrei Lebedev
|
27ed77aabb
[utils] Backport traverse_obj (etc) from yt-dlp (#31156)
|
2 years ago |
dirkf
|
d231b56717
[jsinterp] Overhaul JSInterp to handle new YT players 4c3f79c5, 324f67b9 (#31170)
|
2 years ago |
Remita Amine
|
e88c9ef62a
[utils] add a function to clean podcast URLs
|
3 years ago |
Remita Amine
|
9dd674e1d2
[utils] accept only supported protocols in url_or_none
|
3 years ago |
Sergey M․
|
fe07e788bf
[utils] Skip ! prefixed code in js_to_json
|
4 years ago |
Kevin O'Connor
|
4eda10499e
[utils] Don't attempt to coerce JS strings to numbers in js_to_json (#26851)
|
4 years ago |
Sergey M․
|
1d9bf655e6
[utils] Recognize wav mimetype (closes #26463)
|
4 years ago |
Sergey M․
|
42db58ec73
[utils] Improve str_to_int
|
5 years ago |
Remita Amine
|
348c6bf1c1
[utils] handle int values passed to str_to_int
|
5 years ago |
Sergey M․
|
1ced222120
[utils] Add generic caesar cipher and rot47
|
5 years ago |
InfernalUnderling
|
9d30c2132a
[utils] Handle rd-suffixed day parts in unified_strdate (#23199)
|
5 years ago |
Sergey M․
|
824fa51165
[utils] Improve subtitles_filename (closes #22753)
|
5 years ago |
Sergey M․
|
28cc2241e4
[utils] Restrict parse_codecs and add theora as known vcodec (#21381)
|
5 years ago |
Sergey M․
|
53cd37bac5
[utils] Improve strip_or_none
|
5 years ago |
Jakub Wilk
|
fd35d8cdfd
[utils] Transliterate "þ" as "th" (#20897)
|
5 years ago |
Sergey M․
|
5e1271c56d
[utils] Improve int_or_none and float_or_none (#20403)
|
5 years ago |