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

Return png from AudiobookCovers.com #2570

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Conversation

Weldawadyathink
Copy link
Contributor

Changes AudiobookCovers.com provider to return the full size png file from the server. The original file url has the incorrect content-type header set, which caused issues downloading new cover images.

Changes AudiobookCovers.com provider to return the full size png file from the server. The original file url has the incorrect content-type header set, which caused issues downloading new cover images.
@Weldawadyathink
Copy link
Contributor Author

I plan on fixing the content-type of the original files, but this may end up being a quicker fix.

@Weldawadyathink
Copy link
Contributor Author

Well the fix was a lot easier than I expected, so the issue is gone now. Either way, this update will provide more consistent results. All of the images at results.versions.png.original are validated and written by pillow (PIL), so they should be valid images. I don't do any validation on the files at results.original, so there could be issues there.

@advplyr
Copy link
Owner

advplyr commented Jan 30, 2024

Thanks!

@advplyr advplyr merged commit e0a79fb into advplyr:master Jan 30, 2024
1 check passed
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 this pull request may close these issues.

2 participants