From 5d3e6da41704c8b7dc9caf18d3f6991caab3f038 Mon Sep 17 00:00:00 2001 From: LauPaSat-pl <56610392+LauPaSat-pl@users.noreply.github.com> Date: Tue, 14 Nov 2023 15:58:12 +0800 Subject: [PATCH] Fixed log in page Now one needs to click "Continue" instead of "Log in with email" button --- src/anchorfm-pupeteer/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/anchorfm-pupeteer/index.js b/src/anchorfm-pupeteer/index.js index e629bb19..b6306d93 100644 --- a/src/anchorfm-pupeteer/index.js +++ b/src/anchorfm-pupeteer/index.js @@ -110,8 +110,8 @@ async function postEpisode(youtubeVideoInfo) { } async function login() { - console.log('-- Accessing Log in with email'); - await clickXpath(page, '//button[contains(text(), "Log in with email")]'); + console.log('-- Accessing Spotify for Podcasters login page'); + await clickXpath(page, '//button[contains(text(), "Continue")]'); console.log('-- Logging in'); /* The reason for the wait is because