Commit Graph

674 Commits (2419a376b911df61bec6dae7178fc342a4e218f5)

Author SHA1 Message Date
Sergey M. 40b96352c9 Merge pull request from jaimeMF/remove-format-limit
Remove the --max-quality option
Yen Chi Hsuan bf6427d2fb [ffmpeg] Add dfxp (TTML) subtitles support (, )
Jaime Marquínez Ferrándiz 9f3fa89f7c Remove the --max-quality option
It doesn't work well with 'bestvideo' and 'bestaudio' because they are usually before the max quality.
Format filters should be used instead, they are more flexible and don't require the requested quality to exist for each video.
Sergey M․ 70947ea7b1 [parameters.json] Set default `format` parameter to `best`
Yen Chi Hsuan 880ee801cf [tests] Allow multi_video to be tested as playlists
Jaime Marquínez Ferrándiz 592e97e855 Postprocessors: use a list for the files that can be deleted
We could only know if we had to delete the original file, but this system allows to specify us more files (like subtitles).
Yen Chi Hsuan 0a1603634b [utils] Remove url_infer_protocol
Yen Chi Hsuan 418c5cc3fc [udn] Add new extractor
Sergey M․ ff02a228e3 [test_execution] Fix test under python 2 @ windows
Sergey M․ 8cf70de428 [test_utils] Add test for unified_strdate
Sergey M․ ba9e68f402 [utils] Drop trailing comma before closing brace
Jaime Marquínez Ferrándiz 157e9e5aa5 [youtube:watchlater] Remove unused properties and fix tests
Naglis Jonaitis 91757b0f37 [utils] Escape all HTML entities written in hexadecimal form
Philipp Hagemeister f5e2efbbf0 [options] Handle special characters in argv (Fixes )
Jaime Marquínez Ferrándiz f9544f6e8f [test/aes] Test aes_decrypt_text with 256 bit
Jaime Marquínez Ferrándiz 5379a2d40d [test/utils] Test xpath_text
Jaime Marquínez Ferrándiz a7d9ded45d [test] Add tests for aes
Jaime Marquínez Ferrándiz 531980d89c [test/YoutubeDL] test match_filter
Jaime Marquínez Ferrándiz f20bf146e2 [test/YoutubeDL] split in two classes
The name was misleading
Jaime Marquínez Ferrándiz 01218f919b [test/http] Add test for proxy support
Sergey M․ 92a4793b3c [utils] Place sanitize url function near other sanitizing functions
Sergey M․ dc03a42537 Merge branch 'sohu_fix' of https://github.com/yan12125/youtube-dl into yan12125-sohu_fix
Jaime Marquínez Ferrándiz 8508557e77 [test/YoutubeDL] Use valid urls
It failed on python 3.4 when building the http_headers field
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
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
Jaime Marquínez Ferrándiz 3946864c8a [vimeo] Use https for all vimeo.com urls
Unfortunately vimeopro.com doesn't support it yet.
Sergey M․ 7e195d0e92 [funnyordie] Add subtitles test
Sergey M․ 2ebfeacabc [utils] Keep dot and dotdot unmodified (Closes )
Sergey M․ f18ef2d144 [utils] Disallow trailing dot in sanitize_path for a path part
Sergey M․ a2aaf4dbc6 [utils] Add sanitize_path
Yen Chi Hsuan 55969016e9 [utils] Add a function to sanitize consecutive slashes in URLs
Philipp Hagemeister 499bfcbfd0 Make sure netrc works for all extractors with login support
Fixes 
Philipp Hagemeister a7440261c5 [utils] Streap leading dots
Fixes , closes 
Philipp Hagemeister 3e675fabe0 [airmozilla] Be more tolerant when nonessential items are missing ()
Philipp Hagemeister 5a42414b9c [utils] Prevent hyphen at beginning of filename (Fixes )
Jaime Marquínez Ferrándiz 25ac63ed71 [rtve] Extract subtitles
Jaime Marquínez Ferrándiz bfc993cc91 Merge branch 'subtitles-rework'
(Closes PR )
Jaime Marquínez Ferrándiz 80970e531b [test/subtitles] Update checksum for Viki
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
Jaime Marquínez Ferrándiz 98c70d6fc7 [YoutubeDL] only add normal subtitles to the 'requested_subtitles' field if 'writesubtitles' is True
Jaime Marquínez Ferrándiz ab84349b16 [test/YoutubeDL] Add test for subtitles
Updated the offlinetest make target to not skip it
Jaime Marquínez Ferrándiz 4d17184817 [YoutubeDL] don't set the 'requested_subtitles' without writesubtitles or writeautomaticsub
Philipp Hagemeister 8fb3ac3649 PEP8: W503
Jaime Marquínez Ferrándiz 8807f1277f [theplatform] Convert to new subtitles system
Philipp Hagemeister d305dd73a3 [utils] Fix js_to_json
Previously, the runtime could be atrocious for longer inputs.
Jaime Marquínez Ferrándiz 4f7cea6c53 [viki] Convert to new subtitles system
Jaime Marquínez Ferrándiz afbdd3acc3 [rai] Convert to new subtitles system
Philipp Hagemeister 9789d7535d [xtube] Fix test case
Jaime Marquínez Ferrándiz 01561da142 [nrk] Convert to new subtitles system
Jaime Marquínez Ferrándiz 0af25f784b [mtv] Convert to new subtitles system