aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2016-03-23[test/test_utils] Update for escape_url change (again)Yen Chi Hsuan
2016-03-23[test/test_utils] Update for escape_url changeYen Chi Hsuan
2016-03-23[utils] Encode hostnames before passing to urllibYen Chi Hsuan
With IDN (Internationalized Domain Name) and a proxy, non-ascii URLs are passed down to urllib/urllib2, causing UnicodeEncodeError Fixes #8890
2016-03-19[utils] lookup_unit_table: Match word boundary instead of end of stringJaime Marquínez Ferrándiz
2016-03-19[test_YoutubeDL] Add test for format_id format selectionSergey M․
2016-03-16[utils] PEP 8Sergey M․
2016-03-16Merge pull request #8092 from bpfoley/twitter-thumbnailremitamine
[utils] Add extract_attributes for extracting html tag attributes
2016-03-13[bbc] Generalize unit table lookup and add parse_countSergey M․
2016-03-10[test_YoutubeDL] PEP 8Sergey M․
2016-03-10[YoutubeDL] Improve _format_noteSergey M․
2016-03-03Merge pull request #8739 from remitamine/update_url_paramsremitamine
[utils] add update_url_query function to create or update query string params
2016-03-03[test/test_utils] add more tests for update_url_queryremitamine
2016-03-03[test/test_utils] add tests for update_url_queryremitamine
2016-03-03[test/http] Fix failure in JythonYen Chi Hsuan
make offlinetest passed on the latest Jython hg version with patched lib-python/2.7/urllib2.py pulled from CPython 2.7.11
2016-03-03[jython] Introduce compat_os_nameYen Chi Hsuan
os.name is always 'java' on Jython
2016-03-03[utils] Add extract_attributes for extracting html tag attributesBrian Foley
This is much more robust than just using regexps, and handles all the common scenarios, such as empty/no values, repeated attributes, entity decoding, mixed case names, and the different possible value quoting schemes.
2016-02-27[utils] Multiple changes to base_n()Yen Chi Hsuan
1. Renamed to encode_base_n() 2. Allow tables longer than 62 characters 3. Raise ValueError instead of AssertionError for invalid input data 4. Return the first character in the table instead of '0' for number 0 5. Add tests
2016-02-25[utils] Remove AM/PM from unified_strdate patternsSergey M․
2016-02-20[test_iqiyi_sdk_interpreter] Add test for iQiyi loginYen Chi Hsuan
2016-02-20[utils] Add OHDave's RSA encryption functionYen Chi Hsuan
2016-02-20[test_YoutubeDL] Make test pass until more intelligent sort formats (Closes ↵Sergey M․
#8462)
2016-02-07[utils] Allow dot in strip_jsonpSergey M․
2016-02-07[utils] Add ability to control skipping false values in dict_getSergey M․
2016-02-07[utils] Add dict_get convenience methodSergey M․
2016-02-06rename _parse_mpd to _parse_mpd_formats and add default value for mpd namespaceremitamine
2016-02-04[test_subtitles] update youtube subtitles testsremitamine
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-31[test_subtitles] Fix TestRaiSubtitlesYen Chi Hsuan
RaiIE is renamed to RaiTVIE in 06d5556dface3901a86419b6b125ef377116448f
2016-01-31[test_youtube_lists] Fix TestYoutubeLists.test_youtube_courseYen Chi Hsuan
Youtube entries are now generators
2016-01-29[youtube:user] Require 'https?://' in the url (fixes #8356)Jaime Marquínez Ferrándiz
It was matching www.youtube.com/embed/WpfukLMe1TM. The generic extractor automatically adds http:// if it's missing.
2016-01-28Test codec with a dot '.' in name selection.dyn888
2016-01-21[update] fix (unexploitable) BB'06 vulnerability in rsa_verifyFilippo Valsorda
The rsa_verify code was vulnerable to a BB'06 attack, allowing to forge signatures for arbitrary messages if and only if the public key exponent is 3. Since the updates key is hardcoded to 65537, there is no risk for youtube-dl, but I don't want vulnerable code in the wild. The new function adopts a way safer approach of encoding-and-comparing to replace the dangerous parsing code.
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.
2016-01-10Fix typosJakub Wilk
Closes #8200.
2015-12-21[test_subtitles] remove BlipTV testremitamine
2015-12-20[test_utils] Add tests for encode_compat_strSergey M․
2015-12-19[utils] Support alternative timestamp format in TTMLYen Chi Hsuan
Fixes #7608
2015-12-19[utils] Fix TTML conversionYen Chi Hsuan
Tolerate invalid timestamps (closes #7909)
2015-12-14[utils] Add remove_quotesSergey M․
2015-12-08[test/test_all_urls] Update pbs extractor nameJaime Marquínez Ferrándiz
It's in lowercase now (since e15e2ef7a00362fc1e89d9959241efad46325c54).
2015-11-22[utils] Check ext with trailing slash against the list of known extensionsSergey M․
2015-11-22[test_utils] Add tests for determine_extSergey M․
2015-11-16[utils] Skip invalid/non HTML entities (Closes #7518)Sergey M․
2015-11-10[jsinterp] Support alternative function definition formYen Chi Hsuan
2015-11-04[test/subtitles] Add test for DemocracynowIEYen Chi Hsuan
2015-11-02[utils] unified_strdate: Return None if the date format can't be recognized ↵Jaime Marquínez Ferrándiz
(fixes #7340) This issue was introduced with ae12bc3ebb4cb377c2b4337ec255e652b36f5143, it returned 'None'.
2015-10-31Merge pull request #7296 from jaimeMF/xml_attrib_unicodeSergey M
Use a wrapper around xml.etree.ElementTree.fromstring in python 2.x (…
2015-10-31[utils] Support list of xpath in xpath_elementSergey M․
2015-10-28[utils] Improve parse_iso8601Sergey M․