aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [test/subtitles] Add test for DemocracynowIEYen Chi Hsuan2015-11-041-0/+21
|
* [utils] unified_strdate: Return None if the date format can't be recognized ↵Jaime Marquínez Ferrándiz2015-11-021-0/+1
| | | | | | (fixes #7340) This issue was introduced with ae12bc3ebb4cb377c2b4337ec255e652b36f5143, it returned 'None'.
* Merge pull request #7296 from jaimeMF/xml_attrib_unicodeSergey M2015-10-312-4/+24
|\ | | | | Use a wrapper around xml.etree.ElementTree.fromstring in python 2.x (…
| * [compat] compat_etree_fromstring: also decode the text attributeJaime Marquínez Ferrándiz2015-10-261-1/+10
| | | | | | | | Deletes parse_xml from utils, because it also does it.
| * [compat] compat_etree_fromstring: only decode bytes objectsJaime Marquínez Ferrándiz2015-10-251-1/+2
| |
| * Use a wrapper around xml.etree.ElementTree.fromstring in python 2.x (#7178)Jaime Marquínez Ferrándiz2015-10-252-4/+14
| | | | | | | | Attributes aren't unicode objects, so they couldn't be directly used in info_dict fields (for example '--write-description' doesn't work with bytes).
* | [utils] Support list of xpath in xpath_elementSergey M․2015-10-311-0/+7
| |
* | [utils] Improve parse_iso8601Sergey M․2015-10-281-0/+2
|/
* [test/test_download] Use extract_flat = 'in_playlist' for playlist itemsJaime Marquínez Ferrándiz2015-10-231-1/+1
| | | | Some playlist extractors return a 'url' result, which wouldn't be resolved.
* [utils:js_to_json] Fix bad escape in double quoted stringsSergey M․2015-10-201-0/+3
|
* [extractor/common] Allow angle brackets in attributes in _og_regexes (#7215)Sergey M․2015-10-181-0/+4
|
* [test_youtube_lists] Add test flat playlist entries' titlesSergey M․2015-10-181-0/+9
|
* [test_InfoExtractor] Add test for unquoted attributeSergey M․2015-10-141-0/+2
|
* [test_InfoExtractor] Add test for 7a6d76a64d8a89a08bb79791506fc18b993c4580Sergey M․2015-10-141-0/+2
|
* [test/helper] Fix styleJaime Marquínez Ferrándiz2015-10-021-1/+1
| | | | Use the correct indentation to please flake8
* [test/helper] Clarify field for list length mismatchSergey M․2015-09-301-1/+2
|
* [test/helper] SpellingSergey M․2015-09-301-2/+2
|
* [test/helper] FormattingSergey M․2015-09-301-14/+14
|
* [test] use descriptive variable nameQijiang Fan2015-09-301-8/+6
|
* [test] split expect_dict to two functionsQijiang Fan2015-09-301-73/+70
|
* [test] recursively check dict and list in expect_info_dictQijiang Fan2015-09-301-1/+20
| | | | | This allows to use md5:, re:, etc within the str inside a list or dict.
* [youtube:history] Enable exractorSergey M․2015-09-211-1/+1
|
* [youtube:history] Explain why it has disabled and skip testJaime Marquínez Ferrándiz2015-09-201-1/+1
|
* [test/test_write_annotations] fix test filenameremitamine2015-09-071-1/+1
| | | | Closes #6781
* [test_compat] Fix typoSergey M․2015-09-051-1/+1
|
* [test_compat] Add test for compat_shlex_splitSergey M․2015-09-051-0/+4
|
* [test_utils] Add tests for cli option convertersSergey M․2015-09-051-0/+48
|
* [test_utils] Add more tests for xpathSergey M․2015-09-051-0/+28
|
* [test/subtitles] Add test for ThePlatformFeedIEYen Chi Hsuan2015-08-211-0/+13
|
* [test/helper] Make age_limit checkable fieldSergey M․2015-08-081-1/+1
|
* Merge pull request #6428 from dstftw/improve-generic-smil-supportSergey M.2015-08-082-3/+5
|\ | | | | Improve generic SMIL support
| * [test/helper] Allow dicts for mincountSergey M․2015-08-021-2/+2
| |
| * [test_downloader] Respect --force-generic-extractorSergey M․2015-08-021-1/+3
| |
* | [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
| |
* | 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.