aboutsummaryrefslogtreecommitdiff
path: root/test/test_YoutubeDL.py
AgeCommit message (Collapse)Author
2022-09-03[outtmpl] Curly braces to filter keyspukkandan
2022-09-01[cleanup] Miscpukkandan
Closes #4710, Closes #4754, Closes #4723 Authored by: pukkandan, MrRawes, DavidH-2022
2022-08-05Fix tests for 989a01c2610832193c268d072ada8814bfd4c00dpukkandan
2022-07-09[cleanup] Misc cleanuppukkandan
2022-06-25[compat] Remove deprecated functions from core codepukkandan
2022-06-25[cleanup] Consistent style for file headspukkandan
2022-06-25[compat] Remove more functionspukkandan
Removing any more will require changes to a large number of extractors
2022-06-21[test] Fix `FakeYDL` signaturespukkandan
Authored by: coletdjnz
2022-06-17Add option `--lazy-playlist` to process entries as they are receivedpukkandan
2022-06-17Add slicing notation to `--playlist-items`pukkandan
* 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
2022-04-28Improve `--clean-infojson`pukkandan
It should not removes fields that may be needed for `--load-infojson`. Eg: `_ffmpeg_args`, `_has_drm`
2022-04-12[cleanup] Sort importspukkandan
Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12[cleanup] Upgrade syntaxpukkandan
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
2022-03-26[outtmpl] Fix replacement/default when used with alternatepukkandan
2022-03-25Ignore format-specific fields in initial pass of `--match-filter`pukkandan
Closes #3074
2022-02-23Add pre-processor stage `after_filter`pukkandan
* 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
2022-01-04[cleanup] Misc cleanuppukkandan
2022-01-03Add key `requested_downloads` in the root `info_dict`pukkandan
2021-12-30[outtmpl] Alternate form for `D` and fix suffix's casepukkandan
Fixes: https://github.com/yt-dlp/yt-dlp/issues/2085#issuecomment-1002247689, https://github.com/yt-dlp/yt-dlp/pull/2132/files#r775729811
2021-12-23[outtmpl] Change filename sanitization type to `S`pukkandan
`F` is already used for float! Bug in e0fd95737d1a3c4a2bfb470c5408a396c8545ca5
2021-12-23[cleanup] Misc cleanuppukkandan
Closes #1942 #1976 #2020 #2058 #1984
2021-12-23[outtmpl] Add alternate forms `F`, `D`pukkandan
and improve `id` detection F = sanitize as filename (# = restricted) D = add Decimal suffixes Closes #2085, 2081
2021-12-18[outtmpl] Add operator `&` for replacement text (#2012)PilzAdam
Authored by: PilzAdam
2021-11-19[tests] Fix testspukkandan
2021-11-10[outtmpl] Add alternate forms for `q` and `j`pukkandan
2021-11-08[outtmpl] Do not traverse `None`pukkandan
Closes #1585
2021-10-13[outtmpl] Fix bug in expanding environment variablespukkandan
2021-10-09Improved progress reporting (See desc) (#1125)pukkandan
* 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
2021-09-30[docs,cleanup] Some minor refactoring and improve docspukkandan
2021-09-27[outtmpl] Alternate form of format type `l` for `\n` delimited listpukkandan
2021-09-26[outtmpl] Format type `U` for unicode normalizationpukkandan
2021-09-25Allow `0` in `--playlist-items`pukkandan
2021-09-18Allow alternate fields in outtmplpukkandan
Closes #899, #1004
2021-09-18Add format type `B` for outtmpl to treat the value as bytespukkandan
This is useful to limit the filename to a certain number of bytes rather than characters Closes #1003
2021-08-17Fix `playlist_index` not obeying `playlist_start`pukkandan
and add tests Closes #720
2021-08-07Allow entire infodict to be printed using `%()s`pukkandan
Makes `--dump-json` redundant
2021-08-07Fix bugs related to `sanitize_info`pukkandan
Related: https://github.com/yt-dlp/yt-dlp/commit/8012d892bd38af731357a61e071e0a0d01bc41b4#r54555230
2021-07-29Add format types `j`, `l`, `q` for outtmplpukkandan
Closes #345
2021-07-29Expand and escape environment variables correctly in outtmplpukkandan
Fixes: https://www.reddit.com/r/youtubedl/comments/otfmq3/ytdlp_same_parameters_different_results
2021-07-07Fix selectors `all`, `mergeall` and add testspukkandan
Bug from: 981052c9c6febb33b6547140a67a49ac0f5f4578
2021-06-17Fix id sanitization in filenamespukkandan
Closes #415
2021-06-11Better error handling of syntax errors in `-f`pukkandan
2021-06-09Improve offset parsing in outtmplpukkandan
2021-06-09[test] More rigorous tests for `prepare_filename`pukkandan
All tests of `prepare_outtmpl` is now also run on `prepare_filename`
2021-06-09Fix `%d` and empty default in outtmplpukkandan
Closes #388
2021-06-08Make outtmpl more robust and catch errors earlypukkandan
2021-06-06Fix filename sanitizationpukkandan
Bug from 752cda3880f30a46bed1d27b69188ab93ad1a368
2021-06-06Fix and refactor `prepare_outtmpl`pukkandan
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
2021-06-06[cleanup] Point all shebang to `python3` (#372)felix
Authored by: fstirlitz
2021-05-29[cleanup] `_match_entry`pukkandan