aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader/common.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-07-18[downloader/external] Fix cookie supportbashonly
2023-07-18[core] Process header cookies on loadingSimon Sawicki
2023-03-14[FragmentFD] Respect `--no-continue`dirkf
* discard partial fragment on `--no-continue` * continue with correct progress display otherwise Resolves #21467
2019-06-05[downloader/common] Improve rate limit (#21301)Sergey M․
2019-05-11Fix W504 and disable W503 (closes #20863)Sergey M․
2018-05-19Remove experimental mark for some optionsSergey M․
2018-03-24[downloader/common] Improve progress reporting when no total bytes availableSergey M․
2018-03-24[downloader/external] Fix download finalization when writing file to stdout ↵John Hawkinson
(closes #10809) An OSError or IOError generally indicates something a little more wrong than a "simple" UnavailableVideoError, so print the actual traceback that leads to the exception. Otherwise meaningful postmortem debugging a bug report is essentially infeasible.
2018-02-17[downloader/common] Add whitespaceSergey M․
2018-02-04Document http_chunk_sizeSergey 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-06-17[downloader/common] Use utils.shell_quote for debug command lineSergey M․
2017-04-19[downloader/fragment] use a general file to store fragment download contextRemita Amine
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
2017-02-25[downloader/common] Limit displaying 2 digits after decimal point in sleep ↵Pratyush Singh
interval message
2016-10-12[downloader/common] Remove debug outputSergey M․
2016-08-09Add more checks for --min/max-sleep-interval arguments and use more ↵Sergey M․
idiomatic naming
2016-08-09Add --max-sleep-interval (Closes #9930)singh-pratyush96
2016-03-19[downloader/{common,fragment}] Fix total retries reporting on python 2.6Sergey M․
2016-03-03[jython] Introduce compat_os_nameYen Chi Hsuan
os.name is always 'java' on Jython
2016-02-14[refactor] Do not specify redundant None as second argument in dict.get()Sergey M․
2016-01-30Add --hls-use-mpegts optionJaime Marquínez Ferrándiz
When using the mpegts container hls vidoes can be played while being downloaded (useful if you are recording a live stream). VLC and mpv play them file, but QuickTime doesn't.
2016-01-22[downloader/common] report_retry: Don't crash when retries is infinite ↵Jaime Marquínez Ferrándiz
(fixes #8299)
2015-12-20Rename error_to_str to error_to_compat_strSergey M․
2015-12-20Properly convert errors to stringsSergey M․
2015-11-20Typo fix, found while going through the code.ashutosh-mishra
2015-10-12[downloader/common] Always skip "already downloaded" check when outputting ↵Sergey M․
to stdout
2015-04-26[downloader/common] Use decodeArgumentSergey M․
2015-03-28Default to continuedl=TruePhilipp Hagemeister
We already do this in the CLI interface, so it should be just fine.
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-02[downloader/external] Add support for custom options (Fixes #4885, closes #5098)Philipp Hagemeister
2015-02-21PEP8: W503Philipp 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-01-25Add --xattr-set-filesize option (Fixes #1348)Philipp Hagemeister
2015-01-24[downloader] Lay groundwork for external downloaders.Philipp Hagemeister
This comes with a very simply implementation for wget; the real work is in setting up the infrastructure.
2015-01-23Merge remote-tracking branch 'rupertbaxter2/master'Philipp Hagemeister
Conflicts: youtube_dl/__init__.py youtube_dl/downloader/common.py
2015-01-11check for overwriting files in the downloader (fixes #3916, closes #3829)Pierre
2014-12-17[downloader] Handle a file ./- (Fixes #4498)Philipp Hagemeister
2014-12-15[YoutubeDL] Add declarative version of progress hooksPhilipp Hagemeister
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-12[downloader/common] Do not use classic int divisionPhilipp Hagemeister
2014-12-12Merge remote-tracking branch 'SyxbEaEQ2/rate-limit'Philipp Hagemeister
2014-11-23PEP8 appliedJouke Waleson
2014-11-16[downloader/common] ModernizePhilipp Hagemeister
2014-09-24[hlsnative] Support test parameterPhilipp Hagemeister
2014-08-13Removed sleep and sleep output when interval is zerorupertbaxter2
2014-08-13Merge remote-tracking branch 'upstream/master'rupertbaxter2
2014-08-10[downloader/common] Fix typoSergey M․
2014-08-06 [downloader/common] Fix possible negative sleep time in slow_down()SyxbEaEQ2