Schroedinger-Hat / youtube-to-anchorfm

An automation process to convert YouTube video into audio file and uploading it to Anchor.fm podcast
MIT License
128 stars 71 forks source link

Unable to post episode to anchorfm: TimeoutError: Waiting for selector `button[data-testid="auth-accept"]` #120

Closed ptoseklukas closed 1 month ago

ptoseklukas commented 4 months ago

Hello, i dont have idea how to resolve this problem. I transfer my account to Spotify podcast, create email and password secret. BUT! I got this error message Unable to post episode to anchorfm: TimeoutError: Waiting for selector button[data-testid="auth-accept"]

And this screenshot image

I must enter code from email, but it's not possible. Any ideas?

LauPaSat-pl commented 4 months ago

Try uploading one podcast manually and maybe it will unlock future podcasts. This helped me to get rid of Captcha

ptoseklukas commented 3 months ago

It's already a running project, but I've tried uploading the episode manually instead of using a script like I have been. But nothing. It keeps popping up, I think it requires authentication to an IP address, connection or something. Maybe the two-phase authentication could be turned off, but I haven't found where at all, the spotify documentation links me to places that don't exist.

Angeschossen commented 2 months ago

Encountering the same issue.

Wabri commented 2 months ago

@matevskial @abe-101 Hi guys, do you have any clues on how to solve it?

matevskial commented 2 months ago

I plan on tackling this and see what is affected by this issue and potentionally solve it.

Angeschossen commented 2 months ago

Tried this again, and I get the same error, but this time it seems to actually pass the login: Image

1|main  | Error: Unable to post episode to anchorfm: TimeoutError: Waiting for selector `button[data-testid="auth-accept"]` failed: Waiting failed: 30000ms exceeded
1|main  |     at postEpisode (/opt/nodeapps/main/node_modules/youtube-to-anchorfm/src/anchorfm-pupeteer/index.js:93:11)

I'm running the script locally.

matevskial commented 2 months ago

Upon further investigation, this seems to be an issue with Spotify itself. Since they changed the login to spotify, they included a couple of restrictions:

We cannot do anything to solve those issues, but we can offer alternative ways of using this script:

This is might be a time to introduce some guides of using youtube-to-anchorfm as standalone docker image whose containers can be run in any environment.

TheJoin95 commented 1 month ago

Going to close this as the Docker image is currently published / WIP to the next release