This commit is contained in:
Alfa-Addon
2017-09-15 19:39:57 -04:00
parent 8eee309dd5
commit 1602a39028
2 changed files with 61 additions and 98 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
for video_url in matches:
_hash = scrapertools.find_single_match(video_url, '[A-z0-9\_\-]{40,}')
hash = _hash[::-1]
hash = hash.replace(hash[0:1],"",1)
hash = hash.replace(hash[1:2],"",1)
video_url = video_url.replace(_hash, hash)
filename = scrapertools.get_filename_from_url(video_url)[-4:]