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

nable to post episode to anchorfm: TimeoutError: Waiting for selector `.//button[contains(text(), "Log in with email")]` #103

Closed ptoseklukas closed 11 months ago

ptoseklukas commented 11 months ago

Anchor have new login web page. https://podcasters.spotify.com/pod/login

TheJoin95 commented 11 months ago

Could you specify which version are you using? We are opening https://github.com/Schrodinger-Hat/youtube-to-anchorfm/blob/83a8fe8cd08cb45a68bb3316e2c8eb4d8d4843f1/src/anchorfm-pupeteer/index.js#L52 which is leading to the right login web page

By the way, there are some issue template to use in order to open an issue otherwise we are losing time on getting the issue right

TheJoin95 commented 11 months ago

@ptoseklukas Could you please share some screenshots or you actual code? Thanks

ptoseklukas commented 11 months ago

Hello, i mean new page like design and content. Not the URL. Now there isn't button with Log in with email label but with label continue.

This is line where code stop working: https://github.com/Schrodinger-Hat/youtube-to-anchorfm/blob/83a8fe8cd08cb45a68bb3316e2c8eb4d8d4843f1/src/anchorfm-pupeteer/index.js#L114C79-L115C1

image

Action image

name: 'Upload Episode from YouTube To Anchor.Fm'

on:
  push:
    paths:
      - episode.json
    branches:
      - main
      - master

jobs:
  upload_episode:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Upload Episode from YouTube To Anchor.Fm
        uses: Schrodinger-Hat/youtube-to-anchorfm@v2.2.0
        env:
          ANCHOR_EMAIL: ${{ secrets.ANCHOR_EMAIL }}
          ANCHOR_PASSWORD: ${{ secrets.ANCHOR_PASSWORD }}
          EPISODE_PATH: /github/workspace
          POSTPROCESSOR_ARGS: 'ffmpeg:-ac 1'
          UPLOAD_TIMEOUT: 30000000
          PUPETEER_HEADLESS: false
          IS_EXPLICIT: true
          URL_IN_DESCRIPTION: true
          SAVE_AS_DRAFT: false
TheJoin95 commented 11 months ago

Alright, thanks for the explanation, now it's clear. If you are willing to contribute, please do so by opening a new PR :)

cc @matevskial @abe-101