rimosso debug da unshortenit
This commit is contained in:
+2
-2
@@ -695,8 +695,8 @@ class UnshortenIt(object):
|
|||||||
return httptools.downloadpage(uri, only_headers=True, follow_redirects=False).headers.get('location', uri), 200
|
return httptools.downloadpage(uri, only_headers=True, follow_redirects=False).headers.get('location', uri), 200
|
||||||
|
|
||||||
def _unshorten_uprot(self, uri):
|
def _unshorten_uprot(self, uri):
|
||||||
from core.support import dbg
|
# from core.support import dbg
|
||||||
dbg()
|
# dbg()
|
||||||
for link in scrapertools.find_multiple_matches(httptools.downloadpage(uri, cloudscraper=True).data, '<a[^>]+href="([^"]+)'):
|
for link in scrapertools.find_multiple_matches(httptools.downloadpage(uri, cloudscraper=True).data, '<a[^>]+href="([^"]+)'):
|
||||||
if link.startswith('https://maxstream.video') or link.startswith('https://uprot.net') and link != uri:
|
if link.startswith('https://maxstream.video') or link.startswith('https://uprot.net') and link != uri:
|
||||||
return link, 200
|
return link, 200
|
||||||
|
|||||||
Reference in New Issue
Block a user