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

Downloaded files contain '{"error":""}' if the server returns an HTTP 401 #59

Open
yump opened this issue Sep 26, 2022 · 0 comments
Open

Comments

@yump
Copy link

yump commented Sep 26, 2022

This is triggered by at least one podcast distributed through Substack. The podcast releases episodes a few days early to paying subscribers, and these subcriber-only episodes appear in the RSS feed.

When castget attempts to download one of them, it receives an HTTP 401 and writes out a 12-byte .mp3 file containing the ascii text {"error":""}, no trailing newline.

The expected behavior in this case is that no file be written at all.

At the top of my castgetrc, I have

[*]
filename=%(date) - %(title).mp3

Which may be involved.

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

No branches or pull requests

1 participant