]> jfr.im git - yt-dlp.git/log
yt-dlp.git
3 years agoRelease 2021.06.23 2021.06.23
pukkandan [Wed, 23 Jun 2021 01:36:12 +0000 (07:06 +0530)] 
Release 2021.06.23

3 years agoUpdate to ytdl-commit-379f52a
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

3 years ago[funimation] Extract subtitles (#434)
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

3 years ago[hotstar] Use server time for authentication instead of local time
pukkandan [Wed, 23 Jun 2021 00:34:20 +0000 (06:04 +0530)] 
[hotstar] Use server time for authentication instead of local time
Closes #396

3 years ago[youtube_live_chat] Support ongoing live chat (#422)
siikamiika [Wed, 23 Jun 2021 00:12:39 +0000 (03:12 +0300)] 
[youtube_live_chat] Support ongoing live chat (#422)

Authored by: siikamiika

3 years ago[cleanup] Revert unnecessary changes in 51d9739f8031fb37d8e25b0e9f1abea561e3d2e3
pukkandan [Wed, 23 Jun 2021 00:03:52 +0000 (05:33 +0530)] 
[cleanup] Revert unnecessary changes in 51d9739f8031fb37d8e25b0e9f1abea561e3d2e3

3 years agoAdd option `--throttled-rate` below which video data is re-extracted
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

3 years ago[fragment] Merge during download for `-N`, and refactor `hls`/`dash` (#364)
pukkandan [Mon, 21 Jun 2021 18:59:50 +0000 (00:29 +0530)] 
[fragment] Merge during download for `-N`, and refactor `hls`/`dash` (#364)

3 years ago[twitcasting] Websocket support (#399)
pukkandan [Mon, 21 Jun 2021 17:23:55 +0000 (22:53 +0530)] 
[twitcasting] Websocket support (#399)
Closes #392
Authored by: nao20010128nao

3 years ago[websockets] Add `WebSocketFragmentFD` (#399)
pukkandan [Mon, 21 Jun 2021 17:23:17 +0000 (22:53 +0530)] 
[websockets] Add `WebSocketFragmentFD` (#399)
Necessary for #392

Co-authored by: nao20010128nao, pukkandan

3 years ago[aria2c] Lower `--min-split-size` for HTTP downloads
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

3 years ago[options] Rename `--add-metadata` to `--embed-metadata`
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

3 years agoSkip fixup of existing files and add `--fixup force` to force it
pukkandan [Sat, 19 Jun 2021 22:45:19 +0000 (04:15 +0530)] 
Skip fixup of existing files and add `--fixup force` to force it

3 years ago[cleanup] Refactor fixup
pukkandan [Sat, 19 Jun 2021 22:19:23 +0000 (03:49 +0530)] 
[cleanup] Refactor fixup

3 years ago[youtube] Temporary fix for age-gate
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

3 years agoFix id sanitization in filenames
pukkandan [Wed, 16 Jun 2021 20:45:57 +0000 (02:15 +0530)] 
Fix id sanitization in filenames
Closes #415

3 years ago[EmbedThumbnail] Add compat-option `embed-thumbnail-atomicparsley`
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

3 years ago[postprocessor] Fix `_restrict_to` when a codec is not set
pukkandan [Sun, 13 Jun 2021 20:35:57 +0000 (02:05 +0530)] 
[postprocessor] Fix `_restrict_to` when a codec is not set

3 years ago[pornhub] Extract `cast`
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

3 years ago[mediasite] Extract slides (#343)
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

3 years ago[downloader/mhtml] Add new downloader (#343)
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

3 years agoFix bug in 8326b00aabc332cad3edec246fe5353bea069cb0
pukkandan [Sun, 13 Jun 2021 09:06:13 +0000 (14:36 +0530)] 
Fix bug in 8326b00aabc332cad3edec246fe5353bea069cb0

3 years agoIgnore `images` formats from merge
pukkandan [Sat, 12 Jun 2021 22:46:42 +0000 (04:16 +0530)] 
Ignore `images` formats from merge

3 years agoAllow `images` formats
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

3 years agoExpand `--check-formats` to thumbnails
pukkandan [Sat, 12 Jun 2021 15:21:00 +0000 (20:51 +0530)] 
Expand `--check-formats` to thumbnails
Closes #402

3 years agoUse `NamedTemporaryFile` for `--check-formats`
pukkandan [Sat, 12 Jun 2021 15:18:06 +0000 (20:48 +0530)] 
Use `NamedTemporaryFile` for `--check-formats`

3 years ago[youtube] Login is not needed for `:ytrec`
pukkandan [Sat, 12 Jun 2021 15:15:08 +0000 (20:45 +0530)] 
[youtube] Login is not needed for `:ytrec`

3 years ago[utils] Improve `LazyList`
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

3 years ago[EmbedThumbnail] Fix for already downloaded thumbnail
pukkandan [Fri, 11 Jun 2021 12:07:02 +0000 (17:37 +0530)] 
[EmbedThumbnail] Fix for already downloaded thumbnail

3 years agoBetter error handling of syntax errors in `-f`
pukkandan [Fri, 11 Jun 2021 13:43:22 +0000 (19:13 +0530)] 
Better error handling of syntax errors in `-f`

3 years ago[youtube] Non-fatal alert reporting for unavailable videos page (#401)
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

3 years ago[youtube] Improve SAPISID cookie handling (closes #393) (#395)
coletdjnz [Thu, 10 Jun 2021 21:02:57 +0000 (09:02 +1200)] 
[youtube] Improve SAPISID cookie handling (closes #393) (#395)

Author: colethedj

3 years ago[build] Build Windows x86 version with py3.7
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

3 years ago[version] update
pukkandan [Wed, 9 Jun 2021 20:06:46 +0000 (01:36 +0530)] 
[version] update
:ci skip all

3 years agoRelease 2021.06.09 2021.06.09
pukkandan [Wed, 9 Jun 2021 19:19:48 +0000 (00:49 +0530)] 
Release 2021.06.09

3 years agoImprove offset parsing in outtmpl
pukkandan [Wed, 9 Jun 2021 14:17:50 +0000 (19:47 +0530)] 
Improve offset parsing in outtmpl

3 years ago[test] More rigorous tests for `prepare_filename`
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`

3 years agoFix `%d` and empty default in outtmpl
pukkandan [Wed, 9 Jun 2021 09:13:51 +0000 (14:43 +0530)] 
Fix `%d` and empty default in outtmpl
Closes #388

3 years agoRevert "[build] Build Windows x86 version with py3.8"
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

3 years ago[build] Build Windows x86 version with py3.8
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

3 years ago[version] update :ci skip all
pukkandan [Tue, 8 Jun 2021 14:30:59 +0000 (20:00 +0530)] 
[version] update :ci skip all

3 years agoRelease 2021.06.08 2021.06.08
pukkandan [Tue, 8 Jun 2021 14:43:41 +0000 (20:13 +0530)] 
Release 2021.06.08

3 years ago[build] Release `yt-dlp.tar.gz`
pukkandan [Tue, 8 Jun 2021 14:07:45 +0000 (19:37 +0530)] 
[build] Release `yt-dlp.tar.gz`
Closes #386

3 years agoMake outtmpl more robust and catch errors early
pukkandan [Tue, 8 Jun 2021 14:41:00 +0000 (20:11 +0530)] 
Make outtmpl more robust and catch errors early

3 years ago[utils] Generalize `traverse_dict` to `traverse_obj`
pukkandan [Tue, 8 Jun 2021 08:53:56 +0000 (14:23 +0530)] 
[utils] Generalize `traverse_dict` to `traverse_obj`

3 years ago[build,update] Add GNU-style SHA512 and prepare updater for simlar SHA256 (#383)
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

3 years ago[build] Fix SHA256
pukkandan [Mon, 7 Jun 2021 19:59:10 +0000 (01:29 +0530)] 
[build] Fix SHA256

3 years agoUpdate to ytdl-commit-c2350ca
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

3 years agoAdd field `original_url` with the user-inputted URL
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

3 years agoMake more fields available for `--print` when used with `--flat-playlist`
pukkandan [Mon, 7 Jun 2021 18:47:53 +0000 (00:17 +0530)] 
Make more fields available for `--print` when used with `--flat-playlist`

3 years ago[docs] Improve documentation of dependencies
pukkandan [Mon, 7 Jun 2021 18:46:22 +0000 (00:16 +0530)] 
[docs] Improve documentation of dependencies
Related: #348

3 years ago[pyinst] Show Python version in EXE metadata (#384)
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

3 years ago[viki] Fix extraction
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

3 years agoFix filename sanitization
pukkandan [Sun, 6 Jun 2021 14:00:21 +0000 (19:30 +0530)] 
Fix filename sanitization
Bug from 752cda3880f30a46bed1d27b69188ab93ad1a368

3 years ago[zoom] Extract transcripts as subtitles
pukkandan [Sun, 6 Jun 2021 11:39:09 +0000 (17:09 +0530)] 
[zoom] Extract transcripts as subtitles

3 years ago[extractor] Fix pre-checking archive for some extractors
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

3 years ago[twitcasting] Add TwitCastingUserIE, TwitCastingLiveIE
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

3 years ago[vidio] Add VidioPremierIE and VidioLiveIE (#371)
MinePlayersPE [Sat, 5 Jun 2021 19:55:26 +0000 (02:55 +0700)] 
[vidio] Add VidioPremierIE and VidioLiveIE (#371)

Authored-by: MinePlayersPE
3 years agoFix and refactor `prepare_outtmpl`
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

3 years ago[cleanup] Mark unused files
pukkandan [Sat, 5 Jun 2021 15:55:06 +0000 (21:25 +0530)] 
[cleanup] Mark unused files

3 years ago[cleanup] Point all shebang to `python3` (#372)
felix [Thu, 3 Jun 2021 09:43:42 +0000 (11:43 +0200)] 
[cleanup] Point all shebang to `python3` (#372)

Authored by: fstirlitz

3 years agoRemove support for obsolete python versions
pukkandan [Sat, 5 Jun 2021 19:14:34 +0000 (00:44 +0530)] 
Remove support for obsolete python versions

3 years ago[downloader/ffmpeg] Hide FFmpeg banner unless in verbose mode (#372)
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

3 years ago[common] Fix FourCC fallback when parsing ISM (#372)
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

3 years agoRemove duplicate file `trovolive.py`
pukkandan [Sat, 5 Jun 2021 12:57:15 +0000 (18:27 +0530)] 
Remove duplicate file `trovolive.py`

3 years ago[youtube] Support shorts URL
pukkandan [Sat, 5 Jun 2021 12:39:51 +0000 (18:09 +0530)] 
[youtube] Support shorts URL
Closes #375

3 years ago[hls] Decrypt fragment when reading from disk
pukkandan [Sat, 5 Jun 2021 12:39:11 +0000 (18:09 +0530)] 
[hls] Decrypt fragment when reading from disk
Closes #373

3 years ago[version] update
pukkandan [Tue, 1 Jun 2021 15:38:44 +0000 (21:08 +0530)] 
[version] update
:ci skip all

3 years agoRelease 2021.06.01 2021.06.01
pukkandan [Mon, 31 May 2021 22:04:31 +0000 (03:34 +0530)] 
Release 2021.06.01

3 years ago[utils] Escape URLs in `sanitized_Request`, not `sanitize_url`
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.

3 years ago[Hotstar] Add HotStarSeriesIE (#366)
Ashish [Tue, 1 Jun 2021 14:44:03 +0000 (20:14 +0530)] 
[Hotstar] Add HotStarSeriesIE (#366)

Authored by: Ashish0804

3 years ago[update] Block further update for unsupported systems
pukkandan [Mon, 31 May 2021 22:02:09 +0000 (03:32 +0530)] 
[update] Block further update for unsupported systems

3 years ago[cleanup] setup.py
pukkandan [Mon, 31 May 2021 20:33:40 +0000 (02:03 +0530)] 
[cleanup] setup.py

3 years agoUpdate to ytdl-commit-d495292
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

3 years ago[archiveorg] Add YoutubeWebArchiveIE (#356)
coletdjnz [Mon, 31 May 2021 01:12:38 +0000 (13:12 +1200)] 
[archiveorg] Add YoutubeWebArchiveIE (#356)

Co-authored by: colethedj, pukkandan, alex-gedeon

3 years ago[hls,dash] When using `concurrent_fragment_downloads`, do not keep the fragment conte...
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

3 years ago[hls] Disable external downloader for `webtt`
pukkandan [Sun, 30 May 2021 16:41:11 +0000 (22:11 +0530)] 
[hls] Disable external downloader for `webtt`

3 years ago[vidio] Add login support (#362)
MinePlayersPE [Sun, 30 May 2021 14:49:14 +0000 (21:49 +0700)] 
[vidio] Add login support (#362)

Authored by: MinePlayersPE

3 years ago[fancode] Add extractor (#316,#354)
pukkandan [Sun, 30 May 2021 13:59:00 +0000 (19:29 +0530)] 
[fancode] Add extractor (#316,#354)
Closes #269, #363

Authored by: rmsmachine

3 years ago[Voot] Add VootSeriesIE (#351)
Ashish [Sun, 30 May 2021 11:15:42 +0000 (16:45 +0530)] 
[Voot] Add VootSeriesIE (#351)

Authored by: Ashish0804

3 years ago[Saitosan] Add new extractor (#350)
LE [Sun, 30 May 2021 09:02:18 +0000 (09:02 +0000)] 
[Saitosan] Add new extractor (#350)

Closes #224
Authored by: llacb47

3 years ago[extractor] Functions to parse socket.io response as json
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

3 years ago[vidio] Support premium videos (#358)
MinePlayersPE [Sat, 29 May 2021 14:54:19 +0000 (21:54 +0700)] 
[vidio] Support premium videos (#358)

Authored by: MinePlayersPE

3 years ago[extractor] Allow `note=False` when extracting manifests
pukkandan [Sat, 29 May 2021 08:52:44 +0000 (14:22 +0530)] 
[extractor] Allow `note=False` when extracting manifests

3 years ago[embedthumbnail] Correctly escape filename
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

3 years ago[embedthumbnail] Embed if any thumbnail was downloaded, not just the best
pukkandan [Fri, 28 May 2021 20:08:02 +0000 (01:38 +0530)] 
[embedthumbnail] Embed if any thumbnail was downloaded, not just the best

3 years ago[youtube:playlist] fix bug
pukkandan [Fri, 28 May 2021 18:19:26 +0000 (23:49 +0530)] 
[youtube:playlist] fix bug

3 years agoRemove `None` values from `info.json`
pukkandan [Fri, 28 May 2021 16:15:06 +0000 (21:45 +0530)] 
Remove `None` values from `info.json`

3 years ago[zee5] Fix m3u8 formats extension
pukkandan [Fri, 28 May 2021 14:04:22 +0000 (19:34 +0530)] 
[zee5] Fix m3u8 formats extension

3 years agoWrite messages to `stderr` when both `quiet` and `verbose`
pukkandan [Fri, 28 May 2021 21:01:10 +0000 (02:31 +0530)] 
Write messages to `stderr` when both `quiet` and `verbose`

3 years agoPre-check archive and filters during playlist extraction
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

3 years agoRefactor `__process_playlist` using `LazyList`
pukkandan [Fri, 28 May 2021 16:37:11 +0000 (22:07 +0530)] 
Refactor `__process_playlist` using `LazyList`

3 years ago[utils] Add `__getitem__` for `PagedList`
pukkandan [Mon, 17 May 2021 13:44:20 +0000 (19:14 +0530)] 
[utils] Add `__getitem__` for `PagedList`

3 years ago[utils] Add `LazyList`
pukkandan [Fri, 28 May 2021 16:49:13 +0000 (22:19 +0530)] 
[utils] Add `LazyList`

3 years ago[cleanup] `_match_entry`
pukkandan [Fri, 28 May 2021 20:42:07 +0000 (02:12 +0530)] 
[cleanup] `_match_entry`

3 years ago[patreon] Support vimeo embeds (#349)
rhsmachine [Thu, 27 May 2021 16:44:43 +0000 (22:14 +0530)] 
[patreon] Support vimeo embeds (#349)

Authored by: rhsmachine

3 years ago[extractor] Always prefer native hls downloader by default
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

3 years ago[update] Replace self without launching a subprocess in windows
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

3 years ago[cleanup] Refactor updater
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

3 years agoHandle Basic Auth `user:pass` in URLs
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