Fix Animepertutti

This commit is contained in:
Alhaziel01
2020-01-19 11:38:02 +01:00
parent f372c834f1
commit 778e79b391
2 changed files with 5 additions and 5 deletions

View File

@@ -74,10 +74,10 @@ def peliculas(item):
@support.scrape
def episodios(item):
data = support.match(item, headers=headers).data
if not any(x in data for x in ['Lista Episodi', 'Movie Parte']):
data = support.match(item, headers=headers, patronBlock=r'entry-content clearfix">(.*?)class="mh-widget mh-posts-2 widget_text').block
if not 'pagination clearfix' in data:
support.log('NOT IN DATA')
patron = r'(?:iframe src|str)="(?P<url>[^"]+)"'
patron = r'<iframe.*?src="(?P<url>[^"]+)"'
title = item.title
def fullItemlistHook(itemlist):
url = ''
@@ -120,7 +120,7 @@ def findvideos(item):
if item.data:
data = item.data
else:
matches = support.match(item, patron=r'(?:str="([^"]+)"|iframe src="([^"]+)")').matches
matches = support.match(item, patron=r'<iframe.*?src="(?P<url>[^"]+)"').matches
data = ''
if matches:
for match in matches:

View File

@@ -4,7 +4,7 @@
"ignore_urls": [],
"patterns": [
{
"pattern": "mixdrop.co/(?:f|e)/([a-z0-9]+)",
"pattern": "mixdrop.[^/]+/(?:f|e)/([a-z0-9]+)",
"url": "https://mixdrop.co/e/\\1"
}
]