aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/YoutubeDL.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add experimental option `--check-formats` to test the URLs before format ↵pukkandan2021-05-061-28/+66
| | | | | | | | selection
| * Improve output template internal formattingpukkandan2021-05-061-23/+61
| | | | | | | | | | | | | | * Allow slicing lists/strings using `field.start:end:step` * A field can also be used as offset like `field1+num+field2` * A default value can be given using `field|default` * Capture all format strings and set it to `None` if invalid. This prevents invalid fields from causing errors
| * [downloader] Fix `quiet` and `to_stderr`pukkandan2021-05-041-3/+5
| |
| * [utils] Add `network_exceptions`pukkandan2021-05-041-5/+4
| |
| * Fix number of digits in `%(playlist_index)s`pukkandan2021-05-031-1/+2
| | | | | | | | When used with `--playlist-(items|start|end)`, the number of digits should depend on the last index in the playlist, not number of items
| * Move option warnings to `YoutubeDL`pukkandan2021-05-031-4/+7
| | | | | | | | Previously, these warnings did not obey `--no-warnings` and did not output colors
| * Fix `preload_download_archive` writing verbose message to `stdout`pukkandan2021-05-031-22/+20
| | | | | | | | * And move it after all deprecated warnings
| * Revert "[core] be able to hand over id and title using url_result"pukkandan2021-04-281-9/+4
| | | | | | | | | | | | | | | | | | This reverts commit 0704d2224b328caeafbce6a029904472628d12bd. This is a commit from `youtube-dlc`. It is not clear what the original purpose of this was. It seems to be a way for extractors to pass `title` and `id` through when the entry is processed by another extractor * But `title` can already be passed through using `url_transparent` * `id` is never supposed to be passed through since it could cause issues with archiving
| * Fix case sensitivity of format selectorpukkandan2021-04-261-1/+1
| | | | | | | | Bug introduced in f8d4ad9ab00bca71808cd769c04806f51c3578f0
| * Improve output template (see desc)pukkandan2021-04-221-23/+36
| | | | | | | | | | | | * Objects can be traversed like `%(field.key1.key2)s` * A number can be added to the field as `%(field+n)s` * Deprecates `--autonumber-start`
| * Add option `--skip-playlist-after-errors`pukkandan2021-04-221-0/+10
| | | | | | | | Allows to skip the rest of a playlist after a given number of errors are encountered
| * Improve --sub-langs (see desc)pukkandan2021-04-201-9/+26
| | | | | | | | | | | | | | | | * Treat `--sub-langs` entries as regex * `all` can be used to refer to all the subtitles * the language code can be prefixed with `-` to exclude it * Deprecates `--all-subs` Closes #253
| * Add option `--ignore-no-formats-error`pukkandan2021-04-171-11/+25
| | | | | | | | | | * Ignores the "no video format" and similar errors * Experimental - Some extractors may still throw these errors
| * Ensure `mergeall` selects best format when multistreams are disabledpukkandan2021-04-131-2/+2
| |
| * Allow running some `postprocessors` before actual downloadpukkandan2021-04-121-49/+34
| |
| * Fix `mergeall` when requested formats are unavailablepukkandan2021-04-101-1/+3
| |
| * Option to choose different downloader for different protocolspukkandan2021-04-101-6/+18
| | | | | | | | | | | | | | | | | | * Renamed `--external-downloader-args` to `--downloader-args` * Added `native` as an option for the downloader * Use similar syntax to `--downloader-args` etc. Eg: `--downloader dash:native --downloader aria2c` * Deprecated `--hls-prefer-native` and `--hls-prefer-ffmpeg` since the same can now be done with `--downloader "m3u8:native"` and `m3u8:ffmpeg` respectively * Split `frag_urls` protocol into `m3u8_frag_urls` and `dash_frag_urls` * Standardize shortening of protocol names with `downloader.shorten_protocol_name`
| * Format selector `mergeall` to download and merge all formatspukkandan2021-04-101-61/+69
| |
| * Ability to select nth best formatpukkandan2021-04-021-16/+23
| | | | | | | | | | | | Eg: -f `bv*.2` * Also cleaned up the related format selection code
| * Fix some typos and linterpukkandan2021-04-011-2/+2
| |
| * Parse metadata from multiple fieldspukkandan2021-03-251-82/+82
| | | | | | | | Closes #196
| * Ability to load playlist infojsonpukkandan2021-03-241-63/+75
| | | | | | | | | | | | | | * If `--no-clean-infojson` is given, the video ids are saved/loaded from in the infojson along with their playlist index * If a video entry that was not saved is requested, we fallback to using `webpage_url` to re-extract the entries Related: https://github.com/yt-dlp/yt-dlp/issues/190#issuecomment-804921024
| * Write current epoch to infojson when using `--no-clean-infojson`pukkandan2021-03-241-0/+1
| | | | | | | | Closes #191
| * Merge webm formats into mkv if thumbnails are to be embedded (#173)pukkandan2021-03-201-4/+11
| | | | | | | | Co-authored by: Damiano Amatruda <damiano.amatruda@outlook.com>
| * Parse resolution in info dictionary (#173)Damiano Amatruda2021-03-201-7/+6
| |
| * Use headers and cookies when downloading subtitles (#173)Damiano Amatruda2021-03-201-1/+4
| |
| * Make sure `post_hook` gets the final filenamepukkandan2021-03-201-2/+3
| |
| * fix some typos and linterpukkandan2021-03-181-3/+3
| |
| * Option to keep private keys in the infojsonpukkandan2021-03-181-5/+8
| | | | | | | | | | | | Options: --clean-infojson, --no-clean-infojson Related: https://github.com/yt-dlp/yt-dlp/issues/42#issuecomment-800778391
| * Recursively remove private keys from infojsonpukkandan2021-03-181-5/+10
| | | | | | | | Related: https://github.com/yt-dlp/yt-dlp/issues/42
| * [movefiles] Fix bugs and make more robustpukkandan2021-03-181-15/+22
| |
| * Update to ytdl-commit-3be0980pukkandan2021-03-151-8/+12
| | | | | | | | https://github.com/ytdl-org/youtube-dl/commit/3be098010f667b14075e3dfad1e74e5e2becc8ea
| * Refactor (See desc)pukkandan2021-03-141-14/+11
| | | | | | | | | | | | * Create `FFmpegPostProcessor.real_run_ffmpeg` that can accept multiple input/output files along with switches for each * Rewrite `cli_configuration_args` and related functions * Create `YoutubeDL._ensure_dir_exists` - this was previously defined in multiple places
| * More improvements to HLS/DASH external downloader codepukkandan2021-03-111-1/+2
| | | | | | | | | | | | | | * Fix error when there is no `protocol` in `info_dict` * Move HLS byte range detection to `Aria2cFD` so that the download will fall back to the native downloader instead of ffmpeg * Fix bug with getting no fragments in DASH * Convert `check_results` in `can_download` to a generator
| * Improve HLS/DASH external downloader code (#162)shirt-dev2021-03-101-3/+1
| | | | | | Authored by: shirt
| * Release 2021.03.01pukkandan2021-03-011-1/+1
| |
| * Add option `--extractor-retries` to retry on known extractor errorspukkandan2021-03-011-8/+9
| | | | | | | | | | | | | | * Currently only used by youtube Fixes https://github.com/ytdl-org/youtube-dl/issues/28194 Possibly also fixes: https://github.com/ytdl-org/youtube-dl/issues/28289 (can not confirm since the issue isn't reliably reproducible)
| * Extract comments only when needed #95 (Closes #94)pukkandan2021-02-281-0/+21
| |
| * Add option `--sleep-requests` to sleep b/w requests (Closes #106)pukkandan2021-02-271-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Also fix documentation of `sleep_interval_subtitles` Related issues: https://github.com/blackjack4494/yt-dlc/issues/158 https://github.com/blackjack4494/youtube-dlc/issues/195 https://github.com/ytdl-org/youtube-dl/pull/28270 https://github.com/ytdl-org/youtube-dl/pull/28144 https://github.com/ytdl-org/youtube-dl/issues/27767 https://github.com/ytdl-org/youtube-dl/issues/23638 https://github.com/ytdl-org/youtube-dl/issues/26287 https://github.com/ytdl-org/youtube-dl/issues/26319
| * Completely change project name to yt-dlp (#85)Pccode662021-02-251-0/+2957
| | | | | | | | | * All modules and binary names are changed * All documentation references changed * yt-dlp no longer loads youtube-dlc config files * All URLs changed to point to organization account Co-authored-by: Pccode66 Co-authored-by: pukkandan
* fix call update moduleJesús2021-10-181-2/+0
|
* update from upstreamJesús2021-10-181-0/+3552