Fix AW e AS

This commit is contained in:
Alhaziel01
2020-08-03 09:21:15 +02:00
parent 0959ff5b7c
commit d9bc044bdc
2 changed files with 11 additions and 5 deletions
+5 -2
View File
@@ -20,11 +20,14 @@ def order():
def get_data(item, head=[]):
global headers
jstr = ''
for h in head:
headers[h[0]] = h[1]
if not item.count: item.count = 0
jstr, location = support.match(item, patron=r'<script>(.*?location.href=".*?(http[^"]+)";)</').match
item.url=support.re.sub(r':\d+', '', location).replace('http://','https://')
matches = support.match(item, patron=r'<script>(.*?location.href=".*?(http[^"]+)";)</').match
if matches:
jstr, location = matches
item.url=support.re.sub(r':\d+', '', location).replace('http://','https://')
if not config.get_setting('key', item.channel) and jstr:
jshe = 'var document = {}, location = {}'
aesjs = str(support.match(host + '/aes.min.js').data)