remove unneeded auth

This commit is contained in:
simon 2022-01-18 13:35:48 +07:00
parent 8b15ea5dc8
commit af2783c18a
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -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: