aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/downloader
Commit message (Collapse)AuthorAgeFilesLines
...
* [downloader] Add colors to download progresspukkandan2021-11-291-4/+24
|
* [downloader/ffmpeg] Fix for direct videos inside mpd manifestspukkandan2021-11-231-2/+1
| | | | Closes #1751
* Fix `--check-formats` for `mhtml`pukkandan2021-11-201-2/+2
| | | | Closes #1709
* [hls] Better FairPlay DRM detection (#1661)nyuszika7h2021-11-191-0/+9
| | | Authored by: nyuszika7h
* [docs] Minor documentation improvementspukkandan2021-11-101-0/+1
| | | | Closes #1583, #1599
* [cleanup] Minor cleanuppukkandan2021-11-041-1/+3
|
* [ffmpeg] Detect libavformat version for `aac_adtstoasc`pukkandan2021-11-041-2/+1
| | | | | and print available features in verbose head Based on https://github.com/ytdl-org/youtube-dl/pull/29581
* [fragment] Fix progress display in fragmented downloadspukkandan2021-11-032-3/+13
| | | | Closes #1517
* [cleanup] miscpukkandan2021-10-231-1/+2
|
* Don't create console for subprocesses on Windows (#1261)pukkandan2021-10-202-12/+11
| | | Closes #1251
* [fragment] Print error message when skipping fragmentpukkandan2021-10-192-6/+7
|
* Revert "[fragments] Pad fragments before decrypting (#1298)"pukkandan2021-10-191-2/+1
| | | | This reverts commit 373475f03553a7fff2d20df878755bfad2fab8e5.
* [utils] Standardize timestamp formatting codepukkandan2021-10-191-7/+6
| | | | Closes #1285
* [http] Retry on socket timeoutpukkandan2021-10-191-3/+5
| | | | Closes #1222
* [fragments] Pad fragments before decrypting (#1298)shirt2021-10-181-1/+2
| | | | Closes #197, #1297, #1007 Authored by: shirt-dev
* [youtube] Expose different formats with same itagpukkandan2021-10-161-1/+0
|
* [downloader] Fix slow progress hookspukkandan2021-10-163-10/+5
| | | | Closes #1301
* [http] Show the last encountered errorpukkandan2021-10-141-0/+2
| | | | Closes #1262
* [eria2c] Fix --skip-unavailable fragmentpukkandan2021-10-131-44/+45
|
* [downloader/ffmpeg] Improve simultaneous download and mergepukkandan2021-10-132-5/+14
|
* [downloader] Fix throttledratelimitpukkandan2021-10-101-2/+3
| | | | The timer should not reset at start of each block
* [minicurses] Fix when printing to filepukkandan2021-10-101-3/+2
| | | | Closes #1215
* [cleanup] Misc cleanuppukkandan2021-10-091-2/+2
|
* [http] Respect user-provided chunk size over extractor'spukkandan2021-10-091-1/+2
|
* Improved progress reporting (See desc) (#1125)pukkandan2021-10-092-50/+40
| | | | | | | | | | | * Separate `--console-title` and `--no-progress` * Add option `--progress` to show progress-bar even in quiet mode * Fix and refactor `minicurses` * Use `minicurses` for all progress reporting * Standardize use of terminal sequences and enable color support for windows 10 * Add option `--progress-template` to customize progress-bar and console-title * Add postprocessor hooks and progress reporting Closes: #906, #901, #1085, #1170
* [docs,build] Change all pycryptodome references to pycryptodomexpukkandan2021-10-061-2/+2
|
* [HLS] Fix decryption issues (#1117)shirt2021-09-292-8/+15
| | | | | | | * Unpad HLS fragments with PKCS#7 according to datatracker.ietf.org/doc/html/rfc8216 * media_sequence should only be incremented in for media fragments * The native decryption should only be used if ffmpeg is unavailable since it is significantly slower. Closes #1086 Authored by: shirt-dev, pukkandan
* [youtube] Cleanup authentication code (#786)coletdjnz2021-09-241-1/+1
| | | Authored by: coletdjnz
* bugfix for bd50a52b0d7247cdbf205eb851ce33ae4b89c516pukkandan2021-09-241-3/+2
|
* [downloader/niconico] Pass custom headers (#1063)The Hatsune Daishi2021-09-231-2/+4
| | | | Closes #1057 Authored by: nao20010128nao
* Basic framework for simultaneous download of multiple formats (#1036)The Hatsune Daishi2021-09-223-7/+81
| | | Authored by: nao20010128nao
* [docs,cleanup] Add deprecation warning in docspukkandan2021-09-221-3/+0
| | | | | | for some counter intuitive behaviour that may be removed in future. and fix linter
* [fragment,aria2c] Generalize and refactor some codepukkandan2021-09-222-42/+30
|
* [fragment] Fix range header when using `-N` and media sequence (#1048)pukkandan2021-09-222-1/+3
| | | | Authored by: shirt
* [fragment] Avoid repeated request for AES keypukkandan2021-09-221-2/+8
|
* [aria2c] Fix IV for some AES-128 streamspukkandan2021-09-221-1/+2
| | | | Authored by: shirt
* [hls] Byterange + AES128 is supported by native downloaderpukkandan2021-09-191-2/+0
|
* [hls,aes] Fallback to native implementation for AES-CBCpukkandan2021-09-183-20/+6
| | | | | | | and detect `Cryptodome` in addition to `Crypto` Closes #935 Related: #938
* Fix `--compat-option no-direct-merge`pukkandan2021-09-121-1/+1
|
* Use `os.replace` where applicable (#793)Paul Wrubel2021-08-271-5/+2
| | | | | | | | | | When using ```py os.remove(encodeFilename(filename)) os.rename(encodeFilename(temp_filename), encodeFilename(filename)) ``` the `os.remove` need not be atomic and so can be executed arbitrarily compared to the immediately following rename call. It is better to use `os.replace` instead Authored by: paulwrubel
* [aria2c] Obey `--rate-limit`pukkandan2021-08-271-0/+1
|
* fix bug in 6251555f1c670c66aa781bf9f29e9b5b33d90be1pukkandan2021-08-241-1/+1
| | | | :ci skip
* [downloader/ffmpeg] Support for DASH manifests (experimental)pukkandan2021-08-242-8/+11
| | | | Closes #159
* [downloader/ffmpeg] Allow passing custom arguments before -ipukkandan2021-08-241-10/+10
| | | | Closes #686
* [webvtt] Fix timestamp overflow adjustment (#698)Felix S2021-08-151-2/+8
| | | | | | In some streams, empty segments may appear with a bogus, non-monotone MPEG timestamp. This should not be considered as an overflow Authored by: fstirlitz
* Fix `--force-overwrites` when using `-k`pukkandan2021-08-151-2/+5
| | | | | For formats that need merge, the `.fxxx` files are not removed before downloading the corresponding `.part` files. This causes the rename to fail
* Revert erroneous use of the `Content-Length` header (#637)Felix S2021-08-111-1/+1
| | | | | | | | | | | This reverts commit 6c907eb33ffd79ef9c4761c6460acb31b2eded46 The use of the Content-Length value here is erroneous and may lead to truncated downloads if a compression scheme is specified in the Content-Encoding header, as the Content-Length header refers to the size of encoded data, not of the raw bytestream. This has been noticed in the wild with WebVTT subtitle segments. Authored by: fstirlitz
* [webvtt] Merge daisy-chained duplicate cues (#638)Felix S2021-08-102-19/+41
| | | | | | | | | | | | | | | | | Fixes: https://github.com/yt-dlp/yt-dlp/issues/631#issuecomment-893338552 Previous deduplication algorithm only removed duplicate cues with identical text, styles and timestamps. This change also merges cues that come in ‘daisy chains’, where sequences of cues with identical text and styles appear in which the ending timestamp of one equals the starting timestamp of the next. This deduplication algorithm has the somewhat unfortunate side effect that NOTE blocks between cues, if found, will be emitted in a different order relative to their original cues. This may be unwanted if perfect fidelity is desired, but then so is daisy-chain deduplication itself. NOTE blocks ought to be ignored by WebVTT players in any case. Authored by: fstirlitz
* Misc fixes - See descpukkandan2021-08-101-11/+13
| | | | | | | * Remove unnecessary uses of _list_from_options_callback * Fix download tests - Bug from 6e84b21559f586ee4d6affb61688d5c6a0c21221 * Rename ExecAfterDownloadPP to ExecPP and refactor its tests * Ensure _write_ytdl_file closes file handle on error - Potential fix for #517
* [docs] Fix some mistakes and improve docpukkandan2021-08-071-2/+5
|