aboutsummaryrefslogtreecommitdiff
path: root/test/test_YoutubeDL.py
AgeCommit message (Collapse)Author
2017-08-02[test_YoutubeDL] Add a test for #10083Sergey M․
2017-07-23[YoutubeDL] Improve default format specification (closes #13704)Sergey M․
2017-07-21[YoutubeDL] Do not override id, extractor and extractor_key in url_transparentSergey M․
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'.
2017-07-14[YoutubeDL] Don't expand env variables in meta fields (closes #13637)Sergey M․
2017-04-16[test_YoutubeDL] Add test for #11163Sergey M․
2017-02-23[YoutubeDL] Add support for string formatting operations in output templateSergey M․
2017-02-15[test_YoutubeDL] Fix invalid escape sequencesSergey M․
2017-02-15[utils] Add support for quoted string literals in --match-filter (closes ↵Sergey M․
#8050, closes #12142, closes #12144)
2016-10-31[utils] Fix --match-filter for int-like strings (closes #11082)Sergey M․
2016-07-16[YoutubeDL] Fix format selection with filters (Closes #10083)Sergey M․
2016-03-19[test_YoutubeDL] Add test for format_id format selectionSergey M․
2016-03-10[test_YoutubeDL] PEP 8Sergey M․
2016-03-10[YoutubeDL] Improve _format_noteSergey M․
2016-02-20[test_YoutubeDL] Make test pass until more intelligent sort formats (Closes ↵Sergey M․
#8462)
2016-02-06rename _parse_mpd to _parse_mpd_formats and add default value for mpd namespaceremitamine
2016-02-03[test_YoutubeDL] Fix test_youtube_format_selectionYen Chi Hsuan
Broken since a6c2c24479e5f4827ceb06f64d855329c0a6f593. Thanks to @jaimeMF and @anisse for pointing that out
2016-02-01[YoutubeDL] Do not override ie_key in url_transparentYen Chi Hsuan
2016-01-28Test codec with a dot '.' in name selection.dyn888
2016-01-14[YoutubeDL] urlopen: disable the 'file:' protocol (#8227)Jaime Marquínez Ferrándiz
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.
2015-08-04[YoutubeDL] format spec: correctly handle dashes and other unused operatorsJaime Marquínez Ferrándiz
'mp4-baseline-16x9' must be handled as a single string, but the '-' was treated as an operator.
2015-08-03YoutubeDL: format spec: don't accept a bare '/' (#6124)Jaime Marquínez Ferrándiz
2015-07-10[YoutubeDL] format spec: add additional checks for invalid syntaxJaime Marquínez Ferrándiz
2015-07-04[YoutubeDL] format spec: Do not fail when a filter gives an empty resultJaime Marquínez Ferrándiz
For example with 'best[height<40]' we ended getting a 'IndexError: list index out of range'.
2015-07-04[YoutubeDL] format spec: fix handling of '/' with ','Jaime Marquínez Ferrándiz
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.
2015-06-30[YoutubeDL] format spec: Fix handling of '+' with '/'Jaime Marquínez Ferrándiz
'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'.
2015-06-29[YoutubeDL] format spec: allow grouping specifiers with parenthesesJaime Marquínez Ferrándiz
2015-06-28[YoutubeDL] format spec: treat 'all' like a normal specifierJaime Marquínez Ferrándiz
So you can use filters with it, for example 'all[width>=400][width<=600]'.
2015-06-28[YoutubeDL] rework how the format spec is processedJaime Marquínez Ferrándiz
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.
2015-05-15[test/YoutubeDL] Add tests for 'playliststart', 'playlistend' and ↵Jaime Marquínez Ferrándiz
'playlist_items'
2015-04-29Make 'best' format only match non-DASH formats (closes #5554)Jaime Marquínez Ferrándiz
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.
2015-04-25Remove the --max-quality optionJaime Marquínez Ferrándiz
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.
2015-04-18Postprocessors: use a list for the files that can be deletedJaime Marquínez Ferrándiz
We could only know if we had to delete the original file, but this system allows to specify us more files (like subtitles).
2015-03-20[test/YoutubeDL] test match_filterJaime Marquínez Ferrándiz
2015-03-20[test/YoutubeDL] split in two classesJaime Marquínez Ferrándiz
The name was misleading
2015-03-14[test/YoutubeDL] Use valid urlsJaime Marquínez Ferrándiz
It failed on python 3.4 when building the http_headers field
2015-02-22[YoutubeDL] only add normal subtitles to the 'requested_subtitles' field if ↵Jaime Marquínez Ferrándiz
'writesubtitles' is True
2015-02-22[test/YoutubeDL] Add test for subtitlesJaime Marquínez Ferrándiz
Updated the offlinetest make target to not skip it
2015-02-06[test/test_YoutubeDL] Remove debug print callJaime Marquínez Ferrándiz
2015-02-06[test/YoutubeDL] Add a simple test for postprocesorsJaime Marquínez Ferrándiz
Just checks that the 'keepvideo' option works as intended.
2015-01-23[YoutubeDL] Allow filtering by properties (Fixes #4584)Philipp Hagemeister
2015-01-08[YoutubeDL] Allow selection by more extensionsPhilipp Hagemeister
2015-01-04[tests] Remove format 138 from tests (#4559)Philipp Hagemeister
2014-11-23PEP8 appliedJouke Waleson
2014-08-22[test_YoutubeDL] Reorder formats (#3542)Philipp Hagemeister
2014-05-21fixed (what I assume was a typo) that caused test_format_note to always fail.codesparkle
This test was introduced in c57f7757101690681af2eb8c40c8bf81bbe6e64f.
2014-04-30[YoutubeDL] Add simple tests for format_note (Closes #2825)Philipp Hagemeister
2014-04-04[tests] Fix YoutubeDL testsPhilipp Hagemeister
Since bec1fad, the id, title, and url (also in formats) keys are mandatory. Change the tests to reflect that.
2014-03-14Add bestvideo and worstvideo to special format names (#2163)Jaime Marquínez Ferrándiz
2014-01-22Use unicode_literals in test_YoutubeDLPhilipp Hagemeister
2014-01-22Add -f bestaudio (Fixes #2163)Philipp Hagemeister