]>
jfr.im git - yt-dlp.git/log
pukkandan [Fri, 28 May 2021 16:38:01 +0000 (22:08 +0530)]
Pre-check archive and filters during playlist extraction
This makes `--break-on-existing` much faster.
It also helps `--break-on-reject` if the playlist extractor can extract the relevant fields
pukkandan [Fri, 28 May 2021 16:37:11 +0000 (22:07 +0530)]
Refactor `__process_playlist` using `LazyList`
pukkandan [Mon, 17 May 2021 13:44:20 +0000 (19:14 +0530)]
[utils] Add `__getitem__` for `PagedList`
pukkandan [Fri, 28 May 2021 16:49:13 +0000 (22:19 +0530)]
[utils] Add `LazyList`
pukkandan [Fri, 28 May 2021 20:42:07 +0000 (02:12 +0530)]
[cleanup] `_match_entry`
rhsmachine [Thu, 27 May 2021 16:44:43 +0000 (22:14 +0530)]
[patreon] Support vimeo embeds (#349)
Authored by: rhsmachine
pukkandan [Sat, 22 May 2021 18:28:11 +0000 (23:58 +0530)]
[extractor] Always prefer native hls downloader by default
When the manifest is not downloadable by native downloader, it already is able to detect it and switch to `ffmpeg`. So there doesn't seem to be a reason anymore to use ffmpeg as the preferred downloader
pukkandan [Tue, 25 May 2021 19:43:34 +0000 (01:13 +0530)]
[update] Replace self without launching a subprocess in windows
Closes: #335, https://github.com/ytdl-org/youtube-dl/issues/28488, https://github.com/ytdl-org/youtube-dl/issues/5810, https://github.com/ytdl-org/youtube-dl/issues/5994
In windows, a running executable cannot be replaced. So, the old updater worked by launching a batch script and then exiting, so that the batch script can replace the executable. However, this caused the above-mentioned issues.
The new method takes advantage of the fact that while the executable cannot be replaced or deleted, it can still be renamed. The current update process on windows is as follows:
1. Delete `yt-dlp.exe.old` if it exists
2. Download the new version as `yt-dlp.exe.new`
3. Rename the running exe to `yt-dlp.exe.old`
4. Rename `yt-dlp.exe.new` to `yt-dlp.exe`
5. Open a shell that deletes `yt-dlp.exe.old` and terminate
While we still use a subprocess, the actual update is already done before the app terminates and the batch script does not print anything to stdout/stderr. So this solves all the above issues
pukkandan [Tue, 25 May 2021 19:43:08 +0000 (01:13 +0530)]
[cleanup] Refactor updater
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
Hubert Hirtz [Mon, 19 Apr 2021 12:07:45 +0000 (14:07 +0200)]
Handle Basic Auth `user:pass` in URLs
Fixes https://github.com/ytdl-org/youtube-dl/issues/20258, https://github.com/ytdl-org/youtube-dl/issues/26211
Authored by: hhirtz, pukkandan
Oliver Freyermuth [Sun, 23 May 2021 17:17:21 +0000 (19:17 +0200)]
[ard] Allow URLs without `-` before id
https://github.com/ytdl-org/youtube-dl/pull/29091
Authored by: olifre
pukkandan [Sun, 23 May 2021 16:59:28 +0000 (22:29 +0530)]
[extractor] Skip subtitles without URI in m3u8 manifests
Closes #339
Authored by: hheimbuerger
pukkandan [Sun, 23 May 2021 16:46:35 +0000 (22:16 +0530)]
[embedthumbnail] Embed in `mp4`/`m4a` using mutagen
Code from: https://github.com/ytdl-org/youtube-dl/pull/23525
Co-authored by: tripulse , pukkandan
Ashish [Sun, 23 May 2021 15:56:27 +0000 (21:26 +0530)]
[Sonyliv] Add subtitle support (#342)
Authored by: Ashish0804
pukkandan [Sun, 23 May 2021 11:58:15 +0000 (17:28 +0530)]
Sanitize and sort playlist thumbnails
Closes #341
Ashish [Sun, 23 May 2021 07:12:50 +0000 (12:42 +0530)]
[ShemarooMe] Add extractor (#332)
Closes #307
Co-authored-by: Ashish0804, pukkandan
pukkandan [Sat, 22 May 2021 22:17:44 +0000 (03:47 +0530)]
[ffmpeg] Download and merge in a single step if possible
pukkandan [Sat, 22 May 2021 21:38:11 +0000 (03:08 +0530)]
[youtube] Fix bug where not all hls formats were extracted
Bug introduced in
9297939ec358f24678b566b2bd2211c51f9f99ed
Ashish [Sat, 22 May 2021 12:23:06 +0000 (17:53 +0530)]
[SonyLIV] Add SonyLIVSeriesIE (#331)
Authored by: Ashish0804
king-millez [Sat, 22 May 2021 11:47:49 +0000 (21:47 +1000)]
[telemundo] add extractor (#327)
Closes #284
Authored by: king-millez
pukkandan [Sat, 22 May 2021 08:24:12 +0000 (13:54 +0530)]
[cleanup] Refactor ffmpeg convertors
pukkandan [Sat, 22 May 2021 07:38:12 +0000 (13:08 +0530)]
[videoconvertor] Generalize with remuxer and allow conditional recoding
louie-github [Fri, 21 May 2021 18:09:48 +0000 (02:09 +0800)]
[ThumbnailsConvertor] Support conversion to `png` and make it the default (#333)
PNG, being a lossless format, should be a better default here compared to JPG since we won't be compressing to a lossy format and losing some of the original image data
PNG is also supported for embedding in all the formats similar to JPEG
Authored by: louie-github
pukkandan [Fri, 21 May 2021 14:34:30 +0000 (20:04 +0530)]
[youtube] `/live` URLs should raise error if channel is not live
Fixes: https://github.com/ytdl-org/youtube-dl/issues/29090
pukkandan [Thu, 20 May 2021 15:42:30 +0000 (21:12 +0530)]
[version] update
:ci skip all
shirt [Thu, 20 May 2021 15:17:07 +0000 (11:17 -0400)]
[build] Fix `pefile` version for x86
Authored by: shirt-dev
pukkandan [Thu, 20 May 2021 15:41:18 +0000 (21:11 +0530)]
Release 2021.05.20
pukkandan [Thu, 20 May 2021 15:38:49 +0000 (21:08 +0530)]
Update to ytdl-commit-
dfbbe29
[redbulltv] fix embed data extraction
https://github.com/ytdl-org/youtube-dl/commit/
dfbbe2902fc67f0f93ee47a8077c148055c67a9b
king-millez [Thu, 20 May 2021 13:05:37 +0000 (23:05 +1000)]
[parlview] Add extractor (#322)
Authored by: king-millez
pukkandan [Thu, 20 May 2021 12:32:58 +0000 (18:02 +0530)]
[cleanup] See desc
* 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`
pukkandan [Thu, 20 May 2021 11:25:57 +0000 (16:55 +0530)]
[embedthumbnail] Add `flac` support and refactor `mutagen` code
https://github.com/ytdl-org/youtube-dl/pull/28894, https://github.com/ytdl-org/youtube-dl/pull/24310
Authored by: tripulse
pukkandan [Thu, 20 May 2021 10:10:35 +0000 (15:40 +0530)]
[options] Alias `--write-comments`, `--no-write-comments`
Closes: #264
coletdjnz [Thu, 20 May 2021 10:12:53 +0000 (10:12 +0000)]
[youtube] Add `html5=1` param to `get_video_info` page requests (#329)
Workaround for #319, https://github.com/ytdl-org/youtube-dl/issues/29086
Authored by: colethedj
pukkandan [Wed, 19 May 2021 13:41:44 +0000 (19:11 +0530)]
[youtube] Better message when login required
king-millez [Thu, 20 May 2021 08:28:52 +0000 (18:28 +1000)]
[audius:artist] Add extractor (#323)
Authored by: king-millez
pukkandan [Mon, 17 May 2021 19:41:57 +0000 (01:11 +0530)]
[youtube] Sort audio-only formats correctly
Closes #317
pukkandan [Tue, 18 May 2021 18:20:29 +0000 (23:50 +0530)]
Field `additional_urls` to download additional videos from metadata
pukkandan [Wed, 19 May 2021 12:04:17 +0000 (17:34 +0530)]
[downloader] Fix `write_debug`
pukkandan [Tue, 18 May 2021 18:25:32 +0000 (23:55 +0530)]
[test] Fix `test_YoutubeDL.TestYoutubeDL`
Test `test_ignoreerrors_for_playlist_with_url_transparent_iterable_entries` was broken due to `__original_infodict` being added to the dict
pukkandan [Tue, 18 May 2021 18:25:32 +0000 (23:55 +0530)]
Ensure `post_extract` and `pre_process` only run once
Previously, they ran once for each format requested
pukkandan [Tue, 18 May 2021 18:20:59 +0000 (23:50 +0530)]
[cleanup] linter, code formatting and readme
king-millez [Wed, 19 May 2021 11:13:34 +0000 (21:13 +1000)]
[tenplay] Fix extractor (#314)
Authored by: king-millez
pukkandan [Tue, 18 May 2021 13:45:11 +0000 (19:15 +0530)]
[youtube] Always extract `maxresdefault` thumbnail
Fixes: https://github.com/ytdl-org/youtube-dl/issues/29049
pukkandan [Mon, 17 May 2021 13:07:58 +0000 (18:37 +0530)]
[youtube:tab] Support youtube music `MP` pages
pukkandan [Tue, 18 May 2021 13:02:46 +0000 (18:32 +0530)]
[youtube:tab] Redirect `UC` channels that doesn't have a `videos` tab
Many topic URLs don't have a videos tab, but has an equivalent `UU` playlist.
If there is no playlist, fallback to using channel page
pukkandan [Tue, 18 May 2021 14:01:06 +0000 (19:31 +0530)]
[youtube:tab] Support youtube music `VL` and `browse` pages
pukkandan [Tue, 18 May 2021 14:00:21 +0000 (19:30 +0530)]
[youtube:tab] Support channel search
Fixes: https://github.com/ytdl-org/youtube-dl/issues/29071
pukkandan [Tue, 18 May 2021 12:29:15 +0000 (17:59 +0530)]
[cleanup] youtube tests
pukkandan [Mon, 17 May 2021 13:00:50 +0000 (18:30 +0530)]
[youtube:tab] Show alerts only from the final webpage
pukkandan [Tue, 18 May 2021 12:27:26 +0000 (17:57 +0530)]
[test:download] Only extract enough videos for `playlist_mincount`
pukkandan [Mon, 17 May 2021 20:10:21 +0000 (01:40 +0530)]
Add `pl_thumbnail` outtmpl key for playlist thumbnails
This should have been implemented in
681de68e9df67f07dde3fbbc6cb2e65a78b2bb16 , but I forgot
pukkandan [Mon, 17 May 2021 12:23:08 +0000 (17:53 +0530)]
[extractor] Add `write_debug` and `get_param`
pukkandan [Mon, 17 May 2021 11:45:33 +0000 (17:15 +0530)]
Write thumbnail of playlist
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
pukkandan [Mon, 17 May 2021 10:41:07 +0000 (16:11 +0530)]
Fix bug in listing subtitles
Bug introduced by:
2412044c90ef3d122eab0b195aaa0f5b2ab27394
coletdjnz [Sat, 15 May 2021 14:38:47 +0000 (02:38 +1200)]
[Youtube] Extract more formats for `music.youtube` URLs (#311)
Based on: https://github.com/ytdl-org/youtube-dl/pull/28778, https://github.com/ytdl-org/youtube-dl/pull/26160
Co-authored-by: craftingmod, colethedj, pukkandan
pukkandan [Thu, 13 May 2021 11:19:40 +0000 (16:49 +0530)]
[youtube] Add language names
Co-authored by: nixxo, tpikonen
Based on: https://github.com/ytdl-org/youtube-dl/pull/26112
Closes: #310
pukkandan [Wed, 12 May 2021 19:37:58 +0000 (01:07 +0530)]
Add field `name` for subtitles
Co-authored by: pukkandan, tpikonen
Based on: #310, https://github.com/ytdl-org/youtube-dl/pull/26112
pukkandan [Wed, 12 May 2021 19:20:02 +0000 (00:50 +0530)]
[youtube] multiple subtitles in same language
Fixes: https://github.com/ytdl-org/youtube-dl/issues/21164
Related: #310, https://github.com/ytdl-org/youtube-dl/pull/26112
pukkandan [Sat, 15 May 2021 13:42:26 +0000 (19:12 +0530)]
Fix `--check-formats` when there is network error
pukkandan [Thu, 13 May 2021 11:39:43 +0000 (17:09 +0530)]
[compat] Fix py2
pukkandan [Fri, 14 May 2021 07:01:53 +0000 (12:31 +0530)]
[youtube] Extract audio language
pukkandan [Fri, 14 May 2021 07:44:38 +0000 (13:14 +0530)]
Add option `--print`
Deprecates: `--get-description`, `--get-duration`, `--get-filename`, `--get-format`, `--get-id`, `--get-thumbnail`, `--get-title`, `--get-url`
Closes #295
pukkandan [Thu, 13 May 2021 12:21:22 +0000 (17:51 +0530)]
[options] Refactor callbacks
pukkandan [Fri, 14 May 2021 07:45:29 +0000 (13:15 +0530)]
Standardize `write_debug`
pukkandan [Tue, 11 May 2021 18:04:40 +0000 (23:34 +0530)]
[cleanup] Fix typos
pukkandan [Tue, 11 May 2021 17:59:05 +0000 (23:29 +0530)]
[common] bugfix for when `compat_opts` is not given
pukkandan [Tue, 11 May 2021 12:53:38 +0000 (18:23 +0530)]
[rmcdecouverte] Generalize `_VALID_URL`
Closes #291
pukkandan [Tue, 11 May 2021 08:55:31 +0000 (14:25 +0530)]
Add compat-option `no-attach-infojson`
pukkandan [Tue, 11 May 2021 08:06:27 +0000 (13:36 +0530)]
[version] update :ci skip all
pukkandan [Sat, 8 May 2021 21:25:05 +0000 (02:55 +0530)]
Release 2021.05.11
* and some documentation improvements
pukkandan [Tue, 11 May 2021 07:29:45 +0000 (12:59 +0530)]
[generic] Respect the encoding in manifest
pukkandan [Tue, 11 May 2021 08:00:48 +0000 (13:30 +0530)]
Option `--compat-options` to revert some of yt-dlp's changes
* Deprecates `--list-formats-as-table`, `--list-formats-old`
pukkandan [Sat, 8 May 2021 22:24:44 +0000 (03:54 +0530)]
Deprecate support for python versions < 3.6
Closes #267
pukkandan [Sat, 8 May 2021 15:21:43 +0000 (20:51 +0530)]
Remove `-l`, `-t`, `-A` completely and disable `--auto-number`, `--title`, `--literal`, `--id`
pukkandan [Sat, 8 May 2021 15:15:14 +0000 (20:45 +0530)]
[Plugins] Prioritize plugins over standard extractors
and prevent plugins from overwriting the standard extractor classes
Closes #304
pukkandan [Sat, 8 May 2021 18:12:25 +0000 (23:42 +0530)]
[fragment] Make sure first segment is not skipped
pukkandan [Thu, 6 May 2021 16:01:20 +0000 (21:31 +0530)]
Update to ytdl-commit-
a726009
[blinkx] Remove extractor
https://github.com/ytdl-org/youtube-dl/commit/
a7260099873acc6dc7d76cafad2f6b139087afd0
pukkandan [Thu, 6 May 2021 15:26:19 +0000 (20:56 +0530)]
Fix `playlist_index` and add `playlist_autonumber` (#302)
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
pukkandan [Tue, 4 May 2021 15:54:00 +0000 (21:24 +0530)]
Add experimental option `--check-formats` to test the URLs before format selection
pukkandan [Mon, 3 May 2021 17:06:03 +0000 (22:36 +0530)]
Improve output template internal formatting
* 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
pukkandan [Wed, 5 May 2021 18:53:19 +0000 (00:23 +0530)]
[plutotv] Fix format extraction for some urls
* And fallback to the first urls if ad-free urls can't be found
Closes #299
pukkandan [Wed, 5 May 2021 18:50:28 +0000 (00:20 +0530)]
[plutotv] Extract subtitles from manifests
Ashish [Thu, 6 May 2021 14:57:43 +0000 (20:27 +0530)]
[SonyLiv] Fix `title` and `series` extraction (#301)
Authored by: Ashish0804
pukkandan [Tue, 4 May 2021 15:39:36 +0000 (21:09 +0530)]
[downloader] Fix `quiet` and `to_stderr`
pukkandan [Tue, 4 May 2021 17:06:18 +0000 (22:36 +0530)]
[utils] Add `network_exceptions`
pukkandan [Tue, 4 May 2021 15:37:43 +0000 (21:07 +0530)]
[fragment] Ensure the file is closed on error
pukkandan [Tue, 4 May 2021 16:56:16 +0000 (22:26 +0530)]
[blinkx] Minor fix
Fixes: https://github.com/ytdl-org/youtube-dl/issues/28941
pukkandan [Tue, 4 May 2021 16:48:40 +0000 (22:18 +0530)]
[embedthumbnail] Fix bug where jpeg thumbnails were converted again
Closes #297
pukkandan [Mon, 3 May 2021 15:11:33 +0000 (20:41 +0530)]
Fix number of digits in `%(playlist_index)s`
When used with `--playlist-(items|start|end)`, the number of digits should depend on the last index in the playlist, not number of items
pukkandan [Mon, 3 May 2021 09:41:59 +0000 (15:11 +0530)]
Move option warnings to `YoutubeDL`
Previously, these warnings did not obey `--no-warnings` and did not output colors
pukkandan [Mon, 3 May 2021 10:31:20 +0000 (16:01 +0530)]
Fix `preload_download_archive` writing verbose message to `stdout`
* And move it after all deprecated warnings
pukkandan [Sun, 2 May 2021 18:18:35 +0000 (23:48 +0530)]
[zee5] Fix py2 compatibility
The Hatsune Daishi [Sun, 2 May 2021 14:13:37 +0000 (23:13 +0900)]
[whowatch] Add extractor #292
closes #223
Authored by: nao20010128nao
Modified from: https://github.com/nao20010128nao/ytdl-patched/blob/
9e4a0e061a558cdb05a618e27f47ca0ac56ece94 /youtube_dl/extractor/whowatch.py
pukkandan [Sat, 1 May 2021 15:58:30 +0000 (21:28 +0530)]
[aria2c] Fix whitespace being stripped off
Closes #276
pukkandan [Sat, 1 May 2021 15:59:42 +0000 (21:29 +0530)]
Do not strip out whitespaces in `-o` and `-P`
Related: https://github.com/yt-dlp/yt-dlp/issues/276#issuecomment-
827361652
pukkandan [Sat, 1 May 2021 13:47:04 +0000 (19:17 +0530)]
[ukcolumn] Add Extractor
Closes #287
pukkandan [Sat, 1 May 2021 13:11:37 +0000 (18:41 +0530)]
[CBS] Improve `_VALID_URL` to support movies
Closes #290
Tested by: BeeMuffins
pukkandan [Sat, 1 May 2021 13:11:48 +0000 (18:41 +0530)]
[youtube] Add `oembed` to reserved names
pukkandan [Sat, 1 May 2021 14:17:10 +0000 (19:47 +0530)]
[rmcdecouverte] Improve `_VALID_URL`
Closes #291
CXwudi [Sat, 1 May 2021 14:05:47 +0000 (10:05 -0400)]
[niconico] Fix bug in thumbnail extraction #289
Bug from:
6b1d8c1e3038e7f0977ad36027f9f3ff61d27f46
Authored by: CXwudi