aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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
2015-03-14[metadatafromtitle] Some improvements and cleanupJaime Marquínez Ferrándiz
* 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
2015-03-12[vimeo] Use https for all vimeo.com urlsJaime Marquínez Ferrándiz
Unfortunately vimeopro.com doesn't support it yet.
2015-03-11[funnyordie] Add subtitles testSergey M․
2015-03-10[utils] Keep dot and dotdot unmodified (Closes #5171)Sergey M․
2015-03-08[utils] Disallow trailing dot in sanitize_path for a path partSergey M․
2015-03-08[utils] Add sanitize_pathSergey M․
2015-03-06[utils] Add a function to sanitize consecutive slashes in URLsYen Chi Hsuan
2015-03-03Make sure netrc works for all extractors with login supportPhilipp Hagemeister
Fixes #5112
2015-03-02[utils] Streap leading dotsPhilipp Hagemeister
Fixes #2865, closes #5087
2015-02-26[airmozilla] Be more tolerant when nonessential items are missing (#5030)Philipp Hagemeister
2015-02-24[utils] Prevent hyphen at beginning of filename (Fixes #5035)Philipp Hagemeister
2015-02-23[rtve] Extract subtitlesJaime Marquínez Ferrándiz
2015-02-23Merge branch 'subtitles-rework'Jaime Marquínez Ferrándiz
(Closes PR #4964)
2015-02-22[test/subtitles] Update checksum for VikiJaime Marquínez Ferrándiz
2015-02-22[test/subtitles] Remove some testsJaime Marquínez Ferrándiz
Test only with 'allsubtitles', the language selection is already tested in test_YoutubeDL.py
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-22[YoutubeDL] don't set the 'requested_subtitles' without writesubtitles or ↵Jaime Marquínez Ferrándiz
writeautomaticsub
2015-02-21PEP8: W503Philipp Hagemeister
2015-02-19[theplatform] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-18[utils] Fix js_to_jsonPhilipp Hagemeister
Previously, the runtime could be atrocious for longer inputs.
2015-02-18[viki] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-18[rai] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-18[xtube] Fix test casePhilipp Hagemeister
2015-02-18[nrk] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-18[mtv] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-18[npo] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-18[lynda] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-18[jsinterp] Disable comment supportPhilipp Hagemeister
We need a proper lexer to be able to understand YouTube's code, which contains /* inside of strings. For now it's sufficient to just disable comment support altogether. Fixes #4976, fixes #4979, fixes #4980, fixes #4981, fixes #4982. Closes #4977.
2015-02-18[test/helper] Render info_dict with a final commaPhilipp Hagemeister
2015-02-18[test/helper] Only output a newline for forgotten keys if keys are really ↵Philipp Hagemeister
missing
2015-02-17[bliptv] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-16[youtube] Convert to new subtitles systemJaime Marquínez Ferrándiz
The automatic captions are stored in the 'automactic_captions' field, which is used if no normal subtitles are found for an specific language.
2015-02-16[dailymotion] Convert to new subtitles systemJaime Marquínez Ferrándiz
2015-02-16[YoutubeDL] store the subtitles to download in the 'requested_subtitles' fieldJaime Marquínez Ferrándiz
We need to keep the orginal subtitles information, so that the '--load-info' option can be used to list or select the subtitles again. We'll also be able to have a separate field for storing the automatic captions info.
2015-02-16[vimeo] Convert to new subtitles systemJaime Marquínez Ferrándiz
Removed some tests, the behaviour should be checked in a test for the YoutubeDL class
2015-02-16Improve subtitles supportJaime Marquínez Ferrándiz
For each language the extractor builds a list with the available formats sorted (like for video formats), then YoutubeDL selects one of them using the '--sub-format' option which now allows giving the format preferences (for example 'ass/srt/best'). For each format the 'url' field can be set so that we only download the contents if needed, or if the contents needs to be processed (like in crunchyroll) the 'data' field can be used. The reasons for this change are: * We weren't checking that the format given with '--sub-format' was available, checking it in each extractor would be repetitive. * It allows to easily support giving a format preference. * The subtitles were automatically downloaded in the extractor, but I think that if you use for example the '--dump-json' option you want to finish as fast as possible. Currently only the ted extractor has been updated, but the old system still works.