diff --git a/channels.json b/channels.json index 3a893f1e..18feb7ed 100644 --- a/channels.json +++ b/channels.json @@ -37,7 +37,6 @@ "serietvonline": "https://serietvonline.host", "serietvsubita": "http://serietvsubita.xyz", "serietvu": "https://www.serietvu.link", - "streamingaltadefinizione": "https://www.popcornstream.press", "streamtime": "https://t.me/s/StreamTime", "tantifilm": "https://www.tantifilm.pizza", "toonitalia": "https://toonitalia.org", diff --git a/channels/streamingaltadefinizione.py b/channels/streamingaltadefinizione.py index d7975d1b..64507fd9 100644 --- a/channels/streamingaltadefinizione.py +++ b/channels/streamingaltadefinizione.py @@ -12,16 +12,10 @@ list_servers = ['verystream', 'openload', 'wstream'] list_quality = ['1080p', 'HD', 'DVDRIP', 'SD', 'CAM'] def findhost(): - permUrl = httptools.downloadpage('https://www.popcornstream.info', follow_redirects=False, only_headers=True).headers - if 'google' in permUrl['location']: - host = permUrl['location'].replace('https://www.google.it/search?q=site:', '') - if host[:4] != 'http': - host = 'https://'+permUrl['location'].replace('https://www.google.it/search?q=site:', '') - else: - host = permUrl['location'] - return host + data = httptools.downloadpage('https://www.popcornstream-nuovo-indirizzo.online/').data + return support.scrapertools.find_single_match(data, '