]>
jfr.im git - yt-dlp.git/log
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
Felix S [Sun, 18 Apr 2021 06:41:28 +0000 (08:41 +0200)]
[generic] Extract subtitles from direct DASH manifest links
Felix S [Thu, 15 Apr 2021 08:15:43 +0000 (10:15 +0200)]
[generic] Extract subtitles from direct HLS manifest links
Felix S [Sun, 18 Apr 2021 10:48:39 +0000 (12:48 +0200)]
[downloader/ism] Support muxing TTML subtitles
Felix S [Fri, 23 Apr 2021 08:55:09 +0000 (10:55 +0200)]
[downloader/hls] Handle MPEG-2 PES timestamp overflow
Felix S [Fri, 23 Apr 2021 08:52:21 +0000 (10:52 +0200)]
[downloader/hls] Remove duplicate cues using a sliding window of candidates
Felix S [Wed, 28 Apr 2021 10:47:30 +0000 (16:17 +0530)]
[downloader/hls] Assemble single-file WebVTT subtitles from HLS segments
Felix S [Mon, 19 Apr 2021 10:40:29 +0000 (12:40 +0200)]
[test] Test SSTR manifest parsing
Felix S [Sun, 18 Apr 2021 05:55:33 +0000 (07:55 +0200)]
[test] Test subtitle extraction from DASH manifests
Felix S [Sat, 17 Apr 2021 13:49:12 +0000 (15:49 +0200)]
[test] Test subtitle extraction from HLS manifests
Felix S [Thu, 22 Apr 2021 15:19:26 +0000 (17:19 +0200)]
[extractor/common] Extend _extract_akamai_formats to also extract subtitle tracks
Felix S [Sun, 18 Apr 2021 10:47:42 +0000 (12:47 +0200)]
[extractor/common, downloader/ism] Extract SSTR subtitle tracks
_parse_ism_formats was extended into _parse_ism_formats_and_subtitles;
all direct users were updated, though _extract_ism_formats was left
as a compatibility wrapper.
The SSTR downloader was also modified in order to prepare for muxing
subtitle streams, although no support for any subtitle codecs was
added in this commit.
Felix S [Sat, 17 Apr 2021 23:49:22 +0000 (01:49 +0200)]
[extractor/common] Extract DASH subtitle tracks
_extract_mpd_formats and _parse_mpd_formats were extended into
_…_formats_and_subtitles; wrappers with old names are provided
for compatibility.
Felix S [Mon, 7 Nov 2016 14:45:42 +0000 (15:45 +0100)]
[extractor/common] Extract HLS subtitle tracks
_extract_m3u8_formats is renamed to _extract_m3u8_formats_and_subtitles
and extended to handle subtitle tracks instead of skipping them;
a wrapper with the old name is provided for compatibility.
_parse_m3u8_formats is likewise renamed and extended, but without adding
the compatibility wrapper; the test suite is adjusted to test the enhanced
method instead.
Felix S [Mon, 19 Apr 2021 17:25:54 +0000 (19:25 +0200)]
[extractor/common] Generalise _merge_subtitles
This allows modifying a subtitles dictionary in-place.
Felix S [Fri, 23 Apr 2021 07:13:33 +0000 (09:13 +0200)]
[downloader/ism] Prevent writing the header again when resuming an interrupted download
Felix S [Fri, 23 Apr 2021 07:11:28 +0000 (09:11 +0200)]
[downloader/fragment] Allow persisting extra state when a download is interrupted
Felix S [Thu, 22 Apr 2021 19:16:29 +0000 (21:16 +0200)]
[utils] Improve bug_report_message
Add an optional argument specifying the text that should go before
the message.
Hadi0609 [Wed, 28 Apr 2021 09:21:54 +0000 (15:21 +0600)]
[zee5] Fix extraction for some URLs (#279)
Closes: #278
Felix S [Mon, 26 Apr 2021 11:53:20 +0000 (13:53 +0200)]
[mediasite] Generalize URL pattern (#275)
Authored by: fstirlitz
pukkandan [Mon, 26 Apr 2021 05:19:22 +0000 (10:49 +0530)]
Fix case sensitivity of format selector
Bug introduced in
f8d4ad9ab00bca71808cd769c04806f51c3578f0
pukkandan [Mon, 26 Apr 2021 05:16:26 +0000 (10:46 +0530)]
[limelight] Obey `allow_unplayable_formats`
pukkandan [Mon, 26 Apr 2021 05:15:17 +0000 (10:45 +0530)]
[FormatSort] Fix for when some formats have quality and others don't
pukkandan [Mon, 26 Apr 2021 01:52:24 +0000 (07:22 +0530)]
Py2 compatibility for `FileNotFoundError`