Skip to content

Random issues with quick fixes #52

@ankur-p

Description

@ankur-p

First of all, I'd like to thank you for writing up this script. It's been a great help :)

I've found a couple of little issues that I had to fix to get this to work properly in Docker.

main.py

107- f.write(response.content)
107+ f.write(r.content)

entrypoint.sh

1- pip install -r /app/requirements.txt
2- python /app/main.py -e $EMAIL -p $PASSWORD -d /app/book -b pdf,mobi,epub,code

1+ pip install -r /app/requirements.txt --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org \
2+     && python /app/main.py -e $EMAIL -p $PASSWORD -d /app/book -b pdf,mobi,epub,code -s

Also, should probably add "book/" to .gitignore

I can open a quick PR for this if you want, or you can roll this into a future update. Feel free to let me know if you'd like me to do it, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions