]>
jfr.im git - yt-dlp.git/log
pukkandan [Wed, 23 Jun 2021 01:36:12 +0000 (07:06 +0530)]
Release 2021.06.23
pukkandan [Wed, 23 Jun 2021 01:26:37 +0000 (06:56 +0530)]
Update to ytdl-commit-
379f52a
[liveleak] Remove extractor
https://github.com/ytdl-org/youtube-dl/commit/
379f52a4954013767219d25099cce9e0f9401961
Mevious [Wed, 23 Jun 2021 01:57:53 +0000 (18:57 -0700)]
[funimation] Extract subtitles (#434)
Closes #420, https://github.com/ytdl-org/youtube-dl/issues/25645
Related: https://github.com/ytdl-org/youtube-dl/pull/24906
Authored by: Mevious
pukkandan [Wed, 23 Jun 2021 00:34:20 +0000 (06:04 +0530)]
[hotstar] Use server time for authentication instead of local time
Closes #396
siikamiika [Wed, 23 Jun 2021 00:12:39 +0000 (03:12 +0300)]
[youtube_live_chat] Support ongoing live chat (#422)
Authored by: siikamiika
pukkandan [Wed, 23 Jun 2021 00:03:52 +0000 (05:33 +0530)]
[cleanup] Revert unnecessary changes in
51d9739f8031fb37d8e25b0e9f1abea561e3d2e3
pukkandan [Tue, 22 Jun 2021 23:11:09 +0000 (04:41 +0530)]
Add option `--throttled-rate` below which video data is re-extracted
Currently only for HTTP downloads
Closes #430, workaround for https://github.com/ytdl-org/youtube-dl/issues/29326
pukkandan [Mon, 21 Jun 2021 18:59:50 +0000 (00:29 +0530)]
[fragment] Merge during download for `-N`, and refactor `hls`/`dash` (#364)
pukkandan [Mon, 21 Jun 2021 17:23:55 +0000 (22:53 +0530)]
[twitcasting] Websocket support (#399)
Closes #392
Authored by: nao20010128nao
pukkandan [Mon, 21 Jun 2021 17:23:17 +0000 (22:53 +0530)]
[websockets] Add `WebSocketFragmentFD` (#399)
Necessary for #392
Co-authored by: nao20010128nao, pukkandan
pukkandan [Sun, 20 Jun 2021 02:25:54 +0000 (07:55 +0530)]
[aria2c] Lower `--min-split-size` for HTTP downloads
This makes downloading smaller files much faster
pukkandan [Sat, 19 Jun 2021 22:24:37 +0000 (03:54 +0530)]
[options] Rename `--add-metadata` to `--embed-metadata`
and clarify that it embeds chapter markers
pukkandan [Sat, 19 Jun 2021 22:45:19 +0000 (04:15 +0530)]
Skip fixup of existing files and add `--fixup force` to force it
pukkandan [Sat, 19 Jun 2021 22:19:23 +0000 (03:49 +0530)]
[cleanup] Refactor fixup
pukkandan [Fri, 18 Jun 2021 15:02:52 +0000 (20:32 +0530)]
[youtube] Temporary fix for age-gate
Related:
https://stackoverflow.com/a/
67629882
https://github.com/yt-dlp/yt-dlp/issues/319
https://github.com/ytdl-org/youtube-dl/issues/29333
https://github.com/ytdl-org/youtube-dl/issues/29086
pukkandan [Wed, 16 Jun 2021 20:45:57 +0000 (02:15 +0530)]
Fix id sanitization in filenames
Closes #415
pukkandan [Tue, 15 Jun 2021 09:34:49 +0000 (15:04 +0530)]
[EmbedThumbnail] Add compat-option `embed-thumbnail-atomicparsley`
to force use of atomicparsley for embedding thumbnails in mp4
Related: #411
pukkandan [Sun, 13 Jun 2021 20:35:57 +0000 (02:05 +0530)]
[postprocessor] Fix `_restrict_to` when a codec is not set
pukkandan [Sun, 13 Jun 2021 16:06:47 +0000 (21:36 +0530)]
[pornhub] Extract `cast`
Closes #406, https://github.com/ytdl-org/youtube-dl/pull/27384
felix [Sun, 23 May 2021 16:34:53 +0000 (18:34 +0200)]
[mediasite] Extract slides (#343)
Fixes:
https://github.com/ytdl-org/youtube-dl/issues/4974#issue-
58006762
https://github.com/ytdl-org/youtube-dl/issues/4540#issuecomment-
69574231
https://github.com/ytdl-org/youtube-dl/pull/11185#issuecomment-
335554239
Authored by: fstirlitz
felix [Sun, 23 May 2021 16:34:49 +0000 (18:34 +0200)]
[downloader/mhtml] Add new downloader (#343)
This downloader is intended to be used for streams that consist of a
timed sequence of stand-alone images, such as slideshows or thumbnail
streams
This can be used for implementing:
https://github.com/ytdl-org/youtube-dl/issues/4974#issue-
58006762
https://github.com/ytdl-org/youtube-dl/issues/4540#issuecomment-
69574231
https://github.com/ytdl-org/youtube-dl/pull/11185#issuecomment-
335554239
https://github.com/ytdl-org/youtube-dl/issues/9868
https://github.com/ytdl-org/youtube-dl/pull/14951
Authored by: fstirlitz
pukkandan [Sun, 13 Jun 2021 09:06:13 +0000 (14:36 +0530)]
pukkandan [Sat, 12 Jun 2021 22:46:42 +0000 (04:16 +0530)]
Ignore `images` formats from merge
pukkandan [Sat, 12 Jun 2021 20:02:19 +0000 (01:32 +0530)]
Allow `images` formats
Necessary for #343.
* They are identified by `vcodec=acodec='none'`
* These formats show as the worst in `-F`
* Any postprocessor that expects audio/video will be skipped
* `b*` and all related selectors will skip such formats
* This commit also does not add any selector for downloading such formats. They have to be explicitly requested by the `format_id`. Implementation of a selector is left for when #389 is resolved
pukkandan [Sat, 12 Jun 2021 15:21:00 +0000 (20:51 +0530)]
Expand `--check-formats` to thumbnails
Closes #402
pukkandan [Sat, 12 Jun 2021 15:18:06 +0000 (20:48 +0530)]
Use `NamedTemporaryFile` for `--check-formats`
pukkandan [Sat, 12 Jun 2021 15:15:08 +0000 (20:45 +0530)]
[youtube] Login is not needed for `:ytrec`
pukkandan [Sat, 12 Jun 2021 15:14:30 +0000 (20:44 +0530)]
[utils] Improve `LazyList`
* Add `repr` and `str` that mimics `list`
* Add `reversed`. Unlike `[::-1]`, reversed does not exhaust the iterable and modifies the `LazyList` in-place
* Add tests
pukkandan [Fri, 11 Jun 2021 12:07:02 +0000 (17:37 +0530)]
[EmbedThumbnail] Fix for already downloaded thumbnail
pukkandan [Fri, 11 Jun 2021 13:43:22 +0000 (19:13 +0530)]
Better error handling of syntax errors in `-f`
coletdjnz [Thu, 10 Jun 2021 21:12:56 +0000 (09:12 +1200)]
[youtube] Non-fatal alert reporting for unavailable videos page (#401)
Co-Authored by: colethedj, pukkandan
coletdjnz [Thu, 10 Jun 2021 21:02:57 +0000 (09:02 +1200)]
[youtube] Improve SAPISID cookie handling (closes #393) (#395)
Author: colethedj
pukkandan [Sat, 5 Jun 2021 19:17:18 +0000 (00:47 +0530)]
[build] Build Windows x86 version with py3.7
and remove redundant tests
Closes #390
:ci skip
Co-authored by: pukkandan, shirt-dev
pukkandan [Wed, 9 Jun 2021 20:06:46 +0000 (01:36 +0530)]
[version] update
:ci skip all
pukkandan [Wed, 9 Jun 2021 19:19:48 +0000 (00:49 +0530)]
Release 2021.06.09
pukkandan [Wed, 9 Jun 2021 14:17:50 +0000 (19:47 +0530)]
Improve offset parsing in outtmpl
pukkandan [Wed, 9 Jun 2021 14:31:56 +0000 (20:01 +0530)]
[test] More rigorous tests for `prepare_filename`
All tests of `prepare_outtmpl` is now also run on `prepare_filename`
pukkandan [Wed, 9 Jun 2021 09:13:51 +0000 (14:43 +0530)]
Fix `%d` and empty default in outtmpl
Closes #388
pukkandan [Wed, 9 Jun 2021 10:05:17 +0000 (15:35 +0530)]
Revert "[build] Build Windows x86 version with py3.8"
This reverts commit
aa75e51f992c206b07ab4de592f11a871827bf4b .
See #390
This is being reverted instead of modified due to #388
pukkandan [Sat, 5 Jun 2021 19:17:18 +0000 (00:47 +0530)]
[build] Build Windows x86 version with py3.8
and remove redundant tests
:ci skip
Ao-authored by: pukkandan, shirt-dev
pukkandan [Tue, 8 Jun 2021 14:30:59 +0000 (20:00 +0530)]
[version] update :ci skip all
pukkandan [Tue, 8 Jun 2021 14:43:41 +0000 (20:13 +0530)]
Release 2021.06.08
pukkandan [Tue, 8 Jun 2021 14:07:45 +0000 (19:37 +0530)]
[build] Release `yt-dlp.tar.gz`
Closes #386
pukkandan [Tue, 8 Jun 2021 14:41:00 +0000 (20:11 +0530)]
Make outtmpl more robust and catch errors early
pukkandan [Tue, 8 Jun 2021 08:53:56 +0000 (14:23 +0530)]
[utils] Generalize `traverse_dict` to `traverse_obj`
Nil Admirari [Tue, 8 Jun 2021 10:34:07 +0000 (10:34 +0000)]
[build,update] Add GNU-style SHA512 and prepare updater for simlar SHA256 (#383)
Authored by: nihil-admirari <redacted>
Related: #385
pukkandan [Mon, 7 Jun 2021 19:59:10 +0000 (01:29 +0530)]
[build] Fix SHA256
pukkandan [Mon, 7 Jun 2021 18:58:32 +0000 (00:28 +0530)]
Update to ytdl-commit-
c2350ca
Update MSVC 2010 redist URL
https://github.com/ytdl-org/youtube-dl/commit/
c2350cac243ba1ec1586fe85b0d62d1b700047a2
pukkandan [Mon, 7 Jun 2021 18:50:06 +0000 (00:20 +0530)]
Add field `original_url` with the user-inputted URL
So that they can be processed by `--parse-metadata` for example
`webpage_url` is the same, but may be modified by the extractor
pukkandan [Mon, 7 Jun 2021 18:47:53 +0000 (00:17 +0530)]
Make more fields available for `--print` when used with `--flat-playlist`
pukkandan [Mon, 7 Jun 2021 18:46:22 +0000 (00:16 +0530)]
[docs] Improve documentation of dependencies
Related: #348
Nil Admirari [Mon, 7 Jun 2021 17:32:39 +0000 (17:32 +0000)]
[pyinst] Show Python version in EXE metadata (#384)
Authored by: nihil-admirari
pukkandan [Mon, 7 Jun 2021 06:49:30 +0000 (12:19 +0530)]
[viki] Fix extraction
Closes #381
Code from: https://github.com/ytdl-org/youtube-dl/commit/
59e583f7e8530ca92776c866897d895c072e2a82
pukkandan [Sun, 6 Jun 2021 14:00:21 +0000 (19:30 +0530)]
pukkandan [Sun, 6 Jun 2021 11:39:09 +0000 (17:09 +0530)]
[zoom] Extract transcripts as subtitles
pukkandan [Sun, 6 Jun 2021 09:35:07 +0000 (15:05 +0530)]
[extractor] Fix pre-checking archive for some extractors
The `id` regex group must be present for `_match_id` and pre-checking archive to work correctly
pukkandan [Sat, 5 Jun 2021 21:51:52 +0000 (03:21 +0530)]
[twitcasting] Add TwitCastingUserIE, TwitCastingLiveIE
Closes #374
Code adapted from: https://github.com/nao20010128nao/ytdl-patched/blob/
f1fb9222bb474e4ac2333e1e8047c11a856c42d3 /youtube_dl/extractor/twitcasting.py
Authored by: pukkandan, nao20010128nao
MinePlayersPE [Sat, 5 Jun 2021 19:55:26 +0000 (02:55 +0700)]
[vidio] Add VidioPremierIE and VidioLiveIE (#371)
Authored-by: MinePlayersPE
pukkandan [Thu, 3 Jun 2021 18:00:38 +0000 (23:30 +0530)]
Fix and refactor `prepare_outtmpl`
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
pukkandan [Sat, 5 Jun 2021 15:55:06 +0000 (21:25 +0530)]
[cleanup] Mark unused files
felix [Thu, 3 Jun 2021 09:43:42 +0000 (11:43 +0200)]
[cleanup] Point all shebang to `python3` (#372)
Authored by: fstirlitz
pukkandan [Sat, 5 Jun 2021 19:14:34 +0000 (00:44 +0530)]
Remove support for obsolete python versions
felix [Sun, 2 May 2021 19:10:14 +0000 (21:10 +0200)]
[downloader/ffmpeg] Hide FFmpeg banner unless in verbose mode (#372)
Authored by: fstirlitz
felix [Sun, 2 May 2021 09:10:35 +0000 (11:10 +0200)]
[common] Fix FourCC fallback when parsing ISM (#372)
In some DASH manifests, the FourCC attribute is actually present,
but empty. We thus apply the same fallback to 'AACL' that we do
when the attribute is entirely absent.
Authored by: fstirlitz
pukkandan [Sat, 5 Jun 2021 12:57:15 +0000 (18:27 +0530)]
Remove duplicate file `trovolive.py`
pukkandan [Sat, 5 Jun 2021 12:39:51 +0000 (18:09 +0530)]
[youtube] Support shorts URL
Closes #375
pukkandan [Sat, 5 Jun 2021 12:39:11 +0000 (18:09 +0530)]
[hls] Decrypt fragment when reading from disk
Closes #373
pukkandan [Tue, 1 Jun 2021 15:38:44 +0000 (21:08 +0530)]
[version] update
:ci skip all
pukkandan [Mon, 31 May 2021 22:04:31 +0000 (03:34 +0530)]
Release 2021.06.01
pukkandan [Tue, 1 Jun 2021 12:35:41 +0000 (18:05 +0530)]
[utils] Escape URLs in `sanitized_Request`, not `sanitize_url`
d2558234cf5dd12d6896eed5427b7dcdb3ab7b5a added escaping of URLs while sanitizing. However, `sanitize_url` may not always receive an actual URL.
Eg: When using `yt-dlp "search query" --default-search ytsearch`, `search query` gets escaped to `search%20query` before being prefixed with `ytsearch:` which is not the intended behavior. So the escaping is moved to `sanitized_Request` instead.
Ashish [Tue, 1 Jun 2021 14:44:03 +0000 (20:14 +0530)]
[Hotstar] Add HotStarSeriesIE (#366)
Authored by: Ashish0804
pukkandan [Mon, 31 May 2021 22:02:09 +0000 (03:32 +0530)]
[update] Block further update for unsupported systems
pukkandan [Mon, 31 May 2021 20:33:40 +0000 (02:03 +0530)]
[cleanup] setup.py
pukkandan [Mon, 31 May 2021 21:07:01 +0000 (02:37 +0530)]
Update to ytdl-commit-
d495292
[ard] Relax _VALID_URL and fix video ids
https://github.com/ytdl-org/youtube-dl/commit/
d495292852b6c2f1bd58bc2141ff2b0265c952cf
Closes #357
coletdjnz [Mon, 31 May 2021 01:12:38 +0000 (13:12 +1200)]
[archiveorg] Add YoutubeWebArchiveIE (#356)
Co-authored by: colethedj, pukkandan, alex-gedeon
pukkandan [Sun, 30 May 2021 16:34:31 +0000 (22:04 +0530)]
[hls,dash] When using `concurrent_fragment_downloads`, do not keep the fragment content in memory
Partial fix for #359
This is a temporary solution until #364 can be implemented
pukkandan [Sun, 30 May 2021 16:41:11 +0000 (22:11 +0530)]
[hls] Disable external downloader for `webtt`
MinePlayersPE [Sun, 30 May 2021 14:49:14 +0000 (21:49 +0700)]
[vidio] Add login support (#362)
Authored by: MinePlayersPE
pukkandan [Sun, 30 May 2021 13:59:00 +0000 (19:29 +0530)]
[fancode] Add extractor (#316,#354)
Closes #269, #363
Authored by: rmsmachine
Ashish [Sun, 30 May 2021 11:15:42 +0000 (16:45 +0530)]
[Voot] Add VootSeriesIE (#351)
Authored by: Ashish0804
LE [Sun, 30 May 2021 09:02:18 +0000 (09:02 +0000)]
[Saitosan] Add new extractor (#350)
Closes #224
Authored by: llacb47
pukkandan [Sun, 30 May 2021 08:17:39 +0000 (13:47 +0530)]
[extractor] Functions to parse socket.io response as json
Authored by: pukkandan, llacb47
MinePlayersPE [Sat, 29 May 2021 14:54:19 +0000 (21:54 +0700)]
[vidio] Support premium videos (#358)
Authored by: MinePlayersPE
pukkandan [Sat, 29 May 2021 08:52:44 +0000 (14:22 +0530)]
[extractor] Allow `note=False` when extracting manifests
pukkandan [Fri, 28 May 2021 20:09:07 +0000 (01:39 +0530)]
[embedthumbnail] Correctly escape filename
Closes #352
The approach in [1] is faulty as can be seen in the test cases
1. https://github.com/ytdl-org/youtube-dl/commit/
bff857a8af696e701482208617bf0b7564951326
pukkandan [Fri, 28 May 2021 20:08:02 +0000 (01:38 +0530)]
[embedthumbnail] Embed if any thumbnail was downloaded, not just the best
pukkandan [Fri, 28 May 2021 18:19:26 +0000 (23:49 +0530)]
[youtube:playlist] fix bug
pukkandan [Fri, 28 May 2021 16:15:06 +0000 (21:45 +0530)]
Remove `None` values from `info.json`
pukkandan [Fri, 28 May 2021 14:04:22 +0000 (19:34 +0530)]
[zee5] Fix m3u8 formats extension
pukkandan [Fri, 28 May 2021 21:01:10 +0000 (02:31 +0530)]
Write messages to `stderr` when both `quiet` and `verbose`
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