aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/utils.py
AgeCommit message (Collapse)Author
2022-03-25[downloader] Fix invocation of `HttpieFD`pukkandan
Closes #3154
2022-03-23Remove `Accept-Encoding` header from `std_headers` (#3153)coletdev
This should be set by each downloader to what it supports. Fixes https://github.com/yt-dlp/yt-dlp/issues/3142 Authored-by: coletdjnz
2022-03-22Use certificates from `certifi` if installed (#3115)coletdev
Fixes #3102 and most `CERTIFICATE_VERIFY_FAILED` issues Authored by: coletdjnz
2022-03-18[utils] `format_decimal_suffix`: Fix for very large numbers (#3109)s0u1h
Authored by: s0u1h
2022-03-11[cleanup] Minor cleanuppukkandan
Closes #3006
2022-03-11Fix case of `http_headers`pukkandan
Bug in 8b7539d27c0a47d8d08e0522bdb66c571483377b Fixes https://github.com/yt-dlp/yt-dlp/issues/1346#issuecomment-1064527765
2022-03-09[utils] ExtractorError: Fix for older python versionspukkandan
Closes #2993
2022-03-09[utils] Add `get_first`pukkandan
2022-03-08[cleanup] Refactor `__init__.py` (#2570)pukkandan
* Split `__init__` code into multiple functions * Clean up validation code by grouping similar types of options * Expose `parse_options` to third parties
2022-03-08[cleanup, docs] Misc cleanuppukkandan
Closes #2828, closes #2734, closes #2802, closes #2937
2022-03-08Add brotli content-encoding support (#2433)coletdev
Authored by: coletdjnz
2022-03-08[utils] Better traceback for `ExtractorError`pukkandan
2022-03-06[utils] render_table: Fix character calculation for removing extra gapLesmiscore
without this fix, the column next to delimiter will lack leading spaces on terminal (see https://github.com/yt-dlp/yt-dlp/pull/920#issuecomment-1059914615 for the situation)
2022-03-04[ant1newsgr] Add extractor (#1982)Zenon Mousmoulas
Authored by: zmousm
2022-03-04Implement `--add-header` without modifying `std_headers`pukkandan
Closes #2526, #1614
2022-03-04Handle negative duration from extractorpukkandan
Closes #2921
2022-03-04Fix doubling of `video_id` in `ExtractorError`pukkandan
2022-03-03[utils] Improve file lockingpukkandan
* Implement non-blocking locks for windows * Don't raise error when closing a closed file
2022-03-03[utils] Fix file locking for AOSP (#2714)Justin Keogh
Closes #2080, #2670 Authored by: jakeogh
2022-03-03[utils] OnDemandPagedList: Do not download pages after errorpukkandan
2022-02-28[downloader/fragment] Fix bugs around resuming with Range (#2901)Lesmiscore (Naoya Ozaki)
Authored by: Lesmiscore
2022-02-25[fc2:live] Add extractor (#2418)Lesmiscore (Naoya Ozaki)
Authored by: Lesmiscore
2022-02-25[AbemaTV] Add extractors (#1688)Lesmiscore (Naoya Ozaki)
Authored by: Lesmiscore
2022-02-23Add pre-processor stage `after_filter`pukkandan
* Move `_match_entry` and `post_extract` to `process_video_result`. It is also left in `process_info` for API compat * `--list-...` options and `--force-write-archive` now obey filtering options * Move `SponsorBlockPP` to `after_filter`. Closes https://github.com/yt-dlp/yt-dlp/issues/2536 * Reverts 4ec82a72bbf7ff0066edb50dcad20aa77ac2fe09 since this commit addresses the issue it was solving
2022-02-19[tubitv] Fix/improve TV series extraction (#2829)Bepis
Authored by: bbepis
2022-02-13[utils] WebSockets wrapper for non-async functions (#2417)Lesmiscore (Naoya Ozaki)
Authored by: Lesmiscore
2022-02-12[utils] Validate `DateRange` inputpukkandan
Closes #2641
2022-02-05[utils] Use `locked_file` for `sanitize_open` (#1066)Justin Keogh
Authored by: jakeogh
2022-02-03[cleanup,docs] Minor fixespukkandan
Closes #2541, #2484
2022-02-03[utils] Strip double spaces in `clean_html`pukkandan
Closes #2497 Authored by: dirkf
2022-02-03Make nested --config-locations relative to parent filepukkandan
* and allow environment variables in it so that you can use `$PWD`/`%cd%` to specify paths relative to current directory
2022-02-02Fix `--compat-options list-formats`pukkandan
Closes #2481
2022-01-24Fix/improve `InAdvancePagedList`pukkandan
2022-01-21[cleanup] Use format_field where applicablepukkandan
2022-01-21Add option --legacy-server-connect (#778)xtkoba
to allow HTTPS connection to servers that do not support RFC 5746 secure renegotiation Authored by: xtkoba
2022-01-21Fix d14cbdd92d8bbb9deedc77da80085b0280ae52bbpukkandan
2022-01-20[youtube] Enforce UTC (#2402)coletdjnz
and [utils] use `utcnow` in `datetime_from_str` Related: #2223 Authored by: coletdjnz
2022-01-20[utils] Add `Sec-Fetch-Mode` to `std_headers`pukkandan
Closes #2187
2022-01-20Revert d6579d532bed8fa9e316404e6f30df4402f4a632pukkandan
Closes #2396, Reopens #2187
2022-01-19[utils] Handle `ss:xxx` in `parse_duration`pukkandan
Closes #2388
2022-01-13Add option `--concat-playlist`pukkandan
Closes #1855, related: #382
2022-01-10[utils] Partially revert d76d15a6699dc41eea26a96d054a1b7bcb12c69bpukkandan
Closes #2187
2022-01-09[utils] Improve `get_elements_text_and_html_by_attribute` regex (#2280)Zenon Mousmoulas
Authored by: zmousm, pukkandan
2022-01-06[utils] Improve parsing for nested HTML elements (#2129)Zenon Mousmoulas
and add functions to return the HTML of elements Authored by: zmousm
2022-01-04[cleanup] Misc cleanuppukkandan
2022-01-04Allow multiple and nested configuration filespukkandan
2022-01-03Add more post-processing stagespukkandan
playlist = After entire playlist after_video = After downloading all formats of a video
2022-01-03Allow `--exec` to be run at any post-processing stagepukkandan
Deprecates `--exec-before-download`
2022-01-02[utils] Use key `None` in `traverse_obj` to return as-ispukkandan
2022-01-01[extractor] Detect more subtitle codecs in MPD manifests (#2174)Felix S
Authored by: fstirlitz