YueMiyuki / yt-cookier

Cookie fetcher for youtube, to avoid 429 and play age-restrighted videos
MIT License
10 stars 4 forks source link

How to set the Chromium version #127

Open td236 opened 3 months ago

td236 commented 3 months ago

browserRevision: "1135570"

this does not work

td236 commented 3 months ago

the browser tips Couldn’t sign you in This browser or app may not be secure.

YueMiyuki commented 3 months ago

Hello, I am currently on a vacation and not yet available. I will check this as soon as I am back to my PC, which, would be around 15 Aug.

In the meanwhile, this project is very brief, it is just a brief attempt to bypass the 429 Issues when using ytdl.

td236 commented 3 months ago

thanks a lot, this issue is not that urgent, current cookie still works, just take a look when it is convenient for you.

and it is not necessarily a version issue.

the problem is: when I run the script to pull up Chromium, it prompts Couldn’t sign you in This browser or app may not be secure. the problem occurred after replacing the new office equipment, previous computer was working well.

YueMiyuki commented 3 months ago

thanks a lot, this issue is not that urgent, current cookie still works, just take a look when it is convenient for you.

and it is not necessarily a version issue.

the problem is: when I run the script to pull up Chromium, it prompts Couldn’t sign you in This browser or app may not be secure. the problem occurred after replacing the new office equipment, previous computer was working well.

Hi. I briefly checked for this issue and found this https://github.com/berstend/puppeteer-extra/issues/822#issuecomment-2021826738

Can you manually modify the file node_modules/yt-cookier/functions/login.js according to this approach and see if the issue disappear?

Thanks

YueMiyuki commented 3 months ago

https://github.com/berstend/puppeteer-extra/issues/822#issuecomment-2021850431

maybe this too

td236 commented 3 months ago

thanks a lot, this issue is not that urgent, current cookie still works, just take a look when it is convenient for you. and it is not necessarily a version issue. the problem is: when I run the script to pull up Chromium, it prompts Couldn’t sign you in This browser or app may not be secure. the problem occurred after replacing the new office equipment, previous computer was working well.

Hi. I briefly checked for this issue and found this berstend/puppeteer-extra#822 (comment)

Can you manually modify the file node_modules/yt-cookier/functions/login.js according to this approach and see if the issue disappear?

Thanks

this method can log in to Chromium normally, but there are still issues when combined with your script

YueMiyuki commented 3 months ago

thanks a lot, this issue is not that urgent, current cookie still works, just take a look when it is convenient for you. and it is not necessarily a version issue. the problem is: when I run the script to pull up Chromium, it prompts Couldn’t sign you in This browser or app may not be secure. the problem occurred after replacing the new office equipment, previous computer was working well.

Hi. I briefly checked for this issue and found this berstend/puppeteer-extra#822 (comment)

Can you manually modify the file node_modules/yt-cookier/functions/login.js according to this approach and see if the issue disappear?

Thanks

this method can log in to Chromium normally, but there are still issues when combined with your script

Hi, thanks for the reply

Does login work normally? What are the other isssues when combined?