Giter VIP home page Giter VIP logo

free-books's Introduction

free-books

Elsevier and Springer have made available free books because of the COVID-19 pandemia. This script makes easy to search for books and to download them

Python 3 is needed. Installation is as easy as downloading the script and having installed the following modules:

  • pandas
  • urllib3
  • beautifulsoup4

The script has fundamentally two uses:

Searching

In order to search a book, the instruction is:

python free-books.py -s '.*Artificial.*'

Then, the script return the following lines:

Searching for books that match the regular expression...

* Elsevier matches:

                                  Book Title  Year          Imprint
11  Artificial Intelligence: A New Synthesis  1998  Morgan Kaufmann

* Springer matches:

                                  Book Title  Copyright Year          Author
301  Introduction to Artificial Intelligence            2017  Wolfgang Ertel

Downloading

Once we know the index of the book we want to download, we only have to use the instruction as follows:

python free-books.py -d s301 e11

If the index starts with an s, then the books comes from the Springer library. If the index starts with an e, then the books comes from the Elsevier library. As Elsevier has a strong security system, instead of downloading the book, the system will print the URL to the book.

It downloads all the files to the output/ folder

Also, patata.

free-books's People

Contributors

prototipo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.