aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/downloader/http.py
Commit message (Collapse)AuthorAgeFilesLines
* Switch codebase to use sanitized_Request instead ofSergey M?2015-11-231-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compat_urllib_request.Request [downloader/dash] Use sanitized_Request [downloader/http] Use sanitized_Request [atresplayer] Use sanitized_Request [bambuser] Use sanitized_Request [bliptv] Use sanitized_Request [brightcove] Use sanitized_Request [cbs] Use sanitized_Request [ceskatelevize] Use sanitized_Request [collegerama] Use sanitized_Request [extractor/common] Use sanitized_Request [crunchyroll] Use sanitized_Request [dailymotion] Use sanitized_Request [dcn] Use sanitized_Request [dramafever] Use sanitized_Request [dumpert] Use sanitized_Request [eitb] Use sanitized_Request [escapist] Use sanitized_Request [everyonesmixtape] Use sanitized_Request [extremetube] Use sanitized_Request [facebook] Use sanitized_Request [fc2] Use sanitized_Request [flickr] Use sanitized_Request [4tube] Use sanitized_Request [gdcvault] Use sanitized_Request [extractor/generic] Use sanitized_Request [hearthisat] Use sanitized_Request [hotnewhiphop] Use sanitized_Request [hypem] Use sanitized_Request [iprima] Use sanitized_Request [ivi] Use sanitized_Request [keezmovies] Use sanitized_Request [letv] Use sanitized_Request [lynda] Use sanitized_Request [metacafe] Use sanitized_Request [minhateca] Use sanitized_Request [miomio] Use sanitized_Request [meovideo] Use sanitized_Request [mofosex] Use sanitized_Request [moniker] Use sanitized_Request [mooshare] Use sanitized_Request [movieclips] Use sanitized_Request [mtv] Use sanitized_Request [myvideo] Use sanitized_Request [neteasemusic] Use sanitized_Request [nfb] Use sanitized_Request [niconico] Use sanitized_Request [noco] Use sanitized_Request [nosvideo] Use sanitized_Request [novamov] Use sanitized_Request [nowness] Use sanitized_Request [nuvid] Use sanitized_Request [played] Use sanitized_Request [pluralsight] Use sanitized_Request [pornhub] Use sanitized_Request [pornotube] Use sanitized_Request [primesharetv] Use sanitized_Request [promptfile] Use sanitized_Request [qqmusic] Use sanitized_Request [rtve] Use sanitized_Request [safari] Use sanitized_Request [sandia] Use sanitized_Request [shared] Use sanitized_Request [sharesix] Use sanitized_Request [sina] Use sanitized_Request [smotri] Use sanitized_Request [sohu] Use sanitized_Request [spankwire] Use sanitized_Request [sportdeutschland] Use sanitized_Request [streamcloud] Use sanitized_Request [streamcz] Use sanitized_Request [tapely] Use sanitized_Request [tube8] Use sanitized_Request [tubitv] Use sanitized_Request [twitch] Use sanitized_Request [twitter] Use sanitized_Request [udemy] Use sanitized_Request [vbox7] Use sanitized_Request [veoh] Use sanitized_Request [vessel] Use sanitized_Request [vevo] Use sanitized_Request [viddler] Use sanitized_Request [videomega] Use sanitized_Request [viewvster] Use sanitized_Request [viki] Use sanitized_Request [vk] Use sanitized_Request [vodlocker] Use sanitized_Request [voicerepublic] Use sanitized_Request [wistia] Use sanitized_Request [xfileshare] Use sanitized_Request [xtube] Use sanitized_Request [xvideos] Use sanitized_Request [yandexmusic] Use sanitized_Request [youku] Use sanitized_Request [youporn] Use sanitized_Request [youtube] Use sanitized_Request [patreon] Use sanitized_Request [extractor/common] Remove unused import [nfb] PEP 8
* [downloader/http] Clarify rationale for Content-Range check (#6426)Sergey M․2015-08-031-4/+11
|
* [downloader/http] Report unable to resumeSergey M․2015-08-031-0/+1
|
* [downloader/http] SimplifySergey M․2015-08-031-7/+3
|
* [utils] import reremitamine2015-08-031-0/+1
|
* [utils] restart download if server does not support byte rangesremitamine2015-08-031-0/+14
|
* Remove code that was only used by the Grooveshark extractorJaime Marquínez Ferrándiz2015-05-021-7/+2
|
* Default to continuedl=TruePhilipp Hagemeister2015-03-281-1/+1
| | | | We already do this in the CLI interface, so it should be just fine.
* [downloader/http] Add missing fields for _hook_progress callJaime Marquínez Ferrándiz2015-03-041-0/+2
| | | | | | It would fail if you run 'youtube-dl --no-part URL' a second time when the file has already been downloaded. (Reported in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1195779)
* [downloader/http] Remove wrong '_hook_progress' call (fixes #5117)Jaime Marquínez Ferrándiz2015-03-031-6/+0
|
* Merge branch 'progress-as-hook2'Philipp Hagemeister2015-02-171-7/+11
|\
| * [downloader] Remove various unneeded assignments and importsPhilipp Hagemeister2015-02-171-4/+1
| |
| * [YoutubeDL] Use a progress hook for progress reportingPhilipp Hagemeister2015-02-171-3/+10
| | | | | | | | | | Instead of every downloader calling two helper functions, let our progress report be an ordinary progress hook like everyone else's. Closes #4875.
* | [downloader/http] Remove gruesome importPhilipp Hagemeister2015-02-171-4/+3
|/
* [http] PEP8 (#4831)Philipp Hagemeister2015-02-021-3/+3
|
* Handling Connection Reset by Peer Errorlight942015-02-011-0/+8
|
* Add --xattr-set-filesize option (Fixes #1348)Philipp Hagemeister2015-01-251-0/+8
|
* [extractors] Use http_headers for setting the User-Agent and the RefererJaime Marquínez Ferrándiz2015-01-241-4/+0
|
* [utils] YoutubeDLHandler: don't use 'Youtubedl-user-agent' for overriding ↵Jaime Marquínez Ferrándiz2015-01-241-1/+1
| | | | | | the default user agent Setting the 'User-Agent' header is enough
* Fix imports and general cleanupPhilipp Hagemeister2014-12-131-2/+3
| | | | | | | | · Import from compat what comes from compat. Yes, some names are available in utils too, but that's an implementation detail. · Use _match_id consistently whenever possible · Fix some outdated tests · Use consistent valid URL (always match the whole protocol, no ^ at start required) · Use modern test definitions
* Merge remote-tracking branch 'SyxbEaEQ2/rate-limit'Philipp Hagemeister2014-12-121-8/+21
|\
| * [downloader/(common/http)] Changes calculation of the rate-limit. (Fix ↵SyxbEaEQ22014-07-311-8/+21
| | | | | | | | #2297, fix #2140, fix #595, fix #2370)
* | [http] ModernizePhilipp Hagemeister2014-11-261-9/+11
| |
* | [hlsnative] Support test parameterPhilipp Hagemeister2014-09-241-2/+0
| |
* | [http] Avoid closing stdout (Fixes #3686)Sergey M․2014-09-051-1/+2
| |
* | [grooveshark,http] Make HTTP POST downloads workPhilipp Hagemeister2014-08-241-2/+10
|/
* [http] Fix string/None comparison with int while in testSergey M․2014-04-301-1/+1
|
* [http] Improve download mechanism when Range HTTP header is ignoredSergey M․2014-04-271-3/+19
|
* Replace 'referer' with 'http_referer'Sergey M․2014-03-251-2/+2
|
* Use explicitly set Referer header for downloadingSergey M․2014-03-251-0/+2
|
* [http] Use the `YoutubeDL.urlopen` methodJaime Marquínez Ferrándiz2014-03-071-2/+2
|
* Set resume_len to 0 if download is restartedrzhxeo2014-02-261-0/+1
|
* Some pep8 style fixesJaime Marquínez Ferrándiz2014-01-251-3/+3
|
* [http] Fix ‘err’ variable not being assigned in an except block (#2045)Jaime Marquínez Ferrándiz2013-12-311-1/+1
|
* Remove dead codePhilipp Hagemeister2013-12-231-3/+0
|
* [bliptv] Remove support for direct downloadsPhilipp Hagemeister2013-12-231-2/+0
| | | | This is now handled by the generic IE
* Move FileDownloader to its own module and create a new class for each ↵Jaime Marquínez Ferrándiz2013-12-111-0/+191
download process A suitable downloader can be found using the 'get_suitable_downloader' function. Each subclass implements 'real_download', for downloading an info dict you call the 'download' method, which first checks if the video has already been downloaded