about summary refs log tree commit diff
path: root/test/test_YoutubeDL.py
Commit message (Collapse)AuthorAgeFilesLines
* Introduce --output-na-placeholder (closes #27896)Sergey M․2021-01-221-4/+11
|
* [YoutubeDL] Raise syntax error for format selection expressions with ↵Sergey M․2021-01-141-0/+1
| | | | multiple + operators (closes #27803)
* [YoutubeDL] Fix --ignore-errors for playlists with generator-based entries ↵Sergey M․2020-11-211-0/+70
| | | | of url_transparent (closes #27064)
* [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.
* Remove the --max-quality optionJaime Marquínez Ferrándiz2015-04-251-33/+0
| | | | | It doesn't work well with 'bestvideo' and 'bestaudio' because they are usually before the max quality. Format filters should be used instead, they are more flexible and don't require the requested quality to exist for each video.
* Postprocessors: use a list for the files that can be deletedJaime Marquínez Ferrándiz2015-04-181-6/+15
| | | | We could only know if we had to delete the original file, but this system allows to specify us more files (like subtitles).
* [test/YoutubeDL] test match_filterJaime Marquínez Ferrándiz2015-03-201-0/+68
|
* [test/YoutubeDL] split in two classesJaime Marquínez Ferrándiz2015-03-201-0/+2
| | | | The name was misleading
* [test/YoutubeDL] Use valid urlsJaime Marquínez Ferrándiz2015-03-141-22/+24
| | | | It failed on python 3.4 when building the http_headers field
* [YoutubeDL] only add normal subtitles to the 'requested_subtitles' field if ↵Jaime Marquínez Ferrándiz2015-02-221-0/+7
| | | | 'writesubtitles' is True
* [test/YoutubeDL] Add test for subtitlesJaime Marquínez Ferrándiz2015-02-221-0/+52
| | | | Updated the offlinetest make target to not skip it
* [test/test_YoutubeDL] Remove debug print callJaime Marquínez Ferrándiz2015-02-061-1/+0
|