Philipp Hagemeister
1283204917
[http] PEP8 ( #4831 )
10 years ago
light94
e77d2975af
Handling Connection Reset by Peer Error
10 years ago
Philipp Hagemeister
881e6a1f5c
Add --xattr-set-filesize option ( Fixes #1348 )
10 years ago
Jaime Marquínez Ferrándiz
e1554a407d
[extractors] Use http_headers for setting the User-Agent and the Referer
10 years ago
Jaime Marquínez Ferrándiz
3fcfb8e9fa
[utils] YoutubeDLHandler: don't use 'Youtubedl-user-agent' for overriding the default user agent
...
Setting the 'User-Agent' header is enough
10 years ago
Philipp Hagemeister
1cc79574fc
Fix imports and general cleanup
...
· 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
10 years ago
Philipp Hagemeister
4d2d638df4
[http] Modernize
10 years ago
Philipp Hagemeister
b686fc18da
[hlsnative] Support test parameter
10 years ago
Sergey M․
88a23aef5a
[http] Avoid closing stdout ( Fixes #3686 )
10 years ago
Philipp Hagemeister
d769be6c96
[grooveshark,http] Make HTTP POST downloads work
10 years ago
SyxbEaEQ2
c7667c2d7f
[downloader/(common/http)] Changes calculation of the rate-limit. ( Fix #2297 , fix #2140 , fix #595 , fix #2370 )
10 years ago
Sergey M․
32fd27ec98
[http] Fix string/None comparison with int while in test
10 years ago
Sergey M․
df297c8794
[http] Improve download mechanism when Range HTTP header is ignored
10 years ago
Sergey M․
a59e40a1ea
Replace 'referer' with 'http_referer'
11 years ago
Sergey M․
1d0e49e1c7
Use explicitly set Referer header for downloading
11 years ago
Jaime Marquínez Ferrándiz
22ff5d2105
[http] Use the `YoutubeDL.urlopen` method
11 years ago
rzhxeo
60daf7f0bb
Set resume_len to 0 if download is restarted
11 years ago
Jaime Marquínez Ferrándiz
f89197d73e
Some pep8 style fixes
11 years ago
Jaime Marquínez Ferrándiz
7976fcac55
[http] Fix ‘err’ variable not being assigned in an except block ( #2045 )
11 years ago
Philipp Hagemeister
dabc127362
Remove dead code
11 years ago
Philipp Hagemeister
1538eff6d8
[bliptv] Remove support for direct downloads
...
This is now handled by the generic IE
11 years ago
Jaime Marquínez Ferrándiz
3bc2ddccc8
Move FileDownloader to its own module and create a new class for each 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
11 years ago