Fix ilgenio (link in re-upload), cb01 caso speciale serie e soppressione errori nei canali in videoteca
This commit is contained in:
@@ -135,9 +135,9 @@ def episodios(item):
|
||||
addVideolibrary = False
|
||||
downloadEnabled = False
|
||||
|
||||
folderUrl = scrapertools.find_single_match(data, r'TUTTA LA \w+\s+(?:–|-)\s+<a href="?([^" ]+)').replace(
|
||||
folderUrl = scrapertools.find_single_match(data, r'TUTTA L[EA] \w+\s+(?:–|-)\s+<a href="?([^" ]+)').replace(
|
||||
'.net/', '.pw/') # vcrypt.pw non ha CF
|
||||
data = httptools.downloadpage(folderUrl).data
|
||||
data = httptools.downloadpage(folderUrl, disable_directIP=True).data
|
||||
patron = r'><a href="(?P<url>[^"]+)[^>]+>(?P<title>[^<]+)'
|
||||
sceneTitle = True
|
||||
|
||||
@@ -148,7 +148,7 @@ def episodios(item):
|
||||
|
||||
# debug=True
|
||||
data = support.match(item.url, headers=headers).data
|
||||
folderItemlist = folder(item, data) if 'TUTTA LA ' in data else []
|
||||
folderItemlist = folder(item, data) if '<p>TUTTA L' in data else []
|
||||
|
||||
patronBlock = r'(?P<block>sp-head[^>]+>\s*(?:STAGION[EI]\s*(?:DA\s*[0-9]+\s*A)?\s*[0-9]+|MINISERIE) - (?P<lang>[^-<]+)(?:- (?P<quality>[^-<]+))?.*?<\/div>.*?)spdiv[^>]*>'
|
||||
patron = r'(?:/>|<p>|<strong>)(?P<other>.*?(?P<episode>[0-9]+(?:×|ÃÂ)[0-9]+)\s*(?P<title2>.*?)?(?:\s*–|\s*-|\s*<).*?)(?:<\/p>|<br)'
|
||||
|
||||
@@ -183,8 +183,9 @@ def findvideos(item):
|
||||
for link in encLinks:
|
||||
linkDec = base64.b64decode(link.encode()).decode()
|
||||
if 'player.php' in linkDec:
|
||||
linkDec = support.httptools.downloadpage(linkDec, only_headers=True, follow_redirects=False).headers['Location']
|
||||
list_url.append(linkDec)
|
||||
linkDec = support.httptools.downloadpage(linkDec, only_headers=True, follow_redirects=False).headers.get('Location')
|
||||
if linkDec:
|
||||
list_url.append(linkDec)
|
||||
if list_servers:
|
||||
for i, url in enumerate(list_url):
|
||||
itemlist.append(support.Item(
|
||||
|
||||
Reference in New Issue
Block a user