aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_YoutubeDL.py
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
* [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
* [cleanup] `_match_entry`pukkandan2021-05-291-1/+1
|
* [test] Fix `test_YoutubeDL.TestYoutubeDL`pukkandan2021-05-191-0/+1
| | | | Test `test_ignoreerrors_for_playlist_with_url_transparent_iterable_entries` was broken due to `__original_infodict` being added to the dict
* Improve output template (see desc)pukkandan2021-04-221-0/+9
| | | | | | * Objects can be traversed like `%(field.key1.key2)s` * A number can be added to the field as `%(field+n)s` * Deprecates `--autonumber-start`
* Improve --sub-langs (see desc)pukkandan2021-04-201-0/+20
| | | | | | | | * Treat `--sub-langs` entries as regex * `all` can be used to refer to all the subtitles * the language code can be prefixed with `-` to exclude it * Deprecates `--all-subs` Closes #253
* Fix some linter and typospukkandan2021-04-161-1/+1
|
* Completely change project name to yt-dlp (#85)Pccode662021-02-251-6/+6
| | | | | | | | | * All modules and binary names are changed * All documentation references changed * yt-dlp no longer loads youtube-dlc config files * All URLs changed to point to organization account Co-authored-by: Pccode66 Co-authored-by: pukkandan
* Update to ytdl-2021.01.24.1Remita Amine2021-01-241-4/+11
|
* Fix/disable testspukkandan2021-01-071-6/+9
| | | | | The disabled tests needs to be fixed later Tests for FormatSort, Multistreams also needs be created
* Add --write-*-link by h-h-h-hpukkandan2020-12-131-0/+4
| | | | Authored-by: h-h-h-h
* Updated to release 2020.11.21.1pukkandan2020-11-221-0/+70
|
* [skip travis] renamingUnknown2020-09-021-6/+6
| | | to avoid using same folder when using pip install for example
* [test_YoutubeDL] Add tests for #10591 (closes #23873)Sergey M․2020-02-151-2/+21
|
* [test_YoutubeDL] Fix get_idsSergey M․2020-02-151-2/+3
|
* Start moving to ytdl-orgSergey M․2019-03-111-3/+3
|
* [YoutubeDL] Fix typo in string negation implementation and add more tests ↵Sergey M․2019-01-241-3/+27
| | | | (closes #18961)
* [YoutubeDL] Add negation support for string comparisons in format selection ↵Sergey M․2019-01-201-0/+46
| | | | expressions (closes #18600, closes #18805)
* [test_YoutubeDL] Fix typo (closes #14856)Sergey M․2017-11-261-4/+4
|
* [YoutubeDL] Improve _default_format_spec (closes #14461)Sergey M․2017-10-111-2/+8
|
* [YoutubeDL] Ignore duplicates in --playlist-itemsSergey M․2017-10-061-0/+3
| | | | E.g. '--playlist-items 2-4,3-4,3' should result in '[2,3,4]', not '[2,3,4,3,4,3]'