aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_YoutubeDL.py
Commit message (Collapse)AuthorAgeFilesLines
* [extractor] Deprecate `_sort_formats`pukkandan2022-11-171-32/+17
|
* [outtmpl] Curly braces to filter keyspukkandan2022-09-031-1/+12
|
* [cleanup] Miscpukkandan2022-09-011-1/+1
| | | | | Closes #4710, Closes #4754, Closes #4723 Authored by: pukkandan, MrRawes, DavidH-2022
* Fix tests for 989a01c2610832193c268d072ada8814bfd4c00dpukkandan2022-08-051-9/+9
|
* [cleanup] Misc cleanuppukkandan2022-07-091-0/+1
|
* [compat] Remove deprecated functions from core codepukkandan2022-06-251-2/+2
|
* [cleanup] Consistent style for file headspukkandan2022-06-251-0/+2
|
* [compat] Remove more functionspukkandan2022-06-251-11/+7
| | | | Removing any more will require changes to a large number of extractors
* [test] Fix `FakeYDL` signaturespukkandan2022-06-211-1/+1
| | | | Authored by: coletdjnz
* Add option `--lazy-playlist` to process entries as they are receivedpukkandan2022-06-171-1/+1
|
* Add slicing notation to `--playlist-items`pukkandan2022-06-171-32/+93
| | | | | | | | * Adds support for negative indices and step * Add `-I` as alias for `--playlist-index` * Deprecates `--playlist-start`, `--playlist-end`, `--playlist-reverse`, `--no-playlist-reverse` Closes #2951, Closes #2853
* Improve `--clean-infojson`pukkandan2022-04-281-1/+1
| | | | | It should not removes fields that may be needed for `--load-infojson`. Eg: `_ffmpeg_args`, `_has_drm`
* [cleanup] Sort importspukkandan2022-04-121-3/+14
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Upgrade syntaxpukkandan2022-04-121-17/+13
| | | | | | | | | | Using https://github.com/asottile/pyupgrade 1. `__future__` imports and `coding: utf-8` were removed 2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format` 3. f-strings were cherry-picked from `pyupgrade --py36-plus` Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
* [outtmpl] Fix replacement/default when used with alternatepukkandan2022-03-261-0/+2
|
* Ignore format-specific fields in initial pass of `--match-filter`pukkandan2022-03-251-1/+1
| | | | Closes #3074
* Add pre-processor stage `after_filter`pukkandan2022-02-231-18/+2
| | | | | | | * Move `_match_entry` and `post_extract` to `process_video_result`. It is also left in `process_info` for API compat * `--list-...` options and `--force-write-archive` now obey filtering options * Move `SponsorBlockPP` to `after_filter`. Closes https://github.com/yt-dlp/yt-dlp/issues/2536 * Reverts 4ec82a72bbf7ff0066edb50dcad20aa77ac2fe09 since this commit addresses the issue it was solving
* [cleanup] Misc cleanuppukkandan2022-01-041-0/+1
|
* Add key `requested_downloads` in the root `info_dict`pukkandan2022-01-031-1/+2
|
* [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
* [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-231-1/+1
| | | | 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
* [outtmpl] Add operator `&` for replacement text (#2012)PilzAdam2021-12-181-0/+5
| | | Authored by: PilzAdam
* [tests] Fix testspukkandan2021-11-191-2/+2
|
* [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
* [outtmpl] Fix bug in expanding environment variablespukkandan2021-10-131-0/+6
|
* 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
|
* Allow alternate fields in outtmplpukkandan2021-09-181-0/+6
| | | | Closes #899, #1004
* 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
* Fix `playlist_index` not obeying `playlist_start`pukkandan2021-08-171-46/+23
| | | | | and add tests Closes #720
* Allow entire infodict to be printed using `%()s`pukkandan2021-08-071-10/+17
| | | | Makes `--dump-json` redundant
* Fix bugs related to `sanitize_info`pukkandan2021-08-071-2/+15
| | | | Related: https://github.com/yt-dlp/yt-dlp/commit/8012d892bd38af731357a61e071e0a0d01bc41b4#r54555230
* Add format types `j`, `l`, `q` for outtmplpukkandan2021-07-291-6/+22
| | | | Closes #345
* Expand and escape environment variables correctly in outtmplpukkandan2021-07-291-5/+14
| | | | Fixes: https://www.reddit.com/r/youtubedl/comments/otfmq3/ytdlp_same_parameters_different_results
* Fix selectors `all`, `mergeall` and add testspukkandan2021-07-071-29/+21
| | | | Bug from: 981052c9c6febb33b6547140a67a49ac0f5f4578
* Fix id sanitization in filenamespukkandan2021-06-171-3/+12
| | | | Closes #415
* Better error handling of syntax errors in `-f`pukkandan2021-06-111-3/+2
|
* Improve offset parsing in outtmplpukkandan2021-06-091-0/+1
|
* [test] More rigorous tests for `prepare_filename`pukkandan2021-06-091-84/+92
| | | | All tests of `prepare_outtmpl` is now also run on `prepare_filename`
* Fix `%d` and empty default in outtmplpukkandan2021-06-091-1/+6
| | | | Closes #388
* Make outtmpl more robust and catch errors earlypukkandan2021-06-081-0/+9
|
* Fix filename sanitizationpukkandan2021-06-061-0/+4
| | | | Bug from 752cda3880f30a46bed1d27b69188ab93ad1a368
* Fix and refactor `prepare_outtmpl`pukkandan2021-06-061-41/+80
| | | | | | | | | | 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
* [cleanup] Point all shebang to `python3` (#372)felix2021-06-061-1/+1
| | | | Authored by: fstirlitz