aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/utils.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | [ffmpeg] Add dfxp (TTML) subtitles support (#3432, #5146)Yen Chi Hsuan2015-04-251-0/+53
|/
* InfoExtractor._search_regex: Suggest updating when the regex is not found ↵Jaime Marquínez Ferrándiz2015-04-171-7/+12
| | | | | | (suggested in #5442) Reuse the same message from ExtractorError
* [utils] Fix splitunc deprecation warningSergey M․2015-04-161-7/+7
|
* [utils] Remove url_infer_protocolYen Chi Hsuan2015-04-081-11/+0
|
* [udn] Add new extractorYen Chi Hsuan2015-04-081-0/+11
|
* [utils] Avoid treating `*-%Y` date template as UTC offsetSergey M․2015-04-041-1/+2
|
* [utils] Add one more template to unified_strdateSergey M․2015-04-041-0/+2
|
* [utils] Drop trailing comma before closing braceSergey M․2015-04-041-1/+1
|
* Don't use bare 'except:'Jaime Marquínez Ferrándiz2015-03-271-2/+2
| | | | They catch any exception, including KeyboardInterrupt, we don't want to catch it.
* [utils] Escape all HTML entities written in hexadecimal formNaglis Jonaitis2015-03-261-1/+1
|
* [utils] Place sanitize url function near other sanitizing functionsSergey M․2015-03-171-15/+7
|
* Merge branch 'sohu_fix' of https://github.com/yan12125/youtube-dl into ↵Sergey M․2015-03-171-0/+15
|\ | | | | | | yan12125-sohu_fix
| * [utils] Add a function to sanitize consecutive slashes in URLsYen Chi Hsuan2015-03-061-0/+15
| |
* | [utils] Keep dot and dotdot unmodified (Closes #5171)Sergey M․2015-03-101-1/+1
| |
* | [utils] Disallow trailing dot in sanitize_path for a path partSergey M․2015-03-081-1/+1
| |
* | [utils] Fix sanitize_openSergey M․2015-03-081-5/+2
| |
* | [utils] Add sanitize_pathSergey M․2015-03-081-0/+18
|/
* [utils] Correct per-request proxy handlingPhilipp Hagemeister2015-03-031-2/+13
|
* [letv] Add --cn-verification-proxy (Closes #5077)Philipp Hagemeister2015-03-031-0/+10
|
* [utils] Streap leading dotsPhilipp Hagemeister2015-03-021-0/+1
| | | | Fixes #2865, closes #5087
* Use shutil.get_terminal_size for getting the terminal width if it's ↵Jaime Marquínez Ferrándiz2015-02-281-17/+0
| | | | available (python >= 3.3)
* [airmozilla] Be more tolerant when nonessential items are missing (#5030)Philipp Hagemeister2015-02-261-0/+5
|
* [utils] Bump our user agentPhilipp Hagemeister2015-02-261-1/+1
|
* [utils] Prevent hyphen at beginning of filename (Fixes #5035)Philipp Hagemeister2015-02-241-0/+2
|
* PEP8: W503Philipp Hagemeister2015-02-211-2/+2
|
* [sandia] Add new extractor (#4974)Philipp Hagemeister2015-02-191-1/+10
|
* [utils] Fix js_to_jsonPhilipp Hagemeister2015-02-181-2/+2
| | | | Previously, the runtime could be atrocious for longer inputs.
* [Yam] Add new extractorYen Chi Hsuan2015-02-131-4/+16
|
* [camdemy] Simplify and make more robust (#4938)Philipp Hagemeister2015-02-121-13/+14
| | | | | | Do not throw errors if view count or upload date extraction fails. Dispose of re.MULTILINE, which had absolutely no effect without any ^ or $ in sight. Follow PEP8 naming conventions.
* [YoutubeDL] Add generic video filtering (Fixes #4916)Philipp Hagemeister2015-02-101-0/+77
| | | | This functionality is intended to eventually encompass the current format filtering.
* [wsj] Add new extractor (Fixes #4854)Philipp Hagemeister2015-02-031-1/+1
|
* [ntvde] Add new extractor (Fixes #4850)Philipp Hagemeister2015-02-021-2/+7
|
* Appease pyflakes8-3Philipp Hagemeister2015-02-011-3/+4
|
* [utils] YoutubeDLHTTPSHandler.https_open: pass all required arguments to do_openJaime Marquínez Ferrándiz2015-01-291-1/+6
| | | | With this change the '--no-check-certificate' works again (#4807).
* Add --list-thumbnailsPhilipp Hagemeister2015-01-251-0/+8
|
* [utils] YoutubeDLHandler: don't use 'Youtubedl-user-agent' for overriding ↵Jaime Marquínez Ferrándiz2015-01-241-5/+0
| | | | | | the default user agent Setting the 'User-Agent' header is enough
* [downloader] Improve downloader selectionPhilipp Hagemeister2015-01-231-0/+22
|
* [utils] Catch strange Windows errors (Closes #4733)Philipp Hagemeister2015-01-231-0/+3
|
* [utils] Simplify HTTPS socket creationPhilipp Hagemeister2015-01-231-19/+5
| | | | | | We were duplicating (bad) code and doing crazy things with SSL. Just use TLSv1 across the board, and do with one implementation of HTTPSConnection.connect. Fixes #4696.
* Merge remote-tracking branch 'derrotebaron/master'Philipp Hagemeister2015-01-231-1/+3
|\
| * [utils] Prevent override of custom headers.Johannes Knoedtel2015-01-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | The dict of headers of request objects in urllib has its keys always capitalized. This causes the lookup to fail and overwrite the header. If for example a Extractor tries to add a "User-Agent" header the internal representation in the request object is "User-agent". The header is therefore clobbered by the "User-Agent" in std_headers, because the strings are not equal.
* | [generic] Add support for BOMs (Fixes #4753)Philipp Hagemeister2015-01-231-0/+20
| |
* | [hearthisat] Add support for more high-quality download linksPhilipp Hagemeister2015-01-221-0/+8
| |
* | [fourtube] Fix extractionPhilipp Hagemeister2015-01-161-1/+1
| |
* | [ssl] Correct connect creationPhilipp Hagemeister2015-01-151-1/+2
| | | | | | | | We want to authenticate the server, see https://docs.python.org/dev/library/ssl.html#ssl.Purpose.SERVER_AUTH .
* | [utils] Add additional format to unified_strdateNaglis Jonaitis2015-01-141-0/+1
|/
* [utils] Disallow non string types in parse_duration (Closes #4679)Sergey M․2015-01-121-1/+1
|
* [utils] Improve colon handling (Fixes #4683)Philipp Hagemeister2015-01-111-0/+2
|
* [utils] Fix call to _create_http_connectionPhilipp Hagemeister2015-01-101-2/+2
| | | | Avoid confusion over args/kwargs.
* Add new option --source-addressPhilipp Hagemeister2015-01-101-7/+49
| | | | Closes #3618, fixes #721, fixes #2481, fixes #4551, closes #1020.