aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
AgeCommit message (Collapse)Author
2015-02-02[ntvde] Add new extractor (Fixes #4850)Philipp Hagemeister
2015-02-01Appease pyflakes8-3Philipp Hagemeister
2015-01-29[utils] YoutubeDLHTTPSHandler.https_open: pass all required arguments to do_openJaime Marquínez Ferrándiz
With this change the '--no-check-certificate' works again (#4807).
2015-01-25Add --list-thumbnailsPhilipp Hagemeister
2015-01-24[utils] YoutubeDLHandler: don't use 'Youtubedl-user-agent' for overriding ↵Jaime Marquínez Ferrándiz
the default user agent Setting the 'User-Agent' header is enough
2015-01-23[downloader] Improve downloader selectionPhilipp Hagemeister
2015-01-23[utils] Catch strange Windows errors (Closes #4733)Philipp Hagemeister
2015-01-23[utils] Simplify HTTPS socket creationPhilipp Hagemeister
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.
2015-01-23Merge remote-tracking branch 'derrotebaron/master'Philipp Hagemeister
2015-01-23[generic] Add support for BOMs (Fixes #4753)Philipp Hagemeister
2015-01-22[hearthisat] Add support for more high-quality download linksPhilipp Hagemeister
2015-01-16[fourtube] Fix extractionPhilipp Hagemeister
2015-01-15[ssl] Correct connect creationPhilipp Hagemeister
We want to authenticate the server, see https://docs.python.org/dev/library/ssl.html#ssl.Purpose.SERVER_AUTH .
2015-01-14[utils] Add additional format to unified_strdateNaglis Jonaitis
2015-01-12[utils] Prevent override of custom headers.Johannes Knoedtel
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.
2015-01-12[utils] Disallow non string types in parse_duration (Closes #4679)Sergey M․
2015-01-11[utils] Improve colon handling (Fixes #4683)Philipp Hagemeister
2015-01-10[utils] Fix call to _create_http_connectionPhilipp Hagemeister
Avoid confusion over args/kwargs.
2015-01-10Add new option --source-addressPhilipp Hagemeister
Closes #3618, fixes #721, fixes #2481, fixes #4551, closes #1020.
2015-01-10[utils] Clarify more day-month-first ambiguous formatsSergey M․
2015-01-09[netzkino] Add new extractor (Fixes #4669)Philipp Hagemeister
2015-01-07Respect age_limit when listing extractors (Fixes #4653)Philipp Hagemeister
2015-01-04utils: Remove blank line at the end of fileJaime Marquínez Ferrándiz
2015-01-04[soulanime] Fix under Python 3Philipp Hagemeister
2014-12-30Add documentation about supported sites (Fixes #4503)Philipp Hagemeister
2014-12-17Improve code stylePhilipp Hagemeister
2014-12-14Improve and test ffmpeg version detectionPhilipp Hagemeister
2014-12-13[utils] Do not make an exception for SSLv3Philipp Hagemeister
SSLv3 is terminally vulnerable to POODLE; web browsers are currently deprecating/removing it. Closes #4459, fixes #4294
2014-12-13[utils] Make ssl work on Python 2.7.8Philipp Hagemeister
2014-12-12[utils] make_HTTPS_handler: Remove try/except block that would always raise ↵Jaime Marquínez Ferrándiz
an exception This code is only run for Python < 3.4, where context.load_default_certs doesn't exist
2014-12-12[utils] make_HTTPS_handler: Use ssl.create_default_context in Python 2.7.9Jaime Marquínez Ferrándiz
The new features in the ssl module have been backported from 3.4, see https://docs.python.org/dev/whatsnew/2.7.html#pep-466-network-security-enhancements-for-python-2-7
2014-12-12Merge remote-tracking branch 'grompe/patch-1'Philipp Hagemeister
2014-12-12Revert "[utils] Work around PyPy stupidity with Windows DLLs (Fixes #4392)"Philipp Hagemeister
This reverts commit 16040f46d64bad8dcc5f948288ef469dd787d3d3.
2014-12-12[utils] Work around PyPy stupidity with Windows DLLs (Fixes #4392)Philipp Hagemeister
2014-12-12[cinchcast] Add new extractor (Fixes #4428)Philipp Hagemeister
2014-12-11[utils] Add "yesterday" as a date keywordPhilipp Hagemeister
2014-12-09Fix PEP8 issue E713Jaime Marquínez Ferrándiz
2014-12-06Fix utils.py for PyPy on WindowsGrom PE
The line ```python from __future__ import unicode_literals ``` introduced in commit [ecc0c5ee01f0e5bdd6af0c32cb5b4adcb2a2f78c](https://github.com/rg3/youtube-dl/commit/ecc0c5ee01f0e5bdd6af0c32cb5b4adcb2a2f78c) broke youtube-dl for PyPy on Windows, making it unable to locate WinAPI functions. Error: "TypeError: function name must be a string or integer" Adding "b" prefix to strings with WinAPI function names fixes it.
2014-12-06[ffmpeg] Improve version check and call it from hls (Fixes #4377)Philipp Hagemeister
2014-12-04[minhateca] Fix duration parsingPhilipp Hagemeister
2014-12-04[minhateca] Add extractor (Fixes #4094)Philipp Hagemeister
2014-11-26[utils] remove useless u prefixPhilipp Hagemeister
2014-11-25[xminus] Simplify and extend (#4302)Philipp Hagemeister
2014-11-23Fix all PEP8 issues except E501Philipp Hagemeister
2014-11-23PEP8 appliedJouke Waleson
2014-11-23Provide guidance when called with a YouTube ID starting with a dash.Philipp Hagemeister
Reported at https://news.ycombinator.com/item?id=8648121
2014-11-20[utils] Improve update on error message somewhatPhilipp Hagemeister
We still may want to implement a bulletproof check for the current version, and a better place to add this message so that it works for all kind of other errors too.
2014-11-20Fix "ERROR: Cannot write metadata to JSON file" on WindowsIvan Kozik
Fixes #4246
2014-11-20Fix UnicodeEncodeError with --write-info-json on Python 2.7 + WindowsIvan Kozik
Fixes #4244
2014-11-19[cache] Fix writing to paths with unicode charactersJaime Marquínez Ferrándiz
* Use "compat_getenv" * "write_json_file" now expects the filename to be a string