fix repelis.live

fix request to get embed link
This commit is contained in:
GeorgeRamga
2018-12-14 00:36:31 -06:00
committed by GitHub
parent c462d38d83
commit aac49e11c3

View File

@@ -168,6 +168,7 @@ def findvideos(item):
matches = re.compile(patron, re.DOTALL).findall(data)
for url, language in matches:
url = url.replace('&','&')
data = httptools.downloadpage(url, follow_redirects=False, headers={'Referer':item.url}, only_headers=True)
url = data.headers['location']