aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [outtmpl] Alternate form for `D` and fix suffix's casepukkandan2021-12-301-2/+4
| | | | Fixes: https://github.com/yt-dlp/yt-dlp/issues/2085#issuecomment-1002247689, https://github.com/yt-dlp/yt-dlp/pull/2132/files#r775729811
* [utils] Fix `format_bytes` output for Bytes (#2132)Pierre Mdawar2021-12-281-0/+13
| | | | Authored by: pukkandan, mdawar
* [cookies] Support other keyrings (#2032)Matt Broadway2021-12-271-2/+34
| | | Authored by: mbway
* [utils] Improve `parse_count`pukkandan2021-12-251-0/+7
|
* [outtmpl] Change filename sanitization type to `S`pukkandan2021-12-231-2/+2
| | | | | `F` is already used for float! Bug in e0fd95737d1a3c4a2bfb470c5408a396c8545ca5
* [cleanup] Misc cleanuppukkandan2021-12-232-1/+5
| | | | Closes #1942 #1976 #2020 #2058 #1984
* [outtmpl] Add alternate forms `F`, `D`pukkandan2021-12-231-5/+10
| | | | | | | | | and improve `id` detection F = sanitize as filename (# = restricted) D = add Decimal suffixes Closes #2085, 2081
* [test/download] Split `sanitize_got_info_dict` into a separate functionpukkandan2021-12-191-19/+25
| | | | so that it can be used by third party scripts
* [outtmpl] Add operator `&` for replacement text (#2012)PilzAdam2021-12-181-0/+5
| | | Authored by: PilzAdam
* [extractor] Support default implicit graph in JSON-LD (#1983)Zenon Mousmoulas2021-12-171-15/+84
| | | | | | | | | | | | Original PR: https://github.com/ytdl-org/youtube-dl/pull/30229 Per W3C JSON-LD v1.1 §4.9 (non-normative ref): When a JSON-LD document's top-level structure is a map that contains no other keys than @graph and optionally @context (properties that are not mapped to an IRI or a keyword are ignored), @graph is considered to express the otherwise implicit default graph. Authored by: zmousm
* [test/download] Ignore field `webpage_url_domain` (#2014)std-move2021-12-161-1/+1
| | | Authored by: std-move
* [test/download] Add more fieldspukkandan2021-12-151-4/+41
|
* [SponsorBlock] Add Filler and Highlight categories (#1664)Nil Admirari2021-12-091-2/+2
| | | Authored by: nihil-admirari, pukkandan
* [jsinterp] Fix splice to handle floatpukkandan2021-11-231-0/+4
| | | | | Needed for new youtube js player f1ca6900 Closes #1767
* [utils] Fix error when copying `LazyList`pukkandan2021-11-201-5/+5
|
* [utils] Allow alignment in `render_table`pukkandan2021-11-201-1/+38
| | | | and add tests
* [AES] Add ECB mode (#1686)The Hatsune Daishi2021-11-191-1/+17
| | | | Needed for #1688 Authored by: nao20010128nao
* [tests] Fix testspukkandan2021-11-193-13/+14
|
* [cleanup] Minor cleanuppukkandan2021-11-191-0/+4
| | | | Closes #1696, Closes #1673
* [outtmpl] Add alternate forms for `q` and `j`pukkandan2021-11-101-5/+10
|
* [outtmpl] Do not traverse `None`pukkandan2021-11-081-0/+1
| | | | Closes #1585
* [test/download] Fallback test to `bv`pukkandan2021-11-061-1/+1
|
* [jsinterp] Handle default in switch betterpukkandan2021-11-032-1/+20
|
* [youtube] Fix throttling by decrypting n-sig (#1437)pukkandan2021-10-312-24/+96
|
* [microsoftstream] Add extractor (#1201)Damiano Amatruda2021-10-221-2/+5
| | | | | Based on: https://github.com/ytdl-org/youtube-dl/pull/24649 Fixes: https://github.com/ytdl-org/youtube-dl/issues/24440 Authored by: damianoamatruda, nixklai
* [utils] Standardize timestamp formatting codepukkandan2021-10-191-4/+4
| | | | Closes #1285
* Add HDR information to formatspukkandan2021-10-181-0/+22
|
* Reduce default `--socket-timeout`pukkandan2021-10-181-1/+0
|
* [utils] Allow duration strings in filterpukkandan2021-10-171-0/+1
| | | | Closes #1309
* [outtmpl] Fix bug in expanding environment variablespukkandan2021-10-131-0/+6
|
* [cleanup] Misc cleanuppukkandan2021-10-091-3/+3
|
* Improved progress reporting (See desc) (#1125)pukkandan2021-10-091-2/+1
| | | | | | | | | | | * 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,cleanup] Some minor refactoring and improve docspukkandan2021-09-301-0/+2
|
* [outtmpl] Alternate form of format type `l` for `\n` delimited listpukkandan2021-09-271-0/+1
|
* [outtmpl] Format type `U` for unicode normalizationpukkandan2021-09-261-1/+5
|
* Allow `0` in `--playlist-items`pukkandan2021-09-251-0/+1
|
* [test/cookies] Improve loggingpukkandan2021-09-191-5/+18
|
* [aes] Add `aes_gcm_decrypt_and_verify` (#1020)Ákos Sülyi2021-09-192-8/+43
| | | Authored by: sulyi, pukkandan
* [SponsorBlock] Improve merge algorithm (#999)Nil Admirari2021-09-191-1/+33
| | | Authored by: nihil-admirari
* Allow alternate fields in outtmplpukkandan2021-09-181-0/+6
| | | | Closes #899, #1004
* [hls,aes] Fallback to native implementation for AES-CBCpukkandan2021-09-181-2/+2
| | | | | | | and detect `Cryptodome` in addition to `Crypto` Closes #935 Related: #938
* Add format type `B` for outtmpl to treat the value as bytespukkandan2021-09-181-0/+2
| | | | | This is useful to limit the filename to a certain number of bytes rather than characters Closes #1003
* [pbs] Fix subtitle extraction (#813)coletdjnz2021-09-081-0/+38
| | | | | Original PR: https://github.com/ytdl-org/youtube-dl/pull/24430, https://github.com/ytdl-org/youtube-dl/pull/17434 Closes: #836, https://github.com/ytdl-org/youtube-dl/issues/18796, https://github.com/ytdl-org/youtube-dl/issues/17273 Authored-by: coletdjnz, gesa, raphaeldore
* Native SponsorBlock implementation and related improvements (#360)Nil Admirari2021-09-021-0/+460
| | | | | | | | | | | | | | | | | SponsorBlock options: * The fetched sponsor sections are written to infojson * `--sponsorblock-remove` removes specified chapters from file * `--sponsorblock-mark` marks the specified sponsor sections as chapters * `--sponsorblock-chapter-title` to specify sponsor chapter template * `--sponsorblock-api` to use a different API Related improvements: * Split `--embed-chapters` from `--embed-metadata` * Add `--remove-chapters` to remove arbitrary chapters * Add `--force-keyframes-at-cuts` for more accurate cuts when removing and splitting chapters Deprecates all `--sponskrub` options Authored by: nihil-admirari, pukkandan
* [Niconico] Add Search extractors (#672)animelover19842021-08-281-0/+0
| | | Authored by: animelover1984, pukkandan
* [youtube] Remove annotations and deprecate `--write-annotations` (#765)coletdjnz2021-08-241-0/+0
| | | | Closes #692 Authored by: coletdjnz
* [utils] Add `parse_qs`pukkandan2021-08-231-24/+21
|
* Fix `playlist_index` not obeying `playlist_start`pukkandan2021-08-171-46/+23
| | | | | and add tests Closes #720
* Let `--match-filter` reject entries earlypukkandan2021-08-171-3/+9
| | | | Makes redundant: `--match-title`, `--reject-title`, `--min-views`, `--max-views`
* Misc fixes - See descpukkandan2021-08-102-8/+8
| | | | | | | * 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