aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/utils.py
AgeCommit message (Collapse)Author
2022-01-01[extractor] Detect more subtitle codecs in MPD manifests (#2174)Felix S
Authored by: fstirlitz
2021-12-30[outtmpl] Alternate form for `D` and fix suffix's casepukkandan
Fixes: https://github.com/yt-dlp/yt-dlp/issues/2085#issuecomment-1002247689, https://github.com/yt-dlp/yt-dlp/pull/2132/files#r775729811
2021-12-28Allow unicode characters in `info.json`pukkandan
Closes #2139
2021-12-28[utils] Fix `format_bytes` output for Bytes (#2132)Pierre Mdawar
Authored by: pukkandan, mdawar
2021-12-25[utils] Improve `parse_count`pukkandan
2021-12-25[OpenCast] Add extractors (#1905)Benedikt Wildenhain
Original PR: https://github.com/ytdl-org/youtube-dl/pull/26934 Authored by: bwildenhain, C0D3D3V
2021-12-24[utils] Fix parsing `YYYYMMDD` dates in Nov/Dec (#2094)Luc Ritchie
The date format `%Y%m%d%H%M` will successfully match against one-digit month, day, hour, and minute strings, even though %m et al. are documented as being zero-padded. So dates without time in Nov/Dec may be wrongly parsed as dates in January with time. This commit adds a format string of `%Y%m%d` to our supported date format strings directly below (higher priority) its problematic relatives. Closes #2076 Authored by: wlritchi
2021-12-23[cleanup] Misc cleanuppukkandan
Closes #1942 #1976 #2020 #2058 #1984
2021-12-23[outtmpl] Add alternate forms `F`, `D`pukkandan
and improve `id` detection F = sanitize as filename (# = restricted) D = add Decimal suffixes Closes #2085, 2081
2021-12-20[dash,youtube] Download live from start to end (#888)The Hatsune Daishi
* Add option `--live-from-start` to enable downloading live videos from start * Add key `is_from_start` in formats to identify formats (of live videos) that downloads from start * [dash] Create protocol `http_dash_segments_generator` that allows a function to be passed instead of fragments * [fragment] Allow multiple live dash formats to download simultaneously * [youtube] Implement fragment re-fetching for the live dash formats * [youtube] Re-extract dash manifest every 5 hours (manifest expires in 6hrs) * [postprocessor/ffmpeg] Add `FFmpegFixupDuplicateMoovPP` to fixup duplicated moov atoms Known issue: Ctrl+C doesn't work on Windows when downloading multiple formats Closes #1521 Authored by: nao20010128nao, pukkandan
2021-12-18[utils] Update `std_headers` (#2023)Felix S
* Update our chrome versions used for `User-Agent`s * Drop the `Accept-Charset` header that no browser emits any more Authored by: kikuyan, fstirlitz
2021-12-09[skeb] Add extractor (#1916)The Hatsune Daishi
Fixes: https://github.com/ytdl-org/youtube-dl/issues/30287 Authored by: nao20010128nao
2021-12-08[compat] Suppress errors in enabling VT modepukkandan
Closes #1932
2021-12-06Use `parse_duration` for `--wait-for-video`pukkandan
and some minor fix
2021-12-03Fix `--throttled-rate`pukkandan
2021-11-29[cleanup] Add deprecation warningspukkandan
2021-11-29[cleanup] Misc cleanuppukkandan
Closes #1805, closes #1800
2021-11-29Option `--wait-for-video` to wait for scheduled streamspukkandan
2021-11-20[utils] Fix error when copying `LazyList`pukkandan
2021-11-20[utils] Fix `PagedList`pukkandan
Bug in d8cf8d97a8dbc9602556de474af133b5ab0e0a29
2021-11-20[utils] Allow alignment in `render_table`pukkandan
and add tests
2021-11-16[utils] Fix `PagedList`pukkandan
2021-11-10[cleanup] minor fixespukkandan
2021-11-10[cleanup] Minor improvements to error and debug messagespukkandan
2021-11-08[outtmpl] Do not traverse `None`pukkandan
Closes #1585
2021-11-06[utils] Add `join_nonempty`pukkandan
2021-11-05[RaiplayRadio] Add extractors (#780)Francesco Frassinelli
Original PR: https://github.com/ytdl-org/youtube-dl/pull/21837 Authored by: frafra
2021-11-04[ffmpeg] Framework for feature detectionpukkandan
Related: #1502, #1237, https://github.com/ytdl-org/youtube-dl/pull/29581
2021-11-04[ExtractAudio] Rescale --audio-quality correctlypukkandan
Authored by: CrypticSignal, pukkandan
2021-11-03[utils] Parse `vp09` as vp9pukkandan
2021-10-28[utils] Add `jwt_decode_hs256`pukkandan
Code from #1340 Authored by: Ashish0804
2021-10-26[extractor] Fix some errors being converted to `ExtractorError`pukkandan
2021-10-26[utils] Create `DownloadCancelled` exceptionpukkandan
as super-class of ExistingVideoReached, RejectedVideoReached, MaxDownloadsReached Third parties can also sub-class this to cancel the download queue from a hook
2021-10-26[outtmpl] Add type `link` for internet shortcut filespukkandan
and refactor related code Closes #1405
2021-10-26[utils] Sanitize URL when determining protocolpukkandan
Closes #1406
2021-10-24Separate `--check-all-formats` from `--check-formats`pukkandan
Previously, `--check-formats` tested only the selected video formats, but ALL thumbnails
2021-10-23[minicurses] Add more colorspukkandan
2021-10-22[microsoftstream] Add extractor (#1201)Damiano Amatruda
Based on: https://github.com/ytdl-org/youtube-dl/pull/24649 Fixes: https://github.com/ytdl-org/youtube-dl/issues/24440 Authored by: damianoamatruda, nixklai
2021-10-20Don't create console for subprocesses on Windows (#1261)pukkandan
Closes #1251
2021-10-19[utils] Standardize timestamp formatting codepukkandan
Closes #1285
2021-10-18Add HDR information to formatspukkandan
2021-10-18[utils] Use `importlib` to load plugins (#1277)Ákos Sülyi
Authored by: sulyi
2021-10-17[utils] Allow duration strings in filterpukkandan
Closes #1309
2021-10-13[extractor,utils] Detect more codecs/mimetypespukkandan
Fixes: https://github.com/ytdl-org/youtube-dl/issues/29943
2021-10-10[minicurses] Fix when printing to filepukkandan
Closes #1215
2021-10-09[utils] Let traverse_obj accept functions as keyspukkandan
2021-10-09Improved progress reporting (See desc) (#1125)pukkandan
* Separate `--console-title` and `--no-progress` * Add option `--progress` to show progress-bar even in quiet mode * Fix and refactor `minicurses` * Use `minicurses` for all progress reporting * Standardize use of terminal sequences and enable color support for windows 10 * Add option `--progress-template` to customize progress-bar and console-title * Add postprocessor hooks and progress reporting Closes: #906, #901, #1085, #1170
2021-10-06Workaround ssl errors in mingw pythonpukkandan
Closes #1151
2021-10-04[build] Allow building with py2exe (and misc fixes)pukkandan
py2exe config is copied from youtube-dl Closes #1160
2021-10-03[extractor] Extract storyboards from SMIL manifests (#1128)Felix S
Authored by: fstirlitz