animeuniverse è ora AnimeHDitalia, nascosti gli episodi non ancora caricati

This commit is contained in:
marco
2022-11-05 14:22:00 +01:00
parent 073985223c
commit d8bc89728f
4 changed files with 7 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
"animeforce": "https://www.animeforce.it",
"animesaturn": "https://www.animesaturn.in",
"animeunity": "https://www.animeunity.tv",
"animeuniverse": "https://www.animeuniverse.it",
"animeuniverse": "https://www.animehditalia.it",
"animeworld": "https://www.animeworld.tv",
"aniplay": "https://aniplay.it",
"casacinema": "https://casacinema.lol",
@@ -14,7 +14,7 @@
"cinetecadibologna": "http://cinestore.cinetecadibologna.it",
"discoveryplus": "https://www.discoveryplus.com",
"dreamsub": "https://www.animeworld.tv",
"eurostreaming": "https://eurostreaming.quest",
"eurostreaming": "https://eurostreaming.boats",
"eurostreaming_actor": "https://eurostreaming.actor",
"filmstreaming": "https://filmstreaming.media",
"guardaseriecam": "https://guardaserie.cam",

View File

@@ -1,6 +1,6 @@
{
"id": "animeuniverse",
"name": "AnimeUniverse",
"name": "AnimeHDitalia",
"active": true,
"language": ["ita", "sub-ita"],
"thumbnail": "animeuniverse.png",

View File

@@ -10,7 +10,7 @@ headers = {}
perpage_list = ['20','30','40','50','60','70','80','90','100']
perpage = perpage_list[support.config.get_setting('perpage' , 'animeuniverse')]
epPatron = r'<td>\s*(?P<title>[^<]+)[^>]+>[^>]+>\s*<a href="(?P<url>[^"]+)"'
epPatron = r'<td>\s*(?P<title>[^<]+)[^>]+>[^>]+>\s*<a href="(?P<url>[^"]+)"[^>]+>\s*<img [^>]+Streaming'
@support.menu
@@ -103,6 +103,7 @@ def episodios(item):
anime = True
pagination = int(perpage)
patron = epPatron
# debug = True
return locals()

View File

@@ -378,10 +378,10 @@ class GenericServerTest(unittest.TestCase):
self.assertTrue(page.success, self.name + ' scraper returned an invalid link')
self.assertLess(page.code, 400, self.name + ' scraper returned a ' + str(page.code) + ' link')
contentType = page.headers['Content-Type']
contentType = page.headers['Content-Type'].lower()
self.assert_(contentType.startswith(
'video') or 'mpegurl' in contentType or 'octet-stream' in contentType or 'dash+xml' in contentType,
self.name + ' scraper did not return valid url for link ' + page_url + '<br>Direct url: ' + directUrl + '<br>Content-Type: ' + contentType)
self.name + ' scraper did not return valid url for link ' + page_url + '<br>Direct url: ' + directUrl + '<br>Content-Type: ' + page.headers['Content-Type'])
print('test passed')