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

RSS files downloaded from Wondery gives an error #87

Closed
lewler opened this issue Oct 31, 2024 · 4 comments · Fixed by #88
Closed

RSS files downloaded from Wondery gives an error #87

lewler opened this issue Oct 31, 2024 · 4 comments · Fixed by #88

Comments

@lewler
Copy link

lewler commented Oct 31, 2024

First off, I love podcast-dl, so thank you! There's one thing that doesn't quite work as intended, however, the --file mode if you have a RSS file downloaded from Wondery. If I use the URL I get from Wondery with --url, it works just fine, but if I have downloaded the feed to a local file and try to run podcast-dl with --file it fails with this error:

Error: podcast-dl command failed.
node:internal/errors:477
ErrorCaptureStackTrace(err);
^

TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:388:5)
at URL.onParseError (node:internal/url:564:9)
at new URL (node:internal/url:644:5)
at /snapshot/dist/podcast-dl-10.3.0.js
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at process.runNextTicks [as _tickCallback] (node:internal/process/task_queues:64:3)
at Function.runMain (pkg/prelude/bootstrap.js:1980:13)
at node:internal/main/run_main_module:17:47 {
input: 'undefined',
code: 'ERR_INVALID_URL'
}

--file works fine with Podcasts from other places, such as Patreon. This is not a major issue, but I thought I'd let you know.

Again, thanks for all your work on this project!

@lightpohl
Copy link
Owner

Hey! I'm glad you've found it helpful!

When you have a chance, would you mind linking to the URL file where you're downloading the file with issues?

I tried the RSS file for Morbid and it seems to work okay when I save it as a .rss file from here: https://rss.art19.com/morbid-a-true-crime-podcast

@lewler
Copy link
Author

lewler commented Nov 1, 2024

I tested that one myself, and it does indeed work as expected. I wonder (no pun intended) if it's a Wondery+ issue? This show, for example, doesn't work: https://wondery.com/shows/audible-story-time/

@lightpohl
Copy link
Owner

lightpohl commented Nov 1, 2024

Ah, thank you! I found the issue! The Wondery+ feeds don't contain a feed.url that is used for the archive key if enabled. I've added a workaround for those types of feeds and they should now work correctly in the latest version!

https://github.com/lightpohl/podcast-dl/releases/tag/v10.3.1

@lewler
Copy link
Author

lewler commented Nov 1, 2024

Thanks, works great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants