aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader/http.py
AgeCommit message (Collapse)Author
2023-09-24[downloader] Fix baa6c5e: show ETA of http download as ETA instead of total ↵dirkf
d/l time
2023-03-19[downloader/http] Only check for resumability when actually resumingdirkf
2023-03-14[FragmentFD] Respect `--no-continue`dirkf
* discard partial fragment on `--no-continue` * continue with correct progress display otherwise Resolves #21467
2020-11-21[downloader/http] Fix crash during urlopen caused by missing reason of URLErrorSergey M․
2020-09-22[downloader/http] Properly handle missing message in SSLError (closes #26646)Sergey M․
2020-09-22[downloader/http] Fix access to not yet opened stream in retrySergey M․
2020-09-18[downloader/http] Improve timeout detection when reading block of data (refs ↵Sergey M․
#10935)
2020-09-18[downloader/http] Retry download when urlopen times out (#26603) (refs #10935)Ori Avtalion
2020-05-05[downloader/http] Request last data block of exact remaining sizeSergey M․
Always request last data block of exact size remaining to download if possible not the current block size.
2020-05-05[downloader/http] Finish downloading once received data length matches expectedSergey M․
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.
2019-05-11Fix W504 and disable W503 (closes #20863)Sergey M․
2019-03-11Start moving to ytdl-orgSergey M․
2018-06-12[downloader/http] Fix resume when writing ot stdout (closes #16699)Sergey M․
2018-02-04[downloader/http] Randomize HTTP chunk sizeSergey M․
2018-02-04[downloader/http] Add ability to pass downloader options via info dictSergey M․
2018-02-04[downloader/http] Fix 302 infinite loops by not reusing requestsSergey M․
2018-02-03Introduce --http-chunk-sizeSergey M․
2017-12-13[downloader/http] Return actual download result (closes #14971)Sergey M․
2017-08-27[http] Rework HTTP downloaderSergey M․
* 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
2017-04-24[downloader/fragment] Use temp file for current fragmentSergey M․
2017-04-19[fragment,hls,f4m,dash,ism] improve fragment downloadingRemita Amine
- 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
2016-10-01[downloader/http] xattr values should be bytesYen Chi Hsuan
2016-10-01[downloader/http] Use write_xattr function for --xattr-set-filesizeYen Chi Hsuan
2016-02-14[refactor] Single quotes consistencySergey M․
2016-02-14[refactor] Do not specify redundant None as second argument in dict.get()Sergey M․
2015-11-23Switch codebase to use sanitized_Request instead ofSergey M?
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
2015-08-03[downloader/http] Clarify rationale for Content-Range check (#6426)Sergey M․
2015-08-03[downloader/http] Report unable to resumeSergey M․
2015-08-03[downloader/http] SimplifySergey M․
2015-08-03[utils] import reremitamine
2015-08-03[utils] restart download if server does not support byte rangesremitamine
2015-05-02Remove code that was only used by the Grooveshark extractorJaime Marquínez Ferrándiz
2015-03-28Default to continuedl=TruePhilipp Hagemeister
We already do this in the CLI interface, so it should be just fine.
2015-03-04[downloader/http] Add missing fields for _hook_progress callJaime Marquínez Ferrándiz
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)
2015-03-03[downloader/http] Remove wrong '_hook_progress' call (fixes #5117)Jaime Marquínez Ferrándiz
2015-02-17Merge branch 'progress-as-hook2'Philipp Hagemeister
2015-02-17[downloader] Remove various unneeded assignments and importsPhilipp Hagemeister
2015-02-17[downloader/http] Remove gruesome importPhilipp Hagemeister
2015-02-17[YoutubeDL] Use a progress hook for progress reportingPhilipp Hagemeister
Instead of every downloader calling two helper functions, let our progress report be an ordinary progress hook like everyone else's. Closes #4875.
2015-02-02[http] PEP8 (#4831)Philipp Hagemeister
2015-02-01Handling Connection Reset by Peer Errorlight94
2015-01-25Add --xattr-set-filesize option (Fixes #1348)Philipp Hagemeister
2015-01-24[extractors] Use http_headers for setting the User-Agent and the RefererJaime Marquínez Ferrándiz
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
2014-12-13Fix imports and general cleanupPhilipp Hagemeister
· 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
2014-12-12Merge remote-tracking branch 'SyxbEaEQ2/rate-limit'Philipp Hagemeister
2014-11-26[http] ModernizePhilipp Hagemeister
2014-09-24[hlsnative] Support test parameterPhilipp Hagemeister
2014-09-05[http] Avoid closing stdout (Fixes #3686)Sergey M․
2014-08-24[grooveshark,http] Make HTTP POST downloads workPhilipp Hagemeister