diff --git a/channels/animeworld.py b/channels/animeworld.py index 24832100..c7d09213 100644 --- a/channels/animeworld.py +++ b/channels/animeworld.py @@ -145,48 +145,44 @@ def findvideos(item): import time support.log(item) itemlist = [] - matches = support.match(item, patron=r'class="tab.*?data-name="([0-9]+)">', headers=headers) + matches = support.match(item, patron=r'data-name="([0-9]+)">', headers=headers) data = matches.data matches = matches.matches - videoData = '' + videoData = [] for serverid in matches: - if not item.number: item.number = support.scrapertools.find_single_match(item.title, r'(\d+) -') - block = support.scrapertools.find_multiple_matches(data, 'data-id="' + serverid + '">(.*?)
(.*?)