about summary refs log tree commit diff
path: root/youtube_dl/downloader/http.py
Commit message (Collapse)AuthorAgeFilesLines
* [downloader] Fix baa6c5e: show ETA of http download as ETA instead of total ↵dirkf2023-09-241-1/+1
| | | | d/l time
* [downloader/http] Only check for resumability when actually resumingdirkf2023-03-191-1/+2
|
* [FragmentFD] Respect `--no-continue`dirkf2023-03-141-9/+6
| | | | | | | * discard partial fragment on `--no-continue` * continue with correct progress display otherwise Resolves #21467
* [downloader/http] Fix crash during urlopen caused by missing reason of URLErrorSergey M․2020-11-211-1/+3
|
* [downloader/http] Properly handle missing message in SSLError (closes #26646)Sergey M․2020-09-221-1/+1
|
* [downloader/http] Fix access to not yet opened stream in retrySergey M․2020-09-221-3/+4
|
* [downloader/http] Improve timeout detection when reading block of data (refs ↵Sergey M․2020-09-181-3/+5
| | | | #10935)
* [downloader/http] Retry download when urlopen times out (#26603) (refs #10935)Ori Avtalion2020-09-181-1/+6
|
* [downloader/http] Request last data block of exact remaining sizeSergey M․2020-05-051-1/+1
| | | | Always request last data block of exact size remaining to download if possible not the current block size.
* [downloader/http] Finish downloading once received data length matches expectedSergey M․2020-05-051-1/+1
| | | | | Always do this if possible, i.e. if Content-Length or expected length is known, not only in test. This will save unnecessary last extra loop trying to read 0 bytes.
* Fix W504 and disable W503 (closes #20863)Sergey M․2019-05-111-7/+7
|
* Start moving to ytdl-orgSergey M․2019-03-111-1/+1
|
* [downloader/http] Fix resume when writing ot stdout (closes #16699)Sergey M․2018-06-121-2/+3
|
* [downloader/http] Randomize HTTP chunk sizeSergey M․2018-02-041-4/+8
|
* [downloader/http] Add ability to pass downloader options via info dictSergey M․2018-02-041-0/+1
|
* [downloader/http] Fix 302 infinite loops by not reusing requestsSergey M․2018-02-041-9/+3
|
* Introduce --http-chunk-sizeSergey M․2018-02-031-22/+79
|
* [downloader/http] Return actual download result (closes #14971)Sergey M․2017-12-131-2/+1
|
* [http] Rework HTTP downloaderSergey M․2017-08-271-151/+196
| | | | | | | | | * Simplify code and split into separate routines to facilitate maintaining * Make retry mechanism work on errors during actual download not only during connection establishment phase * Retry on ECONNRESET and ETIMEDOUT during reading data from network * Retry on content too short and various timeout errors * Show error description on retry * Closes #506, closes #809, closes #2849, closes #4240, closes #6023, closes #8625, closes #9483
* [downloader/fragment] Use temp file for current fragmentSergey M․2017-04-241-6/+2
|
* [fragment,hls,f4m,dash,ism] improve fragment downloadingRemita Amine2017-04-191-2/+6
| | | | | | | | | - resume immediately - no need to concatenate segments and decrypt them on every resume - no need to save temp files for segments and for hls downloader: - no need to download keys for segments that already downloaded
* [downloader/http] xattr values should be bytesYen Chi Hsuan2016-10-011-1/+1
|
* [downloader/http] Use write_xattr function for --xattr-set-filesizeYen Chi Hsuan2016-10-011-3/+5
|
* [refactor] Single quotes consistencySergey M․2016-02-141-2/+2
|
* [refactor] Do not specify redundant None as second argument in dict.get()Sergey M․2016-02-141-2/+2
|
* 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
| |