Fix Fastsubita
This commit is contained in:
@@ -32,19 +32,20 @@ list_quality = ['default']
|
|||||||
def mainlist(item):
|
def mainlist(item):
|
||||||
|
|
||||||
Tvshow = [
|
Tvshow = [
|
||||||
('Aggiornamenti', ['', 'peliculas', '', 'tvshow']),
|
('Aggiornamenti', ['', 'peliculas', '', 'update']),
|
||||||
('Per Lettera', ['/elenco-serie-tv/', 'genres', 'genres'])
|
('Per Lettera {TV}', ['/elenco-serie-tv/', 'genres', 'genres']),
|
||||||
|
('Cerca... {TV} bold', ['','search'])
|
||||||
]
|
]
|
||||||
|
|
||||||
search = ''
|
# search = ''
|
||||||
|
|
||||||
return locals()
|
return locals()
|
||||||
|
|
||||||
|
|
||||||
@support.scrape
|
@support.scrape
|
||||||
def peliculas(item):
|
def peliculas(item):
|
||||||
support.log(item)
|
support.log(item)
|
||||||
#support.dbg()
|
# support.dbg()
|
||||||
deflang = 'Sub-ITA'
|
deflang = 'Sub-ITA'
|
||||||
|
|
||||||
action = 'findvideos'
|
action = 'findvideos'
|
||||||
@@ -55,10 +56,10 @@ def peliculas(item):
|
|||||||
action = 'episodios'
|
action = 'episodios'
|
||||||
elif item.args == 'search':
|
elif item.args == 'search':
|
||||||
patronBlock = r'</h1> </header>(?P<block>.*?)</main>'
|
patronBlock = r'</h1> </header>(?P<block>.*?)</main>'
|
||||||
patron = r'(?:<img src="(?P<thumb>[^"]+)"[^>]+>)?[^>]+>[^>]+>[^>]+>[^>]+>[^>]+><a href="(?P<url>[^"]+)"[^>]+>(?:(?P<title>.+?)[ ](?P<episode>[\d&#;\d]+\d+|\d+..\d+)(?: \([a-zA-Z\s]+\) )(?:s\d+e\d+)?[ ]?(?:[&#\d;|.{3}]+)(?P<title2>[^&#\d;|^.{3}]+)(?:|.+?))<'
|
patronMenu = r'(?:<img src="(?P<thumb>[^"]+)"[^>]+>)?[^>]+>[^>]+>[^>]+>[^>]+>[^>]+><a href="(?P<url>[^"]+)"[^>]+>(?:(?P<title>.+?)[ ](?P<episode>[\d&#;\d]+\d+|\d+..\d+)(?: \([a-zA-Z\s]+\) )(?:s\d+e\d+)?[ ]?(?:[&#\d;|.{3}]+)(?P<title2>[^&#\d;|^.{3}]+)(?:|.+?))<'
|
||||||
else:
|
else:
|
||||||
patron = r'<div class="featured-thumb"> <a href="(?P<url>[^"]+)" title="(?:(?P<title>.+?)[ ]?(?P<episode>\d+×\d+).+?“(?P<title2>.+?)”).+?">'
|
patron = r'<div class="featured-thumb"> <a href="(?P<url>[^"]+)" title="(?:(?P<title>.+?)[ ]?(?P<episode>\d+×\d+).+?“(?P<title2>.+?)”).+?">'
|
||||||
patronBlock = r'<main id="main" class="site-main" role="main">(?P<block>.*?)<nav class="navigation pagination" role="navigation">'
|
patronBlock = r'<main id="main"[^>]+>(?P<block>.*?)<div id="secondary'
|
||||||
|
|
||||||
patronNext = '<a class="next page-numbers" href="(.*?)">Successivi'
|
patronNext = '<a class="next page-numbers" href="(.*?)">Successivi'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user