mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 11:50:14 +00:00
remove unneeded auth
This commit is contained in:
parent
8b15ea5dc8
commit
af2783c18a
@ -65,7 +65,7 @@ class YoutubeChannel:
|
|||||||
channel_id = self.channel_id
|
channel_id = self.channel_id
|
||||||
url = f"https://www.youtube.com/channel/{channel_id}/about?hl=en"
|
url = f"https://www.youtube.com/channel/{channel_id}/about?hl=en"
|
||||||
cookies = {"CONSENT": "YES+xxxxxxxxxxxxxxxxxxxxxxxxxxx"}
|
cookies = {"CONSENT": "YES+xxxxxxxxxxxxxxxxxxxxxxxxxxx"}
|
||||||
response = requests.get(url, cookies=cookies, auth=self.ES_AUTH)
|
response = requests.get(url, cookies=cookies)
|
||||||
if response.ok:
|
if response.ok:
|
||||||
channel_page = response.text
|
channel_page = response.text
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user