aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_YoutubeDL.py
Commit message (Collapse)AuthorAgeFilesLines
...
* [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]'
* [test_YoutubeDL] Add test for #14425Sergey M․2017-10-061-0/+3
|
* [test_YoutubeDL] Add a test for #10083Sergey M․2017-08-021-0/+13
|
* [YoutubeDL] Improve default format specification (closes #13704)Sergey M․2017-07-231-0/+11
|
* [YoutubeDL] Do not override id, extractor and extractor_key in url_transparentSergey M․2017-07-211-1/+6
| | | | | | All these meta fields must be borrowed from final extractor that actually performs extraction. This commit fixes extractor id in download archives for url_transparent downloads. Previously, 'transparent' extractor was erroneously used for extractor archive id, e.g. 'eggheadlesson 4n8ugwwj5t' instead of 'wistia 4n8ugwwj5t'.
* [YoutubeDL] Don't expand env variables in meta fields (closes #13637)Sergey M․2017-07-141-0/+6
|
* [test_YoutubeDL] Add test for #11163Sergey M․2017-04-161-1/+3
|
* [YoutubeDL] Add support for string formatting operations in output templateSergey M․2017-02-231-0/+14
|
* [test_YoutubeDL] Fix invalid escape sequencesSergey M․2017-02-151-2/+2
|
* [utils] Add support for quoted string literals in --match-filter (closes ↵Sergey M․2017-02-151-0/+24
| | | | #8050, closes #12142, closes #12144)
* [utils] Fix --match-filter for int-like strings (closes #11082)Sergey M․2016-10-311-0/+6
|
* [YoutubeDL] Fix format selection with filters (Closes #10083)Sergey M․2016-07-161-0/+34
|
* [test_YoutubeDL] Add test for format_id format selectionSergey M․2016-03-191-0/+5
|
* [test_YoutubeDL] PEP 8Sergey M․2016-03-101-1/+0
|
* [YoutubeDL] Improve _format_noteSergey M․2016-03-101-0/+4
|
* [test_YoutubeDL] Make test pass until more intelligent sort formats (Closes ↵Sergey M․2016-02-201-1/+1
| | | | #8462)
* rename _parse_mpd to _parse_mpd_formats and add default value for mpd namespaceremitamine2016-02-061-1/+1
|
* [test_YoutubeDL] Fix test_youtube_format_selectionYen Chi Hsuan2016-02-031-0/+11
| | | | | Broken since a6c2c24479e5f4827ceb06f64d855329c0a6f593. Thanks to @jaimeMF and @anisse for pointing that out
* [YoutubeDL] Do not override ie_key in url_transparentYen Chi Hsuan2016-02-011-0/+37
|
* Test codec with a dot '.' in name selection.dyn8882016-01-281-0/+10
|
* [YoutubeDL] urlopen: disable the 'file:' protocol (#8227)Jaime Marquínez Ferrándiz2016-01-141-1/+6
| | | | | | | | | | | | | If someone is running youtube-dl on a server to deliver files, the user could input 'file:///some/important/file' and youtube-dl would save that file as a video giving access to sensitive information to the user. 'file:' urls can be filtered, but the user can use an URL to a crafted m3u8 manifest like: #EXTM3U #EXT-X-MEDIA-SEQUENCE:0 #EXTINF:10.0 file:///etc/passwd #EXT-X-ENDLIST With this patch 'file:' URLs raise URLError like for unknown protocols.
* [YoutubeDL] format spec: correctly handle dashes and other unused operatorsJaime Marquínez Ferrándiz2015-08-041-0/+6
| | | | 'mp4-baseline-16x9' must be handled as a single string, but the '-' was treated as an operator.
* YoutubeDL: format spec: don't accept a bare '/' (#6124)Jaime Marquínez Ferrándiz2015-08-031-0/+1
|
* [YoutubeDL] format spec: add additional checks for invalid syntaxJaime Marquínez Ferrándiz2015-07-101-0/+10
|
* [YoutubeDL] format spec: Do not fail when a filter gives an empty resultJaime Marquínez Ferrándiz2015-07-041-1/+8
| | | | For example with 'best[height<40]' we ended getting a 'IndexError: list index out of range'.
* [YoutubeDL] format spec: fix handling of '/' with ','Jaime Marquínez Ferrándiz2015-07-041-0/+8
| | | | When using 'bestvideo/best,bestaudio', 'bestvideo/best' must be set as the current_selector (instead of appending it to the selectors), otherwise when it gets the ',' it would append 'None' to the selectors.
* [YoutubeDL] format spec: Fix handling of '+' with '/'Jaime Marquínez Ferrándiz2015-06-301-0/+8
| | | | 'bestvideo+bestaudio/best' was incorrectly interpreted as 'bestvideo+(bestaudio/best)', so it would fail if 'bestaudio' doesn't exist instead of falling back to 'best'.
* [YoutubeDL] format spec: allow grouping specifiers with parenthesesJaime Marquínez Ferrándiz2015-06-291-0/+24
|
* [YoutubeDL] format spec: treat 'all' like a normal specifierJaime Marquínez Ferrándiz2015-06-281-0/+5
| | | | So you can use filters with it, for example 'all[width>=400][width<=600]'.
* [YoutubeDL] rework how the format spec is processedJaime Marquínez Ferrándiz2015-06-281-9/+18
| | | | | The spec string is processed using 'tokenize.tokenize' to split it in words and operators, the filters are still processed using regular expressions. This should make easier to allow grouping operators with parens.
* [test/YoutubeDL] Add tests for 'playliststart', 'playlistend' and ↵Jaime Marquínez Ferrándiz2015-05-151-0/+46
| | | | 'playlist_items'
* Make 'best' format only match non-DASH formats (closes #5554)Jaime Marquínez Ferrándiz2015-04-291-2/+2
| | | | | Otherwise it's impossible to only download non-DASH formats, for example `best[height=?480]/best` would download a DASH video if it's the only one with height=480, instead for falling back to the second format specifier. For audio only urls (soundcloud, bandcamp ...), the best audio will be downloaded as before.