Replies: 3 comments 8 replies
-
Hey sirodus, thanks for starting this discussion! Can you provide a screenshot of what's happening next time this cookie message pops up? I can add a check to see if any messages popup when
This would probably go in the Regarding the opening
I don't think I'm curious about how this was working before for you though, since I never tested this program (or even thought about using it) with a session that had some settings enabled. When you were running the program before, could you tell if you were logged into your YouTube/Gmail account? Also, another thing to note is if you run the program on many channels at once in a short period of time, YouTube might temporarily throttle the results/connection to your IP address. This usually goes away after a while (couple hours?), so maybe you can wait a bit and try again later. If this is what's happening, I'd suggest adding a sleep timer in your script after scraping, say every 10 channels, to sleep for a couple minutes before resuming so that it's less likely you get throttled by YouTube. A final workaround that might work if the problem is your IP address being throttled is to use a VPN to connect to somewhere else before running the script every day, so that you're less likely to get throttled. This is an interesting problem, and one that I haven't encountered before, so let me know what happens. 🙂 Also, if you're able to, can you attach a screenshot of the cookie message next time you run into it? I just tried running the program again and the program worked fine (I didn't get a cookie message), so this makes me think the problem might be because YouTube detects lots of activity from your IP address and is temporarily flagging it for bot-like activity. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I tried to add it in the original code (and I didn't know exactly where.) but it didn't work. I haven't had time to analyze exactly how your program works. I'm a python beginner. |
Beta Was this translation helpful? Give feedback.
-
I've been using it for a very long time.
I use this to make download lists for videos from MANY channels every day. Recently, a cookie message pops up every time the browser opens, which destroys my script, and I have over 50 youtube channels from which I download videos every day and I have to confirm cookies every time when browser opens for every channel. Is there any solution?
I thought yt-videos-list would open a browser with my profile where I'm logged in instead of creating a "temporary profile". How to do it? I am asking for help or at least a little hint.
Beta Was this translation helpful? Give feedback.
All reactions