From af2783c18ac78455a53d94a277b79492150f8e48 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 18 Jan 2022 13:35:48 +0700 Subject: [PATCH] remove unneeded auth --- tubearchivist/home/src/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubearchivist/home/src/index.py b/tubearchivist/home/src/index.py index 8a872f0..7d27ec6 100644 --- a/tubearchivist/home/src/index.py +++ b/tubearchivist/home/src/index.py @@ -65,7 +65,7 @@ class YoutubeChannel: channel_id = self.channel_id url = f"https://www.youtube.com/channel/{channel_id}/about?hl=en" cookies = {"CONSENT": "YES+xxxxxxxxxxxxxxxxxxxxxxxxxxx"} - response = requests.get(url, cookies=cookies, auth=self.ES_AUTH) + response = requests.get(url, cookies=cookies) if response.ok: channel_page = response.text else: