Skip to content
New issue

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

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

Already on GitHub? # to your account

curl link is not valid anymore? #20

Open
VladimirTambovtsev opened this issue Apr 7, 2020 · 1 comment
Open

curl link is not valid anymore? #20

VladimirTambovtsev opened this issue Apr 7, 2020 · 1 comment

Comments

@VladimirTambovtsev
Copy link

Building the Docker image I found that running

RUN curl 'https://www.mobileread.com/forums/attachment.php?attachmentid=163537' > goodreads.zip

fetching link is not valid anymore. Website just returns html page with message:
'Invalid Attachment specified. If you followed a valid link, please notify the administrator'

Is there any workaround?

@bpsommerville
Copy link

Use
RUN curl 'https://www.mobileread.com/forums/attachment.php?attachmentid=168584' > goodreads.zip && \ sha256sum 'goodreads.zip' | grep -q '04cc13ed59a698532b3565eb2dcda4a388744d5af9c7065a13c2a323a9fa1f9a' && \ calibre-customize --add-plugin goodreads.zip && \ rm goodreads.zip

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

No branches or pull requests

2 participants