diff --git a/channels/cinetecadibologna.json b/channels/cinetecadibologna.json index 10adf700..82399c16 100644 --- a/channels/cinetecadibologna.json +++ b/channels/cinetecadibologna.json @@ -6,6 +6,6 @@ "thumbnail": "cinetecadibologna.png", "banner": "cinetecadibologna.png", "categories": ["documentary"], - "not_active":["include_in_newest_peliculas", "include_in_newest_series", "include_in_newest_anime"], + "not_active":["include_in_newest_peliculas", "include_in_newest_series", "include_in_newest_anime", "include_in_global_search"], "settings": [] } diff --git a/channels/ilgeniodellostreaming.json b/channels/ilgeniodellostreaming.json index f79c90f4..df23129a 100644 --- a/channels/ilgeniodellostreaming.json +++ b/channels/ilgeniodellostreaming.json @@ -1,7 +1,7 @@ { "id": "ilgeniodellostreaming", "name": "IlGenioDelloStreaming", - "active": true, + "active": false, "language": ["ita", "sub-ita"], "thumbnail": "ilgeniodellostreaming.png", "banner": "ilgeniodellostreaming.png", diff --git a/channels/ilgeniodellostreaming_cam.py b/channels/ilgeniodellostreaming_cam.py index a9efb3c5..3aeeac6d 100644 --- a/channels/ilgeniodellostreaming_cam.py +++ b/channels/ilgeniodellostreaming_cam.py @@ -25,6 +25,7 @@ def mainlist(item): @support.scrape def peliculas(item): + data = item.data if item.args == 'sala': patronBlock = r'insala(?P.*?)
' patron = r']+>[^>]+>[^>]+>[^>]+>[^>]+>\s*(?P[^<]+)[^>]+>[^>]+>(?P[^<]+)[^>]+>[^>]+>[^>]+>[^>]+>(?P[^<]+)[^>]+>[^>]+>[^>]+>(?P<year>\d{4})' @@ -55,8 +56,7 @@ def genres(item): def search(item, text): info(text) - text = text.replace(' ', '+') - item.url = host + "/search/" + text + item.data = support.httptools.downloadpage(host + '/?s=' + text, post={'story': text, 'do': 'search', 'subaction': 'search'}).data try: return peliculas(item) except: diff --git a/servers/mixdrop.py b/servers/mixdrop.py index 154cead5..7a99b369 100644 --- a/servers/mixdrop.py +++ b/servers/mixdrop.py @@ -14,13 +14,14 @@ def test_video_exists(page_url): global data data = httptools.downloadpage(page_url).data + if "<h2>WE ARE SORRY</h2>" in data or "<h2>ALMOST THERE</h2>" in data or '<title>404 Not Found' in data: + return False, config.get_localized_string(70449) % "MixDrop" + if 'window.location' in data: domain = 'https://' + servertools.get_server_host('mixdrop')[0] url = domain + scrapertools.find_single_match(data, "window\.location\s*=\s*[\"']([^\"']+)") data = httptools.downloadpage(url).data - if "

WE ARE SORRY

" in data or '404 Not Found' in data: - return False, config.get_localized_string(70449) % "MixDrop" return True, ""