Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix youtube cookie consent check (#238) #239

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

9001
Copy link
Contributor

@9001 9001 commented Feb 7, 2024

this should fix #238 which appears to be occuring for most european(?) users who share youtube cookies between yt-dlp and chat-downloader.

I've made the assumption that socs.value was the correct way to retrieve the value in some past version of python, so I'm casting it to a string in an attempt to support both versions 👍

before this fix, python 3.11 would fail like this:
AttributeError: 'str' object has no attribute 'value'

assuming that socs.value is the correct way to retrieve the value in
some versions of python, avoid the issue by casting to string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] socs.value missing from cookies
2 participants