carrellata di piccoli di fix per molti canali

casacinema e tantifilm ora funzionano di nuovo
apri nel browser ora appare anche nei menu dei canali
This commit is contained in:
marco
2020-06-06 13:26:05 +02:00
parent ac525f259f
commit 4d64da0c05
23 changed files with 35 additions and 58 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ from platformcode import config, unify
def findhost():
permUrl = httptools.downloadpage('https://www.tantifilm.info/', follow_redirects=False).data
host = 'https://' + scrapertools.find_single_match(permUrl, r'Ora siamo ([A-Za-z0-9./]+)')
permUrl = httptools.downloadpage('https://www.tantifilm.wiki/').data
host = scrapertools.find_single_match(permUrl, r'Nuovo indirizzo: <a href="([^"]+)')
return host
host = config.get_channel_url(findhost)