Kethsar / ytarchive

Garbage Youtube livestream downloader
MIT License
1.04k stars 86 forks source link

Membership not working anymore. #131

Closed TheSavvieDrew closed 1 year ago

TheSavvieDrew commented 1 year ago

I've been using ytarchive to download member and non-membership videos on YouTube for while now, and I've always been able to make the cookies file with with this Chrome extension (https://chrome.google.com/webstore/detail/get-cookiestxt/bgaddhkoddajcdgocldbbfleckgcbcid) and it would download with no problem. Now, it's telling me I'm not a member no matter what channel I try.

image

I even tried it on 0.3.2 and the latest version, still not working. Maybe YouTube changed how they format their cookies? I'm out of ideas. I even tried yt-dlp and it gave me the same issue.

Kethsar commented 1 year ago

Cookie format is not dependent on the site. It's still working for me. When is the last time you exported your cookies? Check to make sure the cookies look fine. Cookies should look like the following in the file: .youtube.com TRUE / FALSE 0 wide 1 domain, true/false, path, true/false, some number, cookie name, value

TheSavvieDrew commented 1 year ago

I made a new cookies file just now, like 10 minutes ago. I'm assuming this cookies file isn't safe to share publicly? If it is okay I can just paste it. But, from what I see, all the lines seem to be formatted that way.

TheSavvieDrew commented 1 year ago

Actually, some of the values are formatted like that, and some are formatted like this: .youtube.com TRUE / FALSE wide 1 5 Maybe the extension was updated and broke something. Thanks for the help. If you don't mind me asking, how do you generate a cookies file? That extension was the only way I could figure it out myself.

Kethsar commented 1 year ago

Correct, that is not safe to do. I went through mine looking for a cookie that was specifically safe to post as an example. The only things I can think of are it not exporting the right cookies, it exporting stale cookies, somehow it doesn't see you as logged in when exporting, or the site is not set correctly. But given it was working before, it's hard to say. That extension you linked updated a day ago, maybe it changed the export format, but that wouldn't have affected the previously exported cookies.

Kethsar commented 1 year ago

I use this but slightly modified since I have have my logged in account in a container tab. https://addons.mozilla.org/en-US/firefox/addon/export-cookies-txt/