Fix Filmpertutti
This commit is contained in:
@@ -35,18 +35,17 @@ def mainlist(item):
|
|||||||
@support.scrape
|
@support.scrape
|
||||||
def peliculas(item):
|
def peliculas(item):
|
||||||
support.info()
|
support.info()
|
||||||
#debug = True
|
# debug = True
|
||||||
#debugBlock = True
|
#debugBlock = True
|
||||||
|
# support.dbg()
|
||||||
|
|
||||||
if item.args != 'newest':
|
if item.args != 'newest':
|
||||||
patronBlock = r'<ul class="posts">(?P<block>.*)<\/ul>'
|
patronBlock = r'<ul class="posts">(?P<block>.*)<\/ul>'
|
||||||
patron = r'<li><a href="(?P<url>[^"]+)" data-thumbnail="(?P<thumb>[^"]+)">.*?<div class="title[^"]*">(?P<title>.+?)(?:\[(?P<lang>Sub-ITA)\])?(?:[ ]\[?(?P<quality>[HD]+)?\])?(?:[ ]\((?P<year>\d+)\)?)?<\/div>'
|
patron = r'<li><a href="(?P<url>[^"]+)" data-thumbnail="(?P<thumb>[^"]+)">.*?<div class="title[^"]*">(?P<title>.+?)(?:\[(?P<lang>Sub-ITA)\])?(?:[ ]\[?(?P<quality>[HD]+)?\])?(?:[ ]\((?P<year>\d+)\)?)?<\/div>'
|
||||||
patronNext = r'<a href="([^"]+)" >Pagina'
|
patronNext = r'<a href="([^"]+)[^>]+>Pagina'
|
||||||
|
|
||||||
else:
|
else:
|
||||||
patronBlock = r'<ul class="posts">(?P<block>.*)<div class="clear[^"]*">'
|
patronBlock = r'<ul class="posts">(?P<block>.*)<div class="clear[^"]*">'
|
||||||
patron = r'<li>\s?<a href="(?P<url>[^"]+)" data-thumbnail="(?P<thumb>[^"]+)">.*?<div class="title[^"]*">(?P<title>.+?)(?:\s\[(?P<quality>HD)\])?<\/div><div class="episode[^"]*"[^>]+>(?P<episode>[^<(]+)(?:\((?P<lang>[a-zA-Z\-]+)\))?'
|
patron = r'<li>\s?<a href="(?P<url>[^"]+)" data-thumbnail="(?P<thumb>[^"]+)">.*?<div class="title[^"]*">(?P<title>.+?)(?:\s\[(?P<quality>HD)\])?<\/div><div class="episode[^"]*"[^>]+>(?P<episode>[^<(]+)(?:\((?P<lang>[a-zA-Z\-]+)\))?'
|
||||||
pagination = ''
|
|
||||||
|
|
||||||
if item.args == 'search':
|
if item.args == 'search':
|
||||||
action = 'select'
|
action = 'select'
|
||||||
@@ -58,7 +57,7 @@ def peliculas(item):
|
|||||||
action = 'select'
|
action = 'select'
|
||||||
|
|
||||||
def itemHook(item):
|
def itemHook(item):
|
||||||
item.title = item.title.replace(r'-', ' ')
|
item.title = item.title.replace(' - La Serie', '')
|
||||||
return item
|
return item
|
||||||
|
|
||||||
return locals()
|
return locals()
|
||||||
|
|||||||
Reference in New Issue
Block a user