Sergey M․
ff02a228e3
[test_execution] Fix test under python 2 @ windows
9 years ago
Sergey M․
8cf70de428
[test_utils] Add test for unified_strdate
9 years ago
Sergey M․
ba9e68f402
[utils] Drop trailing comma before closing brace
9 years ago
Jaime Marquínez Ferrándiz
157e9e5aa5
[youtube:watchlater] Remove unused properties and fix tests
9 years ago
Naglis Jonaitis
91757b0f37
[utils] Escape all HTML entities written in hexadecimal form
9 years ago
Philipp Hagemeister
f5e2efbbf0
[options] Handle special characters in argv ( Fixes #5157 )
9 years ago
Jaime Marquínez Ferrándiz
f9544f6e8f
[test/aes] Test aes_decrypt_text with 256 bit
9 years ago
Jaime Marquínez Ferrándiz
5379a2d40d
[test/utils] Test xpath_text
9 years ago
Jaime Marquínez Ferrándiz
a7d9ded45d
[test] Add tests for aes
9 years ago
Jaime Marquínez Ferrándiz
531980d89c
[test/YoutubeDL] test match_filter
9 years ago
Jaime Marquínez Ferrándiz
f20bf146e2
[test/YoutubeDL] split in two classes
The name was misleading
9 years ago
Jaime Marquínez Ferrándiz
01218f919b
[test/http] Add test for proxy support
9 years ago
Sergey M․
92a4793b3c
[utils] Place sanitize url function near other sanitizing functions
9 years ago
Jaime Marquínez Ferrándiz
8508557e77
[test/YoutubeDL] Use valid urls
It failed on python 3.4 when building the http_headers field
9 years ago
Jaime Marquínez Ferrándiz
4d1652484f
[test/unicode_literals] Don't look into the .git and .tox directories
The .tox directory contains python code that we can't control
9 years ago
Jaime Marquínez Ferrándiz
88cf6fb368
[metadatafromtitle] Some improvements and cleanup
* 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
9 years ago
Jaime Marquínez Ferrándiz
3946864c8a
[vimeo] Use https for all vimeo.com urls
Unfortunately vimeopro.com doesn't support it yet.
9 years ago
Sergey M․
7e195d0e92
[funnyordie] Add subtitles test
9 years ago
Sergey M․
2ebfeacabc
[utils] Keep dot and dotdot unmodified ( Closes #5171 )
9 years ago
Sergey M․
f18ef2d144
[utils] Disallow trailing dot in sanitize_path for a path part
9 years ago
Sergey M․
a2aaf4dbc6
[utils] Add sanitize_path
9 years ago
Yen Chi Hsuan
55969016e9
[utils] Add a function to sanitize consecutive slashes in URLs
9 years ago
Philipp Hagemeister
499bfcbfd0
Make sure netrc works for all extractors with login support
Fixes #5112
9 years ago
Philipp Hagemeister
a7440261c5
[utils] Streap leading dots
Fixes #2865 , closes #5087
9 years ago
Philipp Hagemeister
3e675fabe0
[airmozilla] Be more tolerant when nonessential items are missing ( #5030 )
9 years ago
Philipp Hagemeister
5a42414b9c
[utils] Prevent hyphen at beginning of filename ( Fixes #5035 )
9 years ago
Jaime Marquínez Ferrándiz
25ac63ed71
[rtve] Extract subtitles
9 years ago
Jaime Marquínez Ferrándiz
80970e531b
[test/subtitles] Update checksum for Viki
9 years ago
Jaime Marquínez Ferrándiz
b7bb76df05
[test/subtitles] Remove some tests
Test only with 'allsubtitles', the language selection is already tested in test_YoutubeDL.py
9 years ago
Jaime Marquínez Ferrándiz
98c70d6fc7
[YoutubeDL] only add normal subtitles to the 'requested_subtitles' field if 'writesubtitles' is True
9 years ago
Jaime Marquínez Ferrándiz
ab84349b16
[test/YoutubeDL] Add test for subtitles
Updated the offlinetest make target to not skip it
9 years ago
Jaime Marquínez Ferrándiz
4d17184817
[YoutubeDL] don't set the 'requested_subtitles' without writesubtitles or writeautomaticsub
9 years ago
Philipp Hagemeister
8fb3ac3649
PEP8: W503
9 years ago
Jaime Marquínez Ferrándiz
8807f1277f
[theplatform] Convert to new subtitles system
9 years ago
Philipp Hagemeister
d305dd73a3
[utils] Fix js_to_json
Previously, the runtime could be atrocious for longer inputs.
9 years ago
Jaime Marquínez Ferrándiz
4f7cea6c53
[viki] Convert to new subtitles system
9 years ago
Jaime Marquínez Ferrándiz
afbdd3acc3
[rai] Convert to new subtitles system
9 years ago
Philipp Hagemeister
9789d7535d
[xtube] Fix test case
9 years ago
Jaime Marquínez Ferrándiz
01561da142
[nrk] Convert to new subtitles system
9 years ago
Jaime Marquínez Ferrándiz
0af25f784b
[mtv] Convert to new subtitles system
9 years ago
Jaime Marquínez Ferrándiz
b9b42f2ea0
[npo] Convert to new subtitles system
9 years ago
Jaime Marquínez Ferrándiz
311c393838
[lynda] Convert to new subtitles system
9 years ago
Philipp Hagemeister
3eff81fbf7
[jsinterp] Disable comment support
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 .
9 years ago
Philipp Hagemeister
f21e915fb9
[test/helper] Render info_dict with a final comma
9 years ago
Philipp Hagemeister
6f53c63df6
[test/helper] Only output a newline for forgotten keys if keys are really missing
9 years ago
Jaime Marquínez Ferrándiz
85920dd01d
[bliptv] Convert to new subtitles system
9 years ago
Jaime Marquínez Ferrándiz
360e1ca5cc
[youtube] Convert to new subtitles system
The automatic captions are stored in the 'automactic_captions' field, which is used if no normal subtitles are found for an specific language.
9 years ago
Jaime Marquínez Ferrándiz
a1f2a06b34
[dailymotion] Convert to new subtitles system
9 years ago
Jaime Marquínez Ferrándiz
c84dd8a90d
[YoutubeDL] store the subtitles to download in the 'requested_subtitles' field
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.
9 years ago
Jaime Marquínez Ferrándiz
65469a7f8b
[vimeo] Convert to new subtitles system
Removed some tests, the behaviour should be checked in a test for the YoutubeDL class
9 years ago