aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/downloader/common.py
Commit message (Collapse)AuthorAgeFilesLines
* [downloader/common] Always skip "already downloaded" check when outputting ↵Sergey M․2015-10-121-1/+1
| | | | to stdout
* [downloader/common] Use decodeArgumentSergey M․2015-04-261-8/+5
|
* Default to continuedl=TruePhilipp Hagemeister2015-03-281-1/+1
| | | | We already do this in the CLI interface, so it should be just fine.
* Don't use bare 'except:'Jaime Marquínez Ferrándiz2015-03-271-1/+1
| | | | They catch any exception, including KeyboardInterrupt, we don't want to catch it.
* [downloader/external] Add support for custom options (Fixes #4885, closes #5098)Philipp Hagemeister2015-03-021-0/+2
|
* PEP8: W503Philipp Hagemeister2015-02-211-5/+5
|
* [YoutubeDL] Use a progress hook for progress reportingPhilipp Hagemeister2015-02-171-32/+55
| | | | | Instead of every downloader calling two helper functions, let our progress report be an ordinary progress hook like everyone else's. Closes #4875.
* Add --xattr-set-filesize option (Fixes #1348)Philipp Hagemeister2015-01-251-15/+17
|
* [downloader] Lay groundwork for external downloaders.Philipp Hagemeister2015-01-241-0/+21
| | | | This comes with a very simply implementation for wget; the real work is in setting up the infrastructure.
* Merge remote-tracking branch 'rupertbaxter2/master'Philipp Hagemeister2015-01-231-0/+6
|\ | | | | | | | | | | Conflicts: youtube_dl/__init__.py youtube_dl/downloader/common.py
| * Removed sleep and sleep output when interval is zerorupertbaxter22014-08-131-2/+3
| |
| * Merge remote-tracking branch 'upstream/master'rupertbaxter22014-08-131-1/+1
| |\
| * | Added --sleep-interval optionrupertbaxter22014-08-031-0/+3
| | |
* | | check for overwriting files in the downloader (fixes #3916, closes #3829)Pierre2015-01-111-1/+12
| | |
* | | [downloader] Handle a file ./- (Fixes #4498)Philipp Hagemeister2014-12-171-1/+1
| | |
* | | [YoutubeDL] Add declarative version of progress hooksPhilipp Hagemeister2014-12-151-15/+2
| | |
* | | Fix imports and general cleanupPhilipp Hagemeister2014-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | · 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
* | | [downloader/common] Do not use classic int divisionPhilipp Hagemeister2014-12-121-1/+1
| | |
* | | Merge remote-tracking branch 'SyxbEaEQ2/rate-limit'Philipp Hagemeister2014-12-121-3/+6
|\ \ \
| * | | [downloader/common] Fix possible negative sleep time in slow_down()SyxbEaEQ22014-08-061-1/+1
| | | |
| * | | [downloader/(common/http)] Changes calculation of the rate-limit. (Fix ↵SyxbEaEQ22014-07-311-6/+9
| |/ / | | | | | | | | | #2297, fix #2140, fix #595, fix #2370)
* | | PEP8 appliedJouke Waleson2014-11-231-3/+3
| | |
* | | [downloader/common] ModernizePhilipp Hagemeister2014-11-161-21/+23
| | |
* | | [hlsnative] Support test parameterPhilipp Hagemeister2014-09-241-0/+1
| |/ |/|
* | [downloader/common] Fix typoSergey M․2014-08-101-1/+1
|/
* [downloader/common] Use `compat_str` with the error in `try_rename` ↵Jaime Marquínez Ferrándiz2014-04-041-2/+3
| | | | | | (appeared in #2389) Otherwise on python 2.x we get `UnicodeDecodeError` because it may contain non ascii characters.
* Some pep8 style fixesJaime Marquínez Ferrándiz2014-01-251-1/+0
|
* Remove dead codePhilipp Hagemeister2013-12-231-7/+3
|
* Move FileDownloader to its own module and create a new class for each ↵Jaime Marquínez Ferrándiz2013-12-111-0/+321
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