Schroedinger-Hat / youtube-to-anchorfm

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

Setting published date doesn't work anymore #84

Closed matevskial closed 1 year ago

matevskial commented 1 year ago

Issue Setting published date doesn't work anymore

Step to reproduce the bug

  1. Set SET_PUBLISH_DATE=true either in .env for running youtube-to-anchorfm locally or in setup.yml for running with action
  2. Run youtube-to-anchorfm
  3. We should see in the logs, among other things, this:
    -- Adding title
    -- Adding description
    -- Setting publish date
    Error: Unable to post episode to anchorfm: Error: Evaluation failed: Error: tbody > tr > td[data-value="26"][class*="rdtDay"]:not([class*="rdtOld"]:not([class*="rtdNew"]) is not a valid selector: Unexpected sequence ) found at index 93
    at ee (pptr://__puppeteer_evaluation_script__:3:12076)
    at ee.next (<anonymous>)
    at be (pptr://__puppeteer_evaluation_script__:3:12350)
    at pptr://__puppeteer_evaluation_script__:2:12
    at postEpisode (/home/mate/dev/youtube-to-anchorfm/src/anchorfm-pupeteer/index.js:174:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async main (/home/mate/dev/youtube-to-anchorfm/src/index.js:36:3)