aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/utils.py
AgeCommit message (Collapse)Author
2022-07-29[extractor/archiveorg] Improve handling of formats (#4461)coletdjnz
* Ignore private formats if not logged in (fixes https://github.com/yt-dlp/yt-dlp/issues/3832) * Prefer original formats * Support mpg formats Authored by: coletdjnz, pukkandan
2022-07-26[youtube,twitch] Allow waiting for channels to become livepukkandan
Closes #2597
2022-07-26Reject entire playlists faster with `--match-filter`pukkandan
Rejected based on `playlist_id` etc can be checked before any entries are extracted Related: #4383
2022-07-18Remove Python 3.6 supportpukkandan
Closes #3764
2022-07-15Fix a904a7f8c6edc42046f0a78fb279739d500d4887pukkandan
2022-07-15Allow users to specify encoding in each config files (#4357)Lesmiscore
Authored by: Lesmiscore
2022-07-13[utils] Fix `get_domain`pukkandan
Bug in ae61d108dd83a951b6e8a27e1fb969682416150d Closes #4344
2022-07-11[utils, cleanup] Refactor parse_codecspukkandan
2022-07-09[cleanup] Misc cleanuppukkandan
2022-07-07Do not load system certificates when `certifi` is usedpukkandan
This causes `CERTIFICATE_VERIFY_FAILED` if there is an expired/bad certificate in the system store Partially reverts 8a82af3511b4379af0d239dbd01c672c17a2c46a Related: #4145
2022-07-01[options] Fix aliases to `--config-location`pukkandan
2022-06-30Fix bug in 612f2be5d3924540158dfbe5f25d841f04cff8c6Lesmiscore
2022-06-29[cleanup] Misc cleanuppukkandan
2022-06-29[update] Ability to set a maximum version for specific variantspukkandan
2022-06-26[cleanup] Fix some typos (#4194)crazymoose77756
Authored by: crazymoose77756
2022-06-25[extractor] Fix `_create_request` when headers is Nonepukkandan
Closes #4164
2022-06-25[compat] Remove deprecated functions from core codepukkandan
2022-06-25[cleanup] Consistent style for file headspukkandan
2022-06-25[compat] Remove more functionspukkandan
Removing any more will require changes to a large number of extractors
2022-06-24[utils] Fix inconsistent default handling between HTTP and HTTPS requests ↵coletdev
(#4158) Default headers such as `Content-Type` were only being added for HTTPS requests among other handling. Fixes bug in https://github.com/ytdl-org/youtube-dl/commit/be4a824d74add1a3b78b8244dff12f4f078f168a Authored-by: coletdjnz
2022-06-22Fix playlist error handlingpukkandan
Bug in 7e88d7d78f452ea69f06bbdf23f82e9ad7c3de5e
2022-06-21[update] Expose more functionality to APIpukkandan
2022-06-20[utils] `ExtractorError`: Fix `exc_info`pukkandan
2022-06-20Bugfix for 7b2c3f47c6b586a208655fcfc716bba3f8619d1epukkandan
2022-06-20[cleanup] Miscpukkandan
2022-06-20[docs] Improvementspukkandan
2022-06-20[extractor/BiliIntl] Fix metadata extractionpukkandan
Closes #4116
2022-06-18Improve error handling of bad config filespukkandan
Related: #824
2022-06-18[cleanup, utils] Don't use kwargs for `format_field`pukkandan
2022-06-17[cleanup] Minor fixes (#4096)christoph-heinrich
Authored by: christoph-heinrich
2022-06-17Add option `--lazy-playlist` to process entries as they are receivedpukkandan
2022-06-17Add slicing notation to `--playlist-items`pukkandan
* Adds support for negative indices and step * Add `-I` as alias for `--playlist-index` * Deprecates `--playlist-start`, `--playlist-end`, `--playlist-reverse`, `--no-playlist-reverse` Closes #2951, Closes #2853
2022-06-16[utils] `Popen`: Refactor to use contextmanagerpukkandan
Fixes https://github.com/yt-dlp/yt-dlp/issues/3531#issuecomment-1156223597
2022-06-13[utils] `locked_file`: Fix for PyPy on Windowspukkandan
2022-06-12[cleanup] Misc fixes (see desc)pukkandan
* [tvver] Fix bug in 6837633a4a614920b6e43ffc6b4b8590dca8c9d7 - Closes #4054 * [rumble] Fix tests - Closes #3976 * [make] Remove `cat` abuse - Closes #3989 * [make] Revert #3684 - Closes #3814 * [utils] Improve `get_elements_by_class` - Closes #3993 * [utils] Inherit `Namespace` from `types.SimpleNamespace` * [utils] Use `re.fullmatch` for matching filters * [jsinterp] Handle quotes in `_separate` * [make_readme] Allow overshooting last line Authored by: pukkandan, kwconder, MrRawes, Lesmiscore
2022-06-11[cleanup] Misc fixespukkandan
Closes #4027
2022-06-07Add option `--download-sections` to download video partiallypukkandan
Closes #52, Closes #3932
2022-06-06[extractor] Add `_search_json`pukkandan
All fetching of JSON objects should eventually be done with this function but only `youtube` is being refactored for now
2022-06-03[cleanup] Misc fixespukkandan
Cherry-picks from: #3498, #3947 Related: #3949, https://github.com/yt-dlp/yt-dlp/issues/1839#issuecomment-1140313836 Authored by: pukkandan, flashdagger, gamer191
2022-05-28[utils] Send HTTP/1.1 ALPN extension (#3889)coletdev
Some servers may reject requests if not sent (e.g. fingerprinting) Fixes #3878 Authored by: coletdjnz
2022-05-27[cleanup] Misc fixes and cleanuppukkandan
Closes #3780, Closes #3853, Closes #3850
2022-05-27`--config-location -` to provide options interactivelypukkandan
2022-05-22[build, cleanup] Refactorpukkandan
Closes #3835, #3837
2022-05-21[cleanup] Miscpukkandan
2022-05-20[utils] Fix bug in 0b9c08b47bb5e95c21b067044ace4e824d19a9c2pukkandan
* Cache of `supports_terminal_sequences` must be reset after enabling VT mode * and move `windows_enable_vt_mode` to utils to avoid cyclic imports
2022-05-19[utils] Improve performance using `functools.cache`pukkandan
Closes #3786
2022-05-19[utils] `ISO3166Utils`: Add `EU` and `AP`pukkandan
Fixes https://github.com/yt-dlp/yt-dlp/pull/3302#discussion_r875528517
2022-05-19Add option `--alias`pukkandan
2022-05-18[cleanup] Minor fixespukkandan
2022-05-18[utils] `is_html`: Handle double BOMpukkandan
Closes #2885