aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/utils.py
Commit message (Collapse)AuthorAgeFilesLines
...
* [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
|
* [extractor/archiveorg] Improve handling of formats (#4461)coletdjnz2022-07-291-0/+1
| | | | | | | * 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
* [youtube,twitch] Allow waiting for channels to become livepukkandan2022-07-261-0/+8
| | | | Closes #2597
* Reject entire playlists faster with `--match-filter`pukkandan2022-07-261-1/+1
| | | | | | Rejected based on `playlist_id` etc can be checked before any entries are extracted Related: #4383
* Remove Python 3.6 supportpukkandan2022-07-181-1/+2
| | | | Closes #3764
* Fix a904a7f8c6edc42046f0a78fb279739d500d4887pukkandan2022-07-151-24/+7
|
* Allow users to specify encoding in each config files (#4357)Lesmiscore2022-07-151-10/+52
| | | Authored by: Lesmiscore
* [utils] Fix `get_domain`pukkandan2022-07-131-1/+5
| | | | | | Bug in ae61d108dd83a951b6e8a27e1fb969682416150d Closes #4344
* [utils, cleanup] Refactor parse_codecspukkandan2022-07-111-18/+17
|
* [cleanup] Misc cleanuppukkandan2022-07-091-7/+16
|
* Do not load system certificates when `certifi` is usedpukkandan2022-07-071-11/+12
| | | | | | | | | This causes `CERTIFICATE_VERIFY_FAILED` if there is an expired/bad certificate in the system store Partially reverts 8a82af3511b4379af0d239dbd01c672c17a2c46a Related: #4145
* [options] Fix aliases to `--config-location`pukkandan2022-07-011-6/+9
|
* Fix bug in 612f2be5d3924540158dfbe5f25d841f04cff8c6Lesmiscore2022-06-301-1/+1
|
* [cleanup] Misc cleanuppukkandan2022-06-291-5/+4
|
* [update] Ability to set a maximum version for specific variantspukkandan2022-06-291-6/+37
|
* [cleanup] Fix some typos (#4194)crazymoose777562022-06-261-1/+1
| | | Authored by: crazymoose77756
* [extractor] Fix `_create_request` when headers is Nonepukkandan2022-06-251-2/+2
| | | | Closes #4164
* [compat] Remove deprecated functions from core codepukkandan2022-06-251-47/+42
|
* [cleanup] Consistent style for file headspukkandan2022-06-251-3/+2
|
* [compat] Remove more functionspukkandan2022-06-251-65/+59
| | | | Removing any more will require changes to a large number of extractors
* [utils] Fix inconsistent default handling between HTTP and HTTPS requests ↵coletdev2022-06-241-1/+1
| | | | | | | | | (#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
* Fix playlist error handlingpukkandan2022-06-221-0/+2
| | | | Bug in 7e88d7d78f452ea69f06bbdf23f82e9ad7c3de5e
* [update] Expose more functionality to APIpukkandan2022-06-211-3/+4
|
* [utils] `ExtractorError`: Fix `exc_info`pukkandan2022-06-201-0/+2
|
* Bugfix for 7b2c3f47c6b586a208655fcfc716bba3f8619d1epukkandan2022-06-201-7/+7
|
* [cleanup] Miscpukkandan2022-06-201-29/+37
|
* [docs] Improvementspukkandan2022-06-201-1/+1
|
* [extractor/BiliIntl] Fix metadata extractionpukkandan2022-06-201-0/+4
| | | | Closes #4116
* Improve error handling of bad config filespukkandan2022-06-181-0/+2
| | | | Related: #824