mirror of
https://github.com/soimort/you-get.git
synced 2025-01-24 05:55:02 +03:00
[common]revert #1940 for it breaks sohu
This commit is contained in:
parent
ee50695951
commit
dbe272a8af
@ -545,6 +545,7 @@ def url_save(url, filepath, bar, refer = None, is_part = False, faker = False, h
|
||||
headers = headers
|
||||
else:
|
||||
headers = {}
|
||||
if received:
|
||||
headers['Range'] = 'bytes=' + str(received) + '-'
|
||||
if refer:
|
||||
headers['Referer'] = refer
|
||||
|
Loading…
Reference in New Issue
Block a user