diff --git a/channels/animeworld.py b/channels/animeworld.py index 59c36771..2350436e 100644 --- a/channels/animeworld.py +++ b/channels/animeworld.py @@ -124,7 +124,9 @@ def peliculas(item): @support.scrape def episodios(item): anime=True - patronBlock= r'
.*?)' + data = support.match(item, headers=headers)[1] + if 'VVVVID' in data: patronBlock= r'
.*?)' + else: patronblock= 'server active(?P.*?)server hidden' patron = r'
  • ]+>(?P[^<]+)<' def itemHook(item): item.title += support.typo(item.fulltitle,'-- bold') diff --git a/channels/vvvvid.py b/channels/vvvvid.py index c3374097..d8ebe932 100644 --- a/channels/vvvvid.py +++ b/channels/vvvvid.py @@ -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()