aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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.
2015-02-15[test/subtitles] Fix some testsJaime Marquínez Ferrándiz
The checksym for the CeskaTelevize subtitles has changed again, so we just test that it has a reasonable length.
2015-02-13[test/subtitles] Update checksumsJaime Marquínez Ferrándiz
2015-02-11[test/parameters.json] Set 'fixup' to 'never'Jaime Marquínez Ferrándiz
The fixed audio files for Youtube have a size lower that the minimum required.
2015-02-10[test/test_youtube_signature] Use fake YDLPhilipp Hagemeister
2015-02-10[YoutubeDL] Add generic video filtering (Fixes #4916)Philipp Hagemeister
This functionality is intended to eventually encompass the current format filtering.
2015-02-06[test/test_YoutubeDL] Remove debug print callJaime Marquínez Ferrándiz
2015-02-06[test/YoutubeDL] Add a simple test for postprocesorsJaime Marquínez Ferrándiz
Just checks that the 'keepvideo' option works as intended.
2015-02-03[wsj] Add new extractor (Fixes #4854)Philipp Hagemeister
2015-02-03[franceculture] Rewrite for new HTML scheme (Fixes #4853)Philipp Hagemeister
2015-02-02[ntvde] Add new extractor (Fixes #4850)Philipp Hagemeister
2015-02-01[jsinterp] Beef up and add testsPhilipp Hagemeister
In preparation for #4822, extend jsinterp by a lot. (We may even have to/want to write a proper interpreter with actual parsing)
2015-02-01[test_download] Remove references to "file" in test definitionsPhilipp Hagemeister
2015-01-30[test/helper] Clarify which keys have to be addedPhilipp Hagemeister