A module to search and download a book from the internet
This is a package for searching a book and downloading it from the internet
pip install meobook
from meoBook import MeoBook
meobook = MeoBook()
#the search method will return maximum of 5 books by default in a list of Book object
list_of_book = meobook.search_book("git hub cheat sheet")
#Download one book
book1 = list_of_book[0].download("/your/destination/path")
#
self.search_book(keyword, limit=5)
limit
parameter limits the return results from self.search_book
function
download(directory)
method will download the book in the directory which is provided with the title of the book as a file name
self.download('destination/directory/')
self.title
: Title of the books. (str)
self.description
: A short description of the book.(str)
self.link
: link of the book (str).
self.size
: size of the book in bytes (int).
self.size_mb
: Size of the book in MegaByte. (float).
self.page_numer
: Page number. (may be none because the information is missing) (int)
Tina Hubert Ratolojanahary ([email protected], https://tina-rt.netlify.app)
Made in Madagascar