Commit History

Author SHA1 Message Date
  Hubert Hirtz f0812d7848 [utils] Handle user:pass in URLs (#28801) 1 year ago
  dirkf 427472351c [utils] Make restricted filenames ignore characters in Unicode categories Mark, Other 1 year ago
  dirkf 66ab0814c4 [utils] Revert bbd3e7e, updating docstring, test instead 2 years ago
  dirkf bbd3e7e999 [utils] Properly handle list values in update_url() 2 years ago
  dirkf 2efc8de4d2 [utils] Advertise optional supported `Content-Encoding`s 2 years ago
  dirkf e4178b5af3 [utils] Add and use `filter_dict()` from yt-dlp 2 years ago
  dirkf 2d2a4bc832 [utils] Revise `isinstance()` tests (especially for str/unicode/bytes) to complete Linter fix 2 years ago
  dirkf 7d965e6b65 [utils] Avoid comparing `type(var)`, etc, to pass new Linter rules 2 years ago
  dirkf abef53466d [utils] Rework URL path munging for ., .. components 2 years ago
  dirkf e7926ae9f4 [utils] Rework decoding of `Content-Encoding`s 2 years ago
  dirkf 2b7dd3b2a2 [utils] Fix update_Request() with empty data (not None) 2 years ago
  dirkf 1fa8b86f0b [utils] Remove stray undocumented Host header in redirect (fix 46fde7c) 2 years ago
  dirkf a190b55964 [utils] Fix broken Py 3.11+ compat in `traverse_obj()` 2 years ago
  dirkf cb9366eda5 [utils] Minor updates (merge_dicts, T) 2 years ago
  dirkf d9d07a9581 [utils] Improve js_to_json, align with yt-dlp 2 years ago
  dirkf 825a40744b [utils] Align traverse_obj() with yt-dlp 2 years ago
  dirkf 1d8d5a93f7 [test] Fixes for old Pythons 2 years ago
  bashonly 3801d36416 [utils] `YoutubeDLCookieJar`: Add `get_cookie_header` and `get_cookies_for_url` methods 2 years ago
  dirkf b383be9887 [core] Remove `Cookie` header on redirect to prevent leaks 2 years ago
  dirkf 46fde7caee [core] Update redirect handling from yt-dlp 2 years ago
  dirkf f47fdb9564 [utils] Add {expected_type} and Iterable support to traverse_obj() 2 years ago
  dirkf f24bc9272e [Misc] Fixes for 2.6 compatibility 2 years ago
  dirkf 11cc3f3ad0 [utils] Fix `compiled_regex_type` in 249f2b6 2 years ago
  dirkf 64d6dd64c8 [YouTube] Support Releases tab 2 years ago
  dirkf 25124bd640 [devscripts] Improve hack to convert command-line options to API options 2 years ago
  dirkf f35b757c82 [utils] Ensure `allow_types` for `variadic()` is a tuple 2 years 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. 4 years ago
  dirkf 90c9f789d9 [utils] Add parse_qs, update_url 2 years ago
  dirkf 58988c1421 [YouTube] Bypass age-gating for certain restricted videos 3 years ago
  Andrei Lebedev 27ed77aabb [utils] Backport traverse_obj (etc) from yt-dlp (#31156) 2 years ago