aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
AgeCommit message (Collapse)Author
2015-03-27Don't use bare 'except:'Jaime Marquínez Ferrándiz
They catch any exception, including KeyboardInterrupt, we don't want to catch it.
2015-03-26[utils] Escape all HTML entities written in hexadecimal formNaglis Jonaitis
2015-03-17[utils] Place sanitize url function near other sanitizing functionsSergey M․
2015-03-17Merge branch 'sohu_fix' of https://github.com/yan12125/youtube-dl into ↵Sergey M․
yan12125-sohu_fix
2015-03-10[utils] Keep dot and dotdot unmodified (Closes #5171)Sergey M․
2015-03-08[utils] Disallow trailing dot in sanitize_path for a path partSergey M․
2015-03-08[utils] Fix sanitize_openSergey M․
2015-03-08[utils] Add sanitize_pathSergey M․
2015-03-06[utils] Add a function to sanitize consecutive slashes in URLsYen Chi Hsuan
2015-03-03[utils] Correct per-request proxy handlingPhilipp Hagemeister
2015-03-03[letv] Add --cn-verification-proxy (Closes #5077)Philipp Hagemeister
2015-03-02[utils] Streap leading dotsPhilipp Hagemeister
Fixes #2865, closes #5087
2015-02-28Use shutil.get_terminal_size for getting the terminal width if it's ↵Jaime Marquínez Ferrándiz
available (python >= 3.3)
2015-02-26[airmozilla] Be more tolerant when nonessential items are missing (#5030)Philipp Hagemeister
2015-02-26[utils] Bump our user agentPhilipp Hagemeister
2015-02-24[utils] Prevent hyphen at beginning of filename (Fixes #5035)Philipp Hagemeister
2015-02-21PEP8: W503Philipp Hagemeister
2015-02-19[sandia] Add new extractor (#4974)Philipp Hagemeister
2015-02-18[utils] Fix js_to_jsonPhilipp Hagemeister
Previously, the runtime could be atrocious for longer inputs.
2015-02-13[Yam] Add new extractorYen Chi Hsuan
2015-02-12[camdemy] Simplify and make more robust (#4938)Philipp Hagemeister
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.
2015-02-10[YoutubeDL] Add generic video filtering (Fixes #4916)Philipp Hagemeister
This functionality is intended to eventually encompass the current format filtering.
2015-02-03[wsj] Add new extractor (Fixes #4854)Philipp Hagemeister
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