From f7a783be9c41931f510c1353f8bd1d6208e2b08f Mon Sep 17 00:00:00 2001 From: mac12m99 <10120390+mac12m99@users.noreply.github.com> Date: Thu, 4 Nov 2021 18:31:50 +0100 Subject: [PATCH] Update maxstream.py --- servers/maxstream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/maxstream.py b/servers/maxstream.py index 5d30a8e0..3f939d7c 100644 --- a/servers/maxstream.py +++ b/servers/maxstream.py @@ -23,7 +23,7 @@ def test_video_exists(page_url): id = httptools.downloadpage(page_url, follow_redirects=False, cloudscraper=True).headers.get('location').split('/')[-1] else: id = page_url.split('/')[-1] - page_url = 'http://lozioangie.altervista.org/max_anticaptcha.php?id=' + id + page_url = requests.head('http://lozioangie.altervista.org/max_anticaptcha.php?id=' + id).headers.get('location') data = httptools.downloadpage(page_url, cloudscraper=True).data if scrapertools.find_single_match(data, '(?]*>file was deleted'):