Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Include the Internet Archive books on the bot pipeline #46

Open
voidpunk opened this issue May 6, 2022 · 1 comment
Open

Include the Internet Archive books on the bot pipeline #46

voidpunk opened this issue May 6, 2022 · 1 comment

Comments

@voidpunk
Copy link

voidpunk commented May 6, 2022

Some books present on the Internet Archive (IA) are not present on Libgen, I think it'd be nice to have them searchable through the bot as a fallback. Conceptually, the logic would be: query to bot -> if (book is on Libgen) {send it to user} else {query IA}. Then, if the book is present on IA, to retrieve it is just as easy as including in the codebase something like this: Archive.org-Downloader, which has a really fast and efficient downloader of borrow-only books from the IA. Thus, if the book is absent on Libgen and present on IA, the bot just download it from the IA and updates it on both Libgen and on Telegram for the querying user.

@the-superpirate
Copy link
Contributor

@voidpunk

Sorry, the repo was paused for some time and I missed some letters.

The conceptual issue is that the bot has its own database. All queries goes to this database. It makes bot independent of external sources and more reliable.

It is required to import database of IA into Nexus database to make books available. But as far as I know, IA does not have publicly available dumps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants