Fix animeworld e VVVVID(beta)
This commit is contained in:
@@ -124,7 +124,9 @@ def peliculas(item):
|
||||
@support.scrape
|
||||
def episodios(item):
|
||||
anime=True
|
||||
patronBlock= r'<div class="server\s*active\s*"(?P<block>.*?)</ul>'
|
||||
data = support.match(item, headers=headers)[1]
|
||||
if 'VVVVID' in data: patronBlock= r'<div class="server\s*active\s*"(?P<block>.*?)</ul>'
|
||||
else: patronblock= 'server active(?P<block>.*?)server hidden'
|
||||
patron = r'<li><a [^=]+="[^"]+"[^=]+="[^"]+"[^=]+="[^"]+"[^=]+="[^"]+"[^=]+="[^"]+" href="(?P<url>[^"]+)"[^>]+>(?P<episode>[^<]+)<'
|
||||
def itemHook(item):
|
||||
item.title += support.typo(item.fulltitle,'-- bold')
|
||||
|
||||
@@ -72,8 +72,7 @@ def peliculas(item):
|
||||
|
||||
elif ('=' not in item.args) and ('=' not in item.url):
|
||||
json_file = current_session.get(item.url + item.args, headers=headers, params=payload).json()
|
||||
for key in json_file['data']:
|
||||
make_itemlist(itemlist, item, json_file)
|
||||
make_itemlist(itemlist, item, json_file)
|
||||
|
||||
elif '=' in item.args:
|
||||
json_file = current_session.get(item.url + 'channels', headers=headers, params=payload).json()
|
||||
|
||||
Reference in New Issue
Block a user