Flameish / Novel-Grabber

Novel-Grabber can download novels from pretty much any webnovel and lightnovel site.
MIT License
478 stars 62 forks source link

Use storage servers to store epubs[FEATURE REQUEST] #288

Open damare01 opened 3 years ago

damare01 commented 3 years ago

Is your feature request related to a problem? Please describe.

Due to many novel download/compile requests the storage of my device is running out.

Describe the solution you'd like

When the bot is done generating the epub file it will send the file to a storage/cloud server, for example GDrive. Then it will send a link to the user so that the user can download the file. To save storage allow the bot to overwrite the old file (if the server allow storing files for a long time).

Describe alternatives you've considered

GDrive has limited storage space I recommend you to use:

  1. Mediafire
  2. File.io
  3. Dropapk.to
  4. Gofile.io
Flameish commented 3 years ago

Isn't Telegram itself a form of storage?

damare01 commented 3 years ago

Isn't Telegram itself a form of storage?

Then can you add a feature that when the bot already sent the file it will delete the file from the server?

Flameish commented 3 years ago

Sure, but it might take a while until you can use it. I'm in the process of rewriting NG, so I won't add features to the current version. Until then you can just use cron jobs to delete the requests folder regularly. Also if you really want to store the files on storage servers, I know that dropbox has a sync client which watches a directory to upload files from, should be easy to set up. This wont help with sending a download link on Telegram through.

damare01 commented 3 years ago

okay, thank you!

damare01 commented 3 years ago

Sure, but it might take a while until you can use it. I'm in the process of rewriting NG, so I won't add features to the current version. Until then you can just use cron jobs to delete the requests folder regularly. Also if you really want to store the files on storage servers, I know that dropbox has a sync client which watches a directory to upload files from, should be easy to set up. This wont help with sending a download link on Telegram through.

can the crawling/grabbing speed be improve?

Flameish commented 3 years ago

If you set the wait time to 0 (which you shouldn't do) the grabbing speed is basically only limited by the server on the other side and your internet connection.