aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* [downloader/aria2c] Native progress for aria2c via RPC (#3724)Lesmiscore2023-01-021-0/+9
| | | | | Authored by: Lesmiscore, pukkandan Closes #2038
* [utils] `get_exe_version`: Detect broken executablespukkandan2023-01-011-4/+10
| | | | | Authored by: dirkf, pukkandan Closes #5561
* Improve plugin architecture (#5553)Matthew2023-01-011-17/+38
| | | | | | | | | | | | | | | | | to make plugins easier to develop and use: * Plugins are now loaded as namespace packages. * Plugins can be loaded in any distribution of yt-dlp (binary, pip, source, etc.). * Plugin packages can be installed and managed via pip, or dropped into any of the documented locations. * Users do not need to edit any code files to install plugins. * Backwards-compatible with previous plugin architecture. As a side-effect, yt-dlp will now search in a few more locations for config files. Closes https://github.com/yt-dlp/yt-dlp/issues/1389 Authored by: flashdagger, coletdjnz, pukkandan, Grub4K Co-authored-by: Marcel <flashdagger@googlemail.com> Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com> Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
* Add `weba` to known extensionspukkandan2022-12-301-5/+5
|
* [utils] js_to_json: Fix bug in f55523c (#5771)ChillingPepper2022-12-301-1/+7
| | | Authored by: ChillingPepper, pukkandan
* Add pre-processor stage `video`pukkandan2022-12-301-1/+1
| | | | Related: #456, #5808
* [extractor/wistia] Improve extension detection (#5415)bashonly2022-12-291-44/+76
| | | | Closes #5053 Authored by: bashonly, Grub4k, pukkandan
* Deprioritize HEVC-over-FLV formats (#5823)Lesmiscore2022-12-191-0/+6
| | | Authored by: Lesmiscore
* Add `ac4` to known codecspukkandan2022-12-091-3/+3
| | | | | | Note: ffmpeg does not currently support this format Related #5738
* [utils] windows_enable_vt_mode: Proper implementationpukkandan2022-12-051-8/+30
| | | | Authored by: Grub4K
* [cleanup] Miscpukkandan2022-12-031-1/+4
|
* [utils] Make `ExtractorError` mutablepukkandan2022-11-301-6/+15
|
* [FormatSort] Add `mov` to `vext`pukkandan2022-11-191-2/+2
| | | | Closes #5581
* [utils] Move format sorting code into `utils`pukkandan2022-11-171-0/+286
|
* [utils] Move `FileDownloader.parse_bytes` into utilspukkandan2022-11-171-5/+14
|
* [cleanup] Miscpukkandan2022-11-161-1/+1
| | | | Closes #5541
* [utils] `classproperty`: Add cache supportpukkandan2022-11-131-3/+12
|
* Fix bugs in `PlaylistEntries`pukkandan2022-11-121-3/+3
|
* [cleanup] MiscRobert Geislinger2022-11-111-3/+1
| | | | | | Closes #5471, Closes #5312 Authored by: pukkandan, Alienmaster
* [build] Create armv7l and aarch64 releases (#5449)MrOctopus2022-11-111-1/+2
| | | | Closes #5436 Authored by: MrOctopus, pukkandan
* [extractor/bitchute] Improve `BitChuteChannelIE` (#5066)MMM2022-11-091-0/+2
| | | Authored by: flashdagger, pukkandan
* [cleanup] Lint and misc cleanuppukkandan2022-11-071-0/+1
|
* Update to ytdl-commit-de39d128pukkandan2022-11-071-1/+2
| | | | | | | [extractor/ceskatelevize] Back-port extractor from yt-dlp https://github.com/ytdl-org/youtube-dl/commit/de39d1281cea499cb1adfce5ff7e0a56f1bad5fe Closes #5361, Closes #4634, Closes #5210
* Do not backport Python 3.10 SSL configuration for LibreSSL (#5464)Matthew2022-11-061-1/+8
| | | | | | | Until further investigation. Fixes regression in https://github.com/yt-dlp/yt-dlp/commit/5b9f253fa0aee996cf1ed30185d4b502e00609c4 Authored by: coletdjnz
* [extractor/telegram] Add playlist support and more metadata (#5358)bashonly2022-11-061-2/+2
| | | Authored by: bashonly, bsun0000
* [extractor/epoch] Support videos without data-trailer (#5387)Richard Gibson2022-11-061-0/+1
| | | | Closes #5359 Authored by: gibson042, pukkandan
* Backport SSL configuration from Python 3.10 (#5437)Matthew2022-11-061-2/+15
| | | | | Partial fix for https://github.com/yt-dlp/yt-dlp/pull/5294#issuecomment-1289363572, https://github.com/yt-dlp/yt-dlp/issues/4627 Authored by: coletdjnz
* [extractor/agora] Add extractors (#5101)lauren2022-11-041-0/+5
| | | Authored by: selfisekai
* [cleanup Miscpukkandan2022-10-181-5/+3
| | | | Closes #5162
* [utils] `js_to_json`: Improve escape handling (#5217)Simon Sawicki2022-10-131-27/+34
| | | Authored by: Grub4K
* [utils] `strftime_or_none`: Workaround Python bug on Windowspukkandan2022-10-111-1/+3
| | | | CLoses #5185
* [extractors/podbayfm] Add extractor (#4971)schnusch2022-10-111-1/+2
| | | Authored by: schnusch
* [extractor/wordpress:mb.miniAudioPlayer] Add embed extractor (#5087)Matthew2022-10-091-2/+2
| | | | | Closes https://github.com/yt-dlp/yt-dlp/issues/4994 Authored by: coletdjnz
* [utils] `traverse_obj`: Allow `re.Match` objects (#5174)Simon Sawicki2022-10-091-3/+19
| | | Authored by: Grub4K
* [utils] `traverse_obj`: Always return list when branching (#5170)Simon Sawicki2022-10-091-8/+14
| | | | Fixes #5162 Authored by: Grub4K
* [cleanup] Misc (#5044)gamer1912022-10-041-4/+4
| | | Authored by: gamer191, pukkandan
* [downloader/ism] Support ec-3 codec (#5004)nixxo2022-09-301-1/+1
| | | | Closes #296 Authored by: nixxo
* [cleanup] Fix flake8 and minor refactorpukkandan2022-09-271-11/+11
| | | | Issues from ab029d7e9200a273d7204be68c0735b16971ff44, 1fb53b946c5aca3755bf72cc1c204925043b04f7
* [extractor] Improve json+ld extractionpukkandan2022-09-271-1/+1
| | | | Related #5035
* Don't download entire video when no matching `--download-sections`pukkandan2022-09-261-0/+3
|
* [utils] `Popen.run`: Fix default return in binary modepukkandan2022-09-261-1/+2
|
* [utils] `traverse_obj`: Rewrite, document and add tests (#5024)Simon Sawicki2022-09-261-107/+150
| | | Authored by: Grub4K
* [utils] `js_to_json`: Improvepukkandan2022-09-231-1/+2
| | | | Closes #4900
* [docs] Misc improvementspukkandan2022-09-221-4/+9
| | | | Closes #4987, Closes #4906, Closes #4919, Closes #4977, Closes #4979
* Workaround `libc_ver` not be available on Windows Store version of Pythonpukkandan2022-09-171-1/+4
|
* [outtmpl] Make `%s` work in strfformat for all systemspukkandan2022-09-171-0/+2
|
* Improve 5736d79172c47ff84740d5720467370a560febadpukkandan2022-09-171-1/+1
|
* Fix `--config-location -`pukkandan2022-09-131-0/+3
|
* [cleanup] Miscpukkandan2022-09-101-1/+1
|
* Fix bug in ae1035646a6be09c2aed3e22eb8910f341ddacfepukkandan2022-09-101-6/+6
| | | | Closes #4881