aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge remote-tracking branch 'jaimemf/format_spec_groups' (closes #6124)Jaime Marquínez Ferrándiz2015-08-031-10/+81
|\ \ | |/ |/|
| * [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.
* | [utils] Make value optional for find_xpath_attrSergey M․2015-08-011-0/+9
| | | | | | | | This allows selecting particular attributes by name but without specifying the value and similar to xpath syntax `[@attrib]`
* | [utils] Improve parse_durationYen Chi Hsuan2015-07-221-0/+1
| | | | | | | | Now dots are parsed. For example '87 Min.'
* | [test_compat] Add tests for compat_urllib_parse_unquote_plusSergey M․2015-07-171-0/+7
| |
* | [test_compat] Remove redundant testSergey M․2015-07-171-1/+0
| |
* | [test_compat] Make tests more idiomaticSergey M․2015-07-171-17/+16
| |
* | Add tests for compat_urllib_parse_unquotefnord2015-07-171-0/+20
|/
* [test/aes] Fix on python 3.3 and higherJaime Marquínez Ferrándiz2015-06-031-2/+2
| | | | Since 878563c847fa5248eedbd44187536dec04643eaf the aes functions only accepts the base64 data as a unicode string.
* [nrk] Update subtitles testYen Chi Hsuan2015-05-271-1/+1
| | | | | Subtitle conversion routine is removed, so the subtitles are TTML now. See 1c7e2e64f6328024711d5fa999d4498396f4cb5c
* [utils] Support TTML without default namespaceYen Chi Hsuan2015-05-191-0/+15
| | | | In a strict sense such TTML is invalid, but Yahoo uses it.
* [test/YoutubeDL] Add tests for 'playliststart', 'playlistend' and ↵Jaime Marquínez Ferrándiz2015-05-151-0/+46
| | | | 'playlist_items'
* [utils] Support 'dur' field in TTMLYen Chi Hsuan2015-05-121-1/+1
|
* [utils] Remove sanitize_url_path_consecutive_slashes()Yen Chi Hsuan2015-05-091-21/+0
| | | | | This function is used only in SohuIE, which is updated to use a new extraction logic.
* [NBC] Enhance embedURL extraction (closes #2549)Yen Chi Hsuan2015-05-041-0/+5
|
* [utils] Add replace_extensionSergey M․2015-05-021-0/+9
|
* [test_utils] Add tests for prepend_extensionSergey M․2015-05-021-0/+9
|
* 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.
* Merge pull request #5523 from jaimeMF/remove-format-limitSergey M.2015-04-272-34/+0
|\ | | | | Remove the --max-quality option
| * Remove the --max-quality optionJaime Marquínez Ferrándiz2015-04-252-34/+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.
* | [ffmpeg] Add dfxp (TTML) subtitles support (#3432, #5146)Yen Chi Hsuan2015-04-251-0/+38
|/
* [parameters.json] Set default `format` parameter to `best`Sergey M․2015-04-191-1/+1
|
* [tests] Allow multi_video to be tested as playlistsYen Chi Hsuan2015-04-192-2/+2
|
* 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).
* [utils] Remove url_infer_protocolYen Chi Hsuan2015-04-081-5/+0
|
* [udn] Add new extractorYen Chi Hsuan2015-04-081-0/+5
|
* [test_execution] Fix test under python 2 @ windowsSergey M․2015-04-041-1/+4
|
* [test_utils] Add test for unified_strdateSergey M․2015-04-041-0/+1
|
* [utils] Drop trailing comma before closing braceSergey M․2015-04-041-0/+6
|
* [youtube:watchlater] Remove unused properties and fix testsJaime Marquínez Ferrándiz2015-03-261-1/+1
|
* [utils] Escape all HTML entities written in hexadecimal formNaglis Jonaitis2015-03-261-0/+2
|
* [options] Handle special characters in argv (Fixes #5157)Philipp Hagemeister2015-03-241-0/+9
|
* [test/aes] Test aes_decrypt_text with 256 bitJaime Marquínez Ferrándiz2015-03-221-0/+8
|
* [test/utils] Test xpath_textJaime Marquínez Ferrándiz2015-03-211-0/+13
|
* [test] Add tests for aesJaime Marquínez Ferrándiz2015-03-211-0/+47
|
* [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/http] Add test for proxy supportJaime Marquínez Ferrándiz2015-03-201-1/+48
|
* [utils] Place sanitize url function near other sanitizing functionsSergey M․2015-03-171-16/+21
|
* Merge branch 'sohu_fix' of https://github.com/yan12125/youtube-dl into ↵Sergey M․2015-03-171-0/+16
|\ | | | | | | yan12125-sohu_fix
| * [utils] Add a function to sanitize consecutive slashes in URLsYen Chi Hsuan2015-03-061-0/+16
| |
* | [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
* | [test/unicode_literals] Don't look into the .git and .tox directoriesJaime Marquínez Ferrándiz2015-03-141-1/+10
| | | | | | | | The .tox directory contains python code that we can't control
* | [metadatafromtitle] Some improvements and cleanupJaime Marquínez Ferrándiz2015-03-141-0/+17
| | | | | | | | | | | | | | | | * Remove the 'songtitle' field, 'title' can be used instead. * Remove newlines in the help text, for consistency with other options. * Add 'from __future__ import unicode_literals'. * Call '__init__' from the parent class. * Add test for the format_to_regex method