Closed abe-101 closed 2 years ago
The solution is as simple as creating boolean condition.
I can make a pull request after the weakend.
I'm attaching a picture of the code at anchor.fm
The solution is as simple as creating boolean condition.
I can make a pull request after the weakend.
@matevskial Has already addressed this issue
Hi @matevskial. Can you comment on this issue so I can assign it to you?
For reference, commit https://github.com/Schrodinger-Hat/youtube-to-anchorfm/pull/31/commits/7f739ed080325ceba6d1823e2285b46ccec3e961 addresses the issue
My PR #31 indeed addresses the issue.
Currently this github action is only able to create a draft. When trying to publish it exits with an error. After digging through the source code at anchor.fm it became apparent that the "Publish now" button is under a
<div>
tag, whereas the "Save as draft" is under a<button>
tag. That explain why the code only works for a draft: https://github.com/Schrodinger-Hat/youtube-to-anchorfm/blob/b5bff4d2790d82a1b548283492cde0a00a1a4653/index.js#L119on the other hand when i changed the code to:
it only works for the "Publish now" button and not the "Save as draft" button.