aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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-08-03Merge remote-tracking branch 'jaimemf/format_spec_groups' (closes #6124)Jaime Marquínez Ferrándiz
2015-08-01[utils] Make value optional for find_xpath_attrSergey M․
This allows selecting particular attributes by name but without specifying the value and similar to xpath syntax `[@attrib]`
2015-07-22[utils] Improve parse_durationYen Chi Hsuan
Now dots are parsed. For example '87 Min.'
2015-07-17[test_compat] Add tests for compat_urllib_parse_unquote_plusSergey M․
2015-07-17[test_compat] Remove redundant testSergey M․
2015-07-17[test_compat] Make tests more idiomaticSergey M․
2015-07-17Add tests for compat_urllib_parse_unquotefnord
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-06-03[test/aes] Fix on python 3.3 and higherJaime Marquínez Ferrándiz
Since 878563c847fa5248eedbd44187536dec04643eaf the aes functions only accepts the base64 data as a unicode string.
2015-05-27[nrk] Update subtitles testYen Chi Hsuan
Subtitle conversion routine is removed, so the subtitles are TTML now. See 1c7e2e64f6328024711d5fa999d4498396f4cb5c
2015-05-19[utils] Support TTML without default namespaceYen Chi Hsuan
In a strict sense such TTML is invalid, but Yahoo uses it.
2015-05-15[test/YoutubeDL] Add tests for 'playliststart', 'playlistend' and ↵Jaime Marquínez Ferrándiz
'playlist_items'
2015-05-12[utils] Support 'dur' field in TTMLYen Chi Hsuan
2015-05-09[utils] Remove sanitize_url_path_consecutive_slashes()Yen Chi Hsuan
This function is used only in SohuIE, which is updated to use a new extraction logic.
2015-05-04[NBC] Enhance embedURL extraction (closes #2549)Yen Chi Hsuan
2015-05-02[utils] Add replace_extensionSergey M․
2015-05-02[test_utils] Add tests for prepend_extensionSergey M․
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-27Merge pull request #5523 from jaimeMF/remove-format-limitSergey M.
Remove the --max-quality option
2015-04-25[ffmpeg] Add dfxp (TTML) subtitles support (#3432, #5146)Yen Chi Hsuan
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-19[parameters.json] Set default `format` parameter to `best`Sergey M․
2015-04-19[tests] Allow multi_video to be tested as playlistsYen Chi Hsuan
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-04-08[utils] Remove url_infer_protocolYen Chi Hsuan
2015-04-08[udn] Add new extractorYen Chi Hsuan
2015-04-04[test_execution] Fix test under python 2 @ windowsSergey M․
2015-04-04[test_utils] Add test for unified_strdateSergey M․
2015-04-04[utils] Drop trailing comma before closing braceSergey M․
2015-03-26[youtube:watchlater] Remove unused properties and fix testsJaime Marquínez Ferrándiz
2015-03-26[utils] Escape all HTML entities written in hexadecimal formNaglis Jonaitis
2015-03-24[options] Handle special characters in argv (Fixes #5157)Philipp Hagemeister
2015-03-22[test/aes] Test aes_decrypt_text with 256 bitJaime Marquínez Ferrándiz
2015-03-21[test/utils] Test xpath_textJaime Marquínez Ferrándiz
2015-03-21[test] Add tests for aesJaime Marquínez Ferrándiz
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-20[test/http] Add test for proxy supportJaime Marquínez Ferrándiz
2015-03-17[utils] Place sanitize url function near other sanitizing functionsSergey M․
2015-03-17Merge branch 'sohu_fix' of https://github.com/yan12125/youtube-dl into ↵Sergey M․
yan12125-sohu_fix
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-03-14[test/unicode_literals] Don't look into the .git and .tox directoriesJaime Marquínez Ferrándiz
The .tox directory contains python code that we can't control