evan-buss / openbooks

Search and Download eBooks
https://evan-buss.github.io/openbooks/
MIT License
1.77k stars 57 forks source link

Prevent downloading to client browser #159

Closed neonraver closed 6 months ago

neonraver commented 6 months ago

I was wondering if there was a way to set up the download process to only download to the host /books/ folder, and not initiate a download to the client browser. I am going to set up a script to automatically email new downloaded eBooks to my Kindle, so I don't need the files to be downloaded in two places. Is there a command I can add to my docker compose file to prevent the download in both places? Thanks

neonraver commented 6 months ago

This can be closed. Putting --no-browser-downloads as a command does this, so it has already been implemented. Got the email script working as well so it's now as easy as searching for and downloading a book and then it is emailed to my kindle automatically, and then the file is moved to another folder. Perfect.