Skip to content

A python script to download books from libgen.io

Notifications You must be signed in to change notification settings

tuxkernel/PyLibGen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

PyLibGen

A python3 script to download books from libgen.io

Screenshot

Install (Debian Stretch)

  • sudo apt-get install python3 python3-bs4 python3-lxml python3-tabulate

Usage

usage: pylibgen.py [-h] [-t | -a | -p | -y] search [search ...]

positional arguments:
  search           search term

optional arguments:
  -h, --help       show this help message and exit
  -t, --title      get books from the specified title
  -a, --author     get books from the specified author
  -p, --publisher  get books from the specified publisher
  -y, --year       get books from the specified year

Settings

The default download path for the books is set to the directory from where you run the script. You can easily tweak this and some other options changing the variable's values in settings.py.

Creating aliases for pylibgen

I'm too lazy! If I open a terminal, I don't want type python3 pylibgen.py -a Julian Osorno

The best way for download books from Library Genesis is editing .bashrc and add one line like this:

  • alias library-genesis='python3 /home/blackout/.library-genesis/pylibgen.py'

Thats all.

Happy Reading!

About

A python script to download books from libgen.io

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%