Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting published date doesn't work anymore #84

Closed
matevskial opened this issue Mar 12, 2023 · 0 comments · Fixed by #90 · May be fixed by #88
Closed

Setting published date doesn't work anymore #84

matevskial opened this issue Mar 12, 2023 · 0 comments · Fixed by #90 · May be fixed by #88
Assignees
Labels
bug Something isn't working

Comments

@matevskial
Copy link
Contributor

matevskial commented Mar 12, 2023

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)
@matevskial matevskial self-assigned this Mar 12, 2023
@matevskial matevskial added the bug Something isn't working label Mar 12, 2023
weltonrodrigo added a commit to weltonrodrigo/youtube-to-anchorfm that referenced this issue Mar 12, 2023
weltonrodrigo added a commit to weltonrodrigo/youtube-to-anchorfm that referenced this issue Mar 12, 2023
VasilisTako added a commit to VasilisTako/youtube-to-anchorfm that referenced this issue Apr 20, 2023
…ish date referred to issue Schrodinger-Hat#84. Changed text based element xpath to selectors because with different languages on browser it gets stuck. TODO: Change where possible full selector with wildcards
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment