diff --git a/channels/altadefinizioneclick.py b/channels/altadefinizioneclick.py index 270dbab5..573e5987 100644 --- a/channels/altadefinizioneclick.py +++ b/channels/altadefinizioneclick.py @@ -138,5 +138,5 @@ def findvideos(item): support.log('findvideos', item) return support.hdpass_get_servers(item) -def play(item): - return support.hdpass_get_url(item) \ No newline at end of file +# def play(item): +# return support.hdpass_get_url(item) \ No newline at end of file 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 + '">(.*?)