aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/utils.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* [docs] Improvementspukkandan2022-09-071-1/+1
| | | | | | | * Move detailed installation instructions to https://github.com/yt-dlp/yt-dlp/wiki/Installation * Link to wiki where applicable * Fix some mistakes. Closes #4853, Closes #4855, Closes #4852 * Improve some error messages
* [utils] `base_url`: URL paths can contain `&` (#4841)Elyse2022-09-041-1/+1
| | | | Authored by: elyse0 Closes #4187
* [outtmpl] Curly braces to filter keyspukkandan2022-09-031-3/+10
|
* Restore LD_LIBRARY_PATH when using PyInstaller (#4666)Lesmiscore2022-08-311-2/+25
| | | Authored by: Lesmiscore
* [utils] Add `deprecation_warning`pukkandan2022-08-301-7/+24
| | | | See https://github.com/yt-dlp/yt-dlp/pull/2173#issuecomment-1097021515
* [utils] Add orderedSet_from_optionspukkandan2022-08-241-0/+30
|
* [jsinterp] Implement timeoutpukkandan2022-08-221-2/+2
| | | | Workaround for #4716
* [youtube] Fix error reporting of "Incomplete data"pukkandan2022-08-161-1/+1
| | | | Related: #4669
* [utils] Fix `get_compatible_ext`pukkandan2022-08-141-2/+2
| | | | Closes #4647
* [docs] Consistent use of `e.g.` (#4643)Lesmiscore2022-08-141-3/+3
| | | Authored by: Lesmiscore
* [jsinterp] Handle new youtube signature functionspukkandan2022-08-141-5/+24
| | | | Closes #4635
* [jsinterp] Truncate error messagespukkandan2022-08-121-0/+7
| | | | Related: #4635
* [outtmpl] Smarter replacing of unsupported characterspukkandan2022-08-041-0/+6
| | | | Closes #1330
* Fix bug in be5c1ae86202be54225d376756f5d9f0bf8f392apukkandan2022-08-041-1/+1
|
* Determine merge container better (See desc) (#1482)Lauren N. Liberda2022-08-041-0/+40
| | | | | | | | * Determine the container early. Closes #4069 * Use codecs instead of just file extensions * Obey `--prefer-free-formats` * Allow fallbacks in `--merge-output` Authored by: pukkandan, selfisekai
* Import ctypes only when necessarypukkandan2022-08-031-4/+5
| | | | Closes #4541
* Minor bugfixespukkandan2022-08-021-0/+5
|
* Standardize retry mechanism (#1649)pukkandan2022-08-021-0/+57
| | | | | | | * [utils] Create `RetryManager` * Migrate all retries to use the manager * [extractor] Add wrapper methods for convenience * Standardize console messages for retries * Add `--retry-sleep` for extractors
* [extractor] Framework for embed detection (#4307)pukkandan2022-08-021-2/+2
|
* [extractor/rai] Add raisudtirol extractor (#4524)nixxo2022-08-021-0/+1
| | | | Closes #4206 Authored by: nixxo
* [utils] sanitize_open: Allow any IO stream as stdoutpukkandan2022-07-311-1/+3
| | | | Fixes: https://github.com/yt-dlp/yt-dlp/issues/3298#issuecomment-1181754989
* [utils, cleanup] Consolidate known media extensionspukkandan2022-07-311-16/+16
|