aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* [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
* | [vimeo] Use https for all vimeo.com urlsJaime Marquínez Ferrándiz2015-03-121-5/+5
| | | | | | | | Unfortunately vimeopro.com doesn't support it yet.
* | [funnyordie] Add subtitles testSergey M․2015-03-111-0/+13
| |
* | [utils] Keep dot and dotdot unmodified (Closes #5171)Sergey M․2015-03-101-0/+5
| |
* | [utils] Disallow trailing dot in sanitize_path for a path partSergey M․2015-03-081-0/+11
| |
* | [utils] Add sanitize_pathSergey M․2015-03-081-0/+21
|/
* Make sure netrc works for all extractors with login supportPhilipp Hagemeister2015-03-031-0/+26
| | | | Fixes #5112
* [utils] Streap leading dotsPhilipp Hagemeister2015-03-021-0/+3
| | | | Fixes #2865, closes #5087
* [airmozilla] Be more tolerant when nonessential items are missing (#5030)Philipp Hagemeister2015-02-261-0/+1
|
* [utils] Prevent hyphen at beginning of filename (Fixes #5035)Philipp Hagemeister2015-02-241-0/+2
|
* [rtve] Extract subtitlesJaime Marquínez Ferrándiz2015-02-231-0/+15
|
* Merge branch 'subtitles-rework'Jaime Marquínez Ferrándiz2015-02-233-166/+185
|\ | | | | | | (Closes PR #4964)
| * [test/subtitles] Update checksum for VikiJaime Marquínez Ferrándiz2015-02-221-1/+1
| |
| * [test/subtitles] Remove some testsJaime Marquínez Ferrándiz2015-02-221-108/+13
| | | | | | | | Test only with 'allsubtitles', the language selection is already tested in test_YoutubeDL.py
| * [YoutubeDL] only add normal subtitles to the 'requested_subtitles' field if ↵Jaime Marquínez Ferrándiz2015-02-221-0/+7
| | | | | | | | 'writesubtitles' is True
| * [test/YoutubeDL] Add test for subtitlesJaime Marquínez Ferrándiz2015-02-221-0/+52
| | | | | | | | Updated the offlinetest make target to not skip it
| * [YoutubeDL] don't set the 'requested_subtitles' without writesubtitles or ↵Jaime Marquínez Ferrándiz2015-02-221-5/+5
| | | | | | | | writeautomaticsub
| * [theplatform] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-191-0/+15
| |
| * [viki] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-181-0/+13
| |
| * [rai] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-181-0/+13
| |
| * [nrk] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-181-0/+13
| |
| * [mtv] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-181-0/+16
| |
| * [npo] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-181-0/+13
| |
| * [lynda] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-181-0/+13
| |
| * [bliptv] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-171-2/+0
| |
| * [youtube] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-161-5/+0
| | | | | | | | The automatic captions are stored in the 'automactic_captions' field, which is used if no normal subtitles are found for an specific language.
| * [dailymotion] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-161-17/+0
| |
| * [YoutubeDL] store the subtitles to download in the 'requested_subtitles' fieldJaime Marquínez Ferrándiz2015-02-161-1/+1
| | | | | | | | | | 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.
| * [vimeo] Convert to new subtitles systemJaime Marquínez Ferrándiz2015-02-162-18/+1
| | | | | | | | Removed some tests, the behaviour should be checked in a test for the YoutubeDL class
| * Improve subtitles supportJaime Marquínez Ferrándiz2015-02-161-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | PEP8: W503Philipp Hagemeister2015-02-211-2/+2
| |
* | [utils] Fix js_to_jsonPhilipp Hagemeister2015-02-181-0/+4
| | | | | | | | Previously, the runtime could be atrocious for longer inputs.
* | [xtube] Fix test casePhilipp Hagemeister2015-02-181-0/+10
| |
* | [jsinterp] Disable comment supportPhilipp Hagemeister2015-02-182-0/+17
| | | | | | | | | | | | | | | | 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.
* | [test/helper] Render info_dict with a final commaPhilipp Hagemeister2015-02-181-1/+1
| |
* | [test/helper] Only output a newline for forgotten keys if keys are really ↵Philipp Hagemeister2015-02-181-1/+3
|/ | | | missing
* [test/subtitles] Fix some testsJaime Marquínez Ferrándiz2015-02-151-2/+2
| | | | The checksym for the CeskaTelevize subtitles has changed again, so we just test that it has a reasonable length.
* [test/subtitles] Update checksumsJaime Marquínez Ferrándiz2015-02-131-2/+2
|
* [test/parameters.json] Set 'fixup' to 'never'Jaime Marquínez Ferrándiz2015-02-111-1/+2
| | | | The fixed audio files for Youtube have a size lower that the minimum required.
* [test/test_youtube_signature] Use fake YDLPhilipp Hagemeister2015-02-101-2/+3
|
* [YoutubeDL] Add generic video filtering (Fixes #4916)Philipp Hagemeister2015-02-101-0/+32
| | | | This functionality is intended to eventually encompass the current format filtering.
* [test/test_YoutubeDL] Remove debug print callJaime Marquínez Ferrándiz2015-02-061-1/+0
|
* [test/YoutubeDL] Add a simple test for postprocesorsJaime Marquínez Ferrándiz2015-02-061-0/+32
| | | | Just checks that the 'keepvideo' option works as intended.