Fix whitespace.

master
voussoir 2022-08-03 18:38:30 -07:00
parent d040c65af6
commit eb4c48cbca
No known key found for this signature in database
GPG Key ID: 5F7554F8C26DACCB
1 changed files with 7 additions and 5 deletions

View File

@ -298,10 +298,12 @@ def handle_vidme(url, customname=None):
pagedata = pagedata[0]
pagedata = pagedata.split('content="')[1].split('"')[0]
pagedata = pagedata.replace('&', '&')
headers = {'Referer': 'https://vid.me/',
headers = {
'Referer': 'https://vid.me/',
'Range':'bytes=0-',
'Host':'d1wst0behutosd.cloudfront.net',
'Cache-Control':'max-age=0'}
'Cache-Control':'max-age=0'
}
return download_file(pagedata, customname, headers=headers)
@ -387,7 +389,7 @@ HANDLERS = {
'youtube.com': handle_youtube,
'youtu.be': handle_youtube,
'twitter.com': handle_twitter
}
}
def handle_master(url, customname=None):
print('Handling %s' % url)