aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/YoutubeDL.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Add field `original_url` with the user-inputted URLpukkandan2021-06-081-1/+2
| | | | | | So that they can be processed by `--parse-metadata` for example `webpage_url` is the same, but may be modified by the extractor
* Make more fields available for `--print` when used with `--flat-playlist`pukkandan2021-06-081-1/+5
|
* Fix filename sanitizationpukkandan2021-06-061-1/+1
| | | | Bug from 752cda3880f30a46bed1d27b69188ab93ad1a368
* Fix and refactor `prepare_outtmpl`pukkandan2021-06-061-101/+80
| | | | | | | | | | The following tests would have failed previously: %(id)d %(id)r %(ext)s-%(ext|def)d %(width|)d %(id)r %(height)r %(formats.0)r %s
* [cleanup] Point all shebang to `python3` (#372)felix2021-06-061-1/+1
| | | | Authored by: fstirlitz
* [embedthumbnail] Embed if any thumbnail was downloaded, not just the bestpukkandan2021-05-291-1/+2
|
* Remove `None` values from `info.json`pukkandan2021-05-291-10/+11
|
* Write messages to `stderr` when both `quiet` and `verbose`pukkandan2021-05-291-9/+5
|
* Pre-check archive and filters during playlist extractionpukkandan2021-05-291-2/+8
| | | | | This makes `--break-on-existing` much faster. It also helps `--break-on-reject` if the playlist extractor can extract the relevant fields
* Refactor `__process_playlist` using `LazyList`pukkandan2021-05-291-47/+31
|
* [cleanup] `_match_entry`pukkandan2021-05-291-10/+12
|
* [cleanup] Refactor updaterpukkandan2021-05-261-1/+2
| | | | | The updater now uses `.update.run_update` and not `.update.update_self`. Although I don't expect anyone to be using the updater via API, a wrapper `update_self` is provided for compatibility just in case
* Sanitize and sort playlist thumbnailspukkandan2021-05-231-18/+24
| | | | Closes #341
* [ffmpeg] Download and merge in a single step if possiblepukkandan2021-05-231-35/+56
|
* [cleanup] See descpukkandan2021-05-201-1/+1
| | | | | | * Remove struct from `embedthumbnail` * Use bullet lists in readme where numbered list don't make sense * Fix error introduced in 9c2b75b5616f058c3970e54c664e9543f86b9f0c when `ie_result` is `None`
* Field `additional_urls` to download additional videos from metadatapukkandan2021-05-191-1/+16
|
* Ensure `post_extract` and `pre_process` only run oncepukkandan2021-05-191-3/+12
| | | | Previously, they ran once for each format requested
* [cleanup] linter, code formatting and readmepukkandan2021-05-191-17/+10
|
* [youtube] Always extract `maxresdefault` thumbnailpukkandan2021-05-181-1/+2
| | | | Fixes: https://github.com/ytdl-org/youtube-dl/issues/29049
* [extractor] Add `write_debug` and `get_param`pukkandan2021-05-171-4/+4
|
* Write thumbnail of playlistpukkandan2021-05-171-0/+3
| | | | | Related: https://github.com/ytdl-org/youtube-dl/pull/28872, https://github.com/ytdl-org/youtube-dl/pull/28860 This is slightly different from the above PRs in that this downloads the playlist's thumbnail instead of the uploader's profile picture. But for youtube channel URLs these are the same
* Fix bug in listing subtitlespukkandan2021-05-171-2/+2
| | | | Bug introduced by: 2412044c90ef3d122eab0b195aaa0f5b2ab27394
* Add field `name` for subtitlespukkandan2021-05-151-3/+10
| | | | | | Co-authored by: pukkandan, tpikonen Based on: #310, https://github.com/ytdl-org/youtube-dl/pull/26112
* Fix `--check-formats` when there is network errorpukkandan2021-05-151-4/+8
|
* Add option `--print`pukkandan2021-05-141-20/+32
| | | | | Deprecates: `--get-description`, `--get-duration`, `--get-filename`, `--get-format`, `--get-id`, `--get-thumbnail`, `--get-title`, `--get-url` Closes #295
* [options] Refactor callbackspukkandan2021-05-141-0/+1
|
* Standardize `write_debug`pukkandan2021-05-141-14/+20
|
* [cleanup] Fix typospukkandan2021-05-111-1/+1
|
* Add compat-option `no-attach-infojson`pukkandan2021-05-111-1/+1
|
* Option `--compat-options` to revert some of yt-dlp's changespukkandan2021-05-111-8/+20
| | | | * Deprecates `--list-formats-as-table`, `--list-formats-old`
* Deprecate support for python versions < 3.6pukkandan2021-05-091-0/+5
| | | | Closes #267
* Update to ytdl-commit-a726009pukkandan2021-05-061-5/+14
| | | | | [blinkx] Remove extractor https://github.com/ytdl-org/youtube-dl/commit/a7260099873acc6dc7d76cafad2f6b139087afd0
* Fix `playlist_index` and add `playlist_autonumber` (#302)pukkandan2021-05-061-3/+10
| | | Now `playlist_index` is always the position of the video in the actual playlist and `playlist_autonumber` is the position of the item in the playlist queue
* 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`