You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to download from youtube: "Sign in to confirm you’re not a bot" #645
podsync suddenly stopped working since last week, I checked the log file and found the error message "Sign in to confirm you’re not a bot, etc. etc.".
The reason is likely to be that YouTube recently blocked yt-dlp, and a possible solution, according to this issue, is not passing the cookies. Could you please help update podsync accordingly? Thank you very much!
Reacted by Alexandre Tomy, Gasparos, Haijin Cheng, Michael Engelhard, Nikolay Panov, Tấn Đạt, Ladislav Benc, Bryan Sakowski, brothamanben and Dovie Weinstock
Same for me, looks like Hetzer Cloud + Server IPs got blocked by YT (at least for me).
Workaround: smartproxy.com pay-as-you-go. Podsync config: youtube_dl_args = ["-vU", "--proxy", "socks5h://YOURCREDENTIALS@gate.smartproxy.com:7000"] => works for me.
Same for me, looks like Hetzer Cloud + Server IPs got blocked by YT (at least for me). Workaround: smartproxy.com pay-as-you-go. Podsync config: youtube_dl_args = ["-vU", "--proxy", "socks5h://YOURCREDENTIALS@gate.smartproxy.com:7000"] => works for me.
@steav Which plan do I need to choose?
I don't understand the differences.. Too complicated for me..
I also have the same problem. The point podsync uses a token from my account. Isn't it considered a "log-in"?
I'm trying to disable requests for some time to youtube. I will try again in 3 days.
Podsync uses yt-dlp to download from youtube. Last time, Youtube changes their policy, and now yt-dlp have problems with downloading. More about that yt-dlp/yt-dlp#10128
I used Oauth2 to log in with a new youtube account. I had to use cookies too. And to specify the cache-dir for yt-dlp too.
It was quite hard, but now it works again.
Good luck!
I moved podsync to my home PC, since I keep it on 24/7. You could also setup a VPN host at home and make your podsync server use it. It'd just keep retrying when it's off, but pull things when the vpn is available.
For each feed in file config, You must add following parameters to "youtube_dl_args" youtube_dl_args = [ .. "--sleep-requests", "1.5", "--min-sleep-interval", "60", "--max-sleep-interval", "90", "--cookies", "/app/cookies.txt", "--extractor-args", "youtube:player-client=web,default;po_token=web+ABCD...FGH"]
Reacted by Elycoo, d4os, tapatianbeast and Martin-Fox
Same problem here, but successfully tackled by adding this line for each feed.
youtube_dl_args = [ "--cookies", "/app/cookies.txt"]
Cookie file for the youtube website was extracted through Chrome extension, "Get cookies.txt locally", search it in the store. For more info about this, you can refer to Metube github page.
Same problem here, but successfully tackled by adding this line for each feed. youtube_dl_args = [ "--cookies", "/app/cookies.txt"] Cookie file for the youtube website was extracted through Chrome extension, "Get cookies.txt locally", search it in the store. For more info about this, you can refer to Metube github page.
Can you show me a sample of your config.toml file? I'm not sure exactly where to add this
For each feed in file config, You must add following parameters to "youtube_dl_args" youtube_dl_args = [ .. "--sleep-requests", "1.5", "--min-sleep-interval", "60", "--max-sleep-interval", "90", "--cookies", "/app/cookies.txt", "--extractor-args", "youtube:player-client=web,default;po_token=web+ABCD...FGH"]
this stilll didn't work for me, is there something else I can do?
@d4os try use yt-dlp nightly and set PO token yt-dlp/yt-dlp#10128 (comment)
For each feed in file config, You must add following parameters to "youtube_dl_args" youtube_dl_args = [ .. "--sleep-requests", "1.5", "--min-sleep-interval", "60", "--max-sleep-interval", "90", "--cookies", "/app/cookies.txt", "--extractor-args", "youtube:player-client=web,default;po_token=web+ABCD...FGH"]
this stilll didn't work for me, is there something else I can do?
I am using yt-dlp version stable@2025.01.15 from yt-dlp/yt-dlp [c8541f8b1]
A cookie I generated in a private window at home
With a proxy so that the download is made from my home address
It is working. If you're trying to download from an address that works in the browser and have that cookie, maybe your yt-dlp is outdated? I had to run yt-dlp -U because it stopped working a couple days ago.
I suggest narrowing the investigation to testing out a yt-dlp command, once it's working, making Podsync use the same arguments is easy.
@d4os try use yt-dlp nightly and set PO token yt-dlp/yt-dlp#10128 (comment)
For each feed in file config, You must add following parameters to "youtube_dl_args" youtube_dl_args = [ .. "--sleep-requests", "1.5", "--min-sleep-interval", "60", "--max-sleep-interval", "90", "--cookies", "/app/cookies.txt", "--extractor-args", "youtube:player-client=web,default;po_token=web+ABCD...FGH"]
this stilll didn't work for me, is there something else I can do?
I am using yt-dlp version stable@2025.01.15 from yt-dlp/yt-dlp [c8541f8b1] A cookie I generated in a private window at home With a proxy so that the download is made from my home address It is working. If you're trying to download from an address that works in the browser and have that cookie, maybe your yt-dlp is outdated? I had to run yt-dlp -U because it stopped working a couple days ago. I suggest narrowing the investigation to testing out a yt-dlp command, once it's working, making Podsync use the same arguments is easy.
The docker is using some old yt-dlp version
I fixed mine with docker exec -it podsync /usr/bin/youtube-dl -U for current instance but apparently auto-update as stated in the config doesn't work properly?.
[downloader]
# Optional, auto update youtube-dl every 24 hoursself_update = true# Download timeout in minutes.timeout = 15
[rodhfr@fedora ~]$ docker exec -it podsync /usr/bin/youtube-dl -U
Current version: stable@2024.03.10 from yt-dlp/yt-dlp
Latest version: stable@2025.03.31 from yt-dlp/yt-dlp
Current Build Hash: 5576348930e44102add235c0a032e766f416a507db1dd2c75da833ff21e9fb6c
Updating to stable@2025.03.31 from yt-dlp/yt-dlp ...
Updated yt-dlp to stable@2025.03.31 from yt-dlp/yt-dlp
Reacted by andythebreaker
Repository owner locked and limited conversation to collaborators on Jul 14, 2025
Activity
AlrclyGit commentedon Aug 8, 2024
I'm having this problem too.
Gasparos commentedon Aug 14, 2024
Same here
steav commentedon Aug 16, 2024
Same for me, looks like Hetzer Cloud + Server IPs got blocked by YT (at least for me).
Workaround: smartproxy.com pay-as-you-go. Podsync config:
youtube_dl_args = ["-vU", "--proxy", "socks5h://YOURCREDENTIALS@gate.smartproxy.com:7000"]=> works for me.Elycoo commentedon Aug 20, 2024
I also have the same problem.
The point podsync uses a token from my account. Isn't it considered a "log-in"?
I'm trying to disable requests for some time to youtube. I will try again in 3 days.
Elycoo commentedon Aug 26, 2024
@steav Which plan do I need to choose?
I don't understand the differences.. Too complicated for me..
It doesn't seem to work after all :(
Harnas commentedon Sep 15, 2024
Podsync uses yt-dlp to download from youtube. Last time, Youtube changes their policy, and now yt-dlp have problems with downloading. More about that yt-dlp/yt-dlp#10128
Elycoo commentedon Sep 25, 2024
I used Oauth2 to log in with a new youtube account. I had to use cookies too. And to specify the cache-dir for yt-dlp too.
It was quite hard, but now it works again.
Good luck!
d4os commentedon Sep 26, 2024
I moved podsync to my home PC, since I keep it on 24/7. You could also setup a VPN host at home and make your podsync server use it. It'd just keep retrying when it's off, but pull things when the vpn is available.
Harnas commentedon Sep 26, 2024
@d4os try use yt-dlp nightly and set PO token yt-dlp/yt-dlp#10128 (comment)
For each feed in file config, You must add following parameters to "youtube_dl_args"
youtube_dl_args = [ .. "--sleep-requests", "1.5", "--min-sleep-interval", "60", "--max-sleep-interval", "90", "--cookies", "/app/cookies.txt", "--extractor-args", "youtube:player-client=web,default;po_token=web+ABCD...FGH"]d4os commentedon Sep 26, 2024
@Harnas do you need info if that worked? My clunky solution works, so I prefer it to something that
So many websites outright block my Hetzner server that I accepted I need to move some things home.
halllo commentedon Oct 30, 2024
I have the same problem. I dont think it has to do with a blocklisted IP, because everyday I get a new IP.
halllo commentedon Oct 30, 2024
I dont understand how to get the PO token and the cookies. I followed this guide but to no avail. My requests dont seem to have them.
Did anybody get it working correctly and reliably?
jerryhanson commentedon Jan 21, 2025
Same problem here, but successfully tackled by adding this line for each feed.
youtube_dl_args = [ "--cookies", "/app/cookies.txt"]
Cookie file for the youtube website was extracted through Chrome extension, "Get cookies.txt locally", search it in the store. For more info about this, you can refer to Metube github page.
brothamanben commentedon Jan 23, 2025
Can you show me a sample of your config.toml file? I'm not sure exactly where to add this
halllo commentedon Jan 23, 2025
Do you have to manually update the cookies.txt every day?
brothamanben commentedon Jan 23, 2025
I have no idea, it's not working for me yet
anthonyhtang commentedon Jan 24, 2025
Tried racknerd and lisahost, the same problem.
brothamanben commentedon Jan 26, 2025
this stilll didn't work for me, is there something else I can do?
d4os commentedon Jan 26, 2025
I am using
yt-dlp version stable@2025.01.15 from yt-dlp/yt-dlp [c8541f8b1]A cookie I generated in a private window at home
With a proxy so that the download is made from my home address
It is working. If you're trying to download from an address that works in the browser and have that cookie, maybe your yt-dlp is outdated? I had to run
yt-dlp -Ubecause it stopped working a couple days ago.I suggest narrowing the investigation to testing out a yt-dlp command, once it's working, making Podsync use the same arguments is easy.
sunrisewestern commentedon Jan 26, 2025
I guess it is the proxy that make it work...
rodhfr commentedon Apr 9, 2025
The docker is using some old yt-dlp version
I fixed mine with
docker exec -it podsync /usr/bin/youtube-dl -Ufor current instance but apparently auto-update as stated in the config doesn't work properly?.