]>
jfr.im git - yt-dlp.git/log
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
pukkandan [Wed, 28 Apr 2021 23:26:09 +0000 (04:56 +0530)]
[utils] Escape URL while sanitizing
Closes #263
While this fixes the issue in question, it does not try to address the root-cause of the problem
Refer:
915f911e365736227e134ad654601443dbfd7ccb ,
f5fa042c82300218a2d07b95dd6b9c0756745db3
pukkandan [Wed, 28 Apr 2021 23:19:44 +0000 (04:49 +0530)]
Revert "[utils] Encode URLs in `YoutubeDLCookieProcessor`"
This reverts commit
915f911e365736227e134ad654601443dbfd7ccb .
When the request is copied, `unredirected_hdrs` are not copied, which causes issues elsewhere
Reopens #263
pukkandan [Wed, 28 Apr 2021 23:49:06 +0000 (05:19 +0530)]
[crackle] Improve extraction (See desc)
Closes #282
* Refactor authorization as an extension to `_download_json`
* Better error messages and warnings
* Respect `--ignore-no-formats-error`
* Extract subtitles from manifests
* Try with crackle's geo-location service if all hard-coded countries fail
pukkandan [Wed, 28 Apr 2021 14:29:40 +0000 (19:59 +0530)]
[cleanup] Fix linter and some typos
* Also remove inconsistent use of `"` in setup.py
pukkandan [Wed, 28 Apr 2021 06:20:17 +0000 (11:50 +0530)]
[curiositystream] Fix collections
Closes #277
* A bug with authentication was reported in <https://github.com/yt-dlp/yt-dlp/issues/277#issuecomment-
828254721 > but cannot be tested without an account
pukkandan [Mon, 5 Apr 2021 07:41:21 +0000 (13:11 +0530)]
[niconico] Fix HLS formats
Closes #171
* The structure of the API JSON was changed
* Smile Video seems to be no longer available. So remove the warning
* Move ping to downloader
* Change heartbeat interval to 40sec
* Remove unnecessary API headers
Authored-by: CXwudi, tsukumijima, nao20010128nao, pukkandan
Tested by: tsukumijima
pukkandan [Tue, 27 Apr 2021 09:02:08 +0000 (14:32 +0530)]
Revert "[core] be able to hand over id and title using url_result"
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
pukkandan [Tue, 27 Apr 2021 06:03:58 +0000 (11:33 +0530)]
[youtube:tab] Detect playlists inside community posts
pukkandan [Mon, 26 Apr 2021 12:24:06 +0000 (17:54 +0530)]
[nebula] Move to nebula.app
Closes #272
Tested by: Lamieur
pukkandan [Wed, 28 Apr 2021 13:32:43 +0000 (19:02 +0530)]
Subtitle extraction from streaming media manifests #247
Authored by fstirlitz
Modified from: https://github.com/ytdl-org/youtube-dl/pull/6144
Closes: #73
Fixes:
https://github.com/ytdl-org/youtube-dl/issues/6106
https://github.com/ytdl-org/youtube-dl/issues/14977
https://github.com/ytdl-org/youtube-dl/issues/21438
https://github.com/ytdl-org/youtube-dl/issues/23609
https://github.com/ytdl-org/youtube-dl/issues/28132
Might also fix (untested):
https://github.com/ytdl-org/youtube-dl/issues/15424
https://github.com/ytdl-org/youtube-dl/issues/18267
https://github.com/ytdl-org/youtube-dl/issues/23899
https://github.com/ytdl-org/youtube-dl/issues/24375
https://github.com/ytdl-org/youtube-dl/issues/24595
https://github.com/ytdl-org/youtube-dl/issues/27899
Related:
https://github.com/ytdl-org/youtube-dl/issues/22379
https://github.com/ytdl-org/youtube-dl/pull/24517
https://github.com/ytdl-org/youtube-dl/pull/24886
https://github.com/ytdl-org/youtube-dl/pull/27215
Notes:
* The functions `extractor.common._extract_..._formats` are still kept for compatibility
* Only some extractors have currently been moved to using `_extract_..._formats_and_subtitles`
* Direct subtitle manifests (without a master) are not supported and are wrongly identified as containing video formats
* AES support is untested
* The fragmented TTML subtitles extracted from DASH/ISM are valid, but are unsupported by `ffmpeg` and most video players
* Their XML fragments can be dumped using `ffmpeg -i in.mp4 -f data -map 0 -c copy out.ttml`.
Once the unnecessary headers are stripped out of this, it becomes a valid self-contained ttml file
* The ttml subs downloaded from DASH manifests can also be directly opened with <https://github.com/SubtitleEdit>
* Fragmented WebVTT files extracted from DASH/ISM are also unsupported by most tools
* Unlike the ttml files, the XML fragments of these cannot be dumped using `ffmpeg`
* The webtt subs extracted from DASH can be parsed by <https://github.com/gpac/gpac>
* But validity of the those extracted from ISM are untested
Felix S [Mon, 19 Apr 2021 19:42:51 +0000 (21:42 +0200)]
[threeqsdn] Extract subtitles from streaming manifests
Felix S [Mon, 19 Apr 2021 16:57:25 +0000 (18:57 +0200)]
[canvas] Extract subtitles from streaming manifests
Felix S [Sun, 18 Apr 2021 14:55:14 +0000 (16:55 +0200)]
[wat] Extract subtitles from streaming manifests
Felix S [Sun, 18 Apr 2021 14:45:04 +0000 (16:45 +0200)]
[atresplayer] Extract subtitles from streaming manifests
Felix S [Sun, 18 Apr 2021 13:47:49 +0000 (15:47 +0200)]
[francetv] Extract subtitles from the HLS manifest
Felix S [Sun, 18 Apr 2021 06:41:46 +0000 (08:41 +0200)]
[uplynk] Extract subtitles from HLS manifests
Felix S [Thu, 15 Apr 2021 12:12:59 +0000 (14:12 +0200)]
[twitter] Extract subtitles from HLS manifests
Felix S [Thu, 15 Apr 2021 08:16:15 +0000 (10:16 +0200)]
[srgssr] Extract subtitles from HLS manifests
Felix S [Thu, 15 Apr 2021 08:14:46 +0000 (10:14 +0200)]
[nytimes] Extract subtitles from HLS manifests
Felix S [Thu, 15 Apr 2021 08:18:13 +0000 (10:18 +0200)]
[roosterteeth] Use common code for subtitle extraction
Felix S [Sun, 18 Apr 2021 00:09:48 +0000 (02:09 +0200)]
[elonet] Use common code for subtitle extraction
Felix S [Thu, 15 Apr 2021 08:19:32 +0000 (10:19 +0200)]
[tv4] Extract subtitles from streaming manifests
Felix S [Sun, 18 Apr 2021 06:40:39 +0000 (08:40 +0200)]
[byutv] Extract subtitles from streaming manifests
Felix S [Sun, 18 Apr 2021 12:26:32 +0000 (14:26 +0200)]
[generic] Extract subtitles from direct SSTR manifest links