Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Library to search on Library genesis

Project description

A Python library that provides an api to search and get links from Books,Magazines,Comics,… from Library Genesis.


  • Python 2/3
  • Grab library and it’s dependencies.


Two options: * Clone this repo and use “python install” * Use pip, “pip install libgenapi”

Example of usage:

import libgenapi

lg=libgenapi.Libgenapi([“http://[INSERT MIRROR DOMAIN 1 HERE].com”,”http://[INSERT MIRROR DOMAIN 2 HERE].com]) # You can add as many mirrors as you want.“python”)

Then the results are something like this (but… without the crazyness :P real links and titles…):

        "author":"Dat Guy",
        "series":"Library of New Guy Studies volume 420",
        "title":"Dat perfect 5/7 Title !",
        "edition":"[1 ed.]",
        "publisher":"WHo knows? Me no!",
        "size":"420 kb",

You can also choose the column to search like this:"93438924","identifier") # Identifier is ISBN"Michael","author")

Other examples:

You can make a quick command to search using an alias, for example in zsh you can add this to your .zshrc: > alias lgen=”python -c ‘import sys;import libgenapi;l=libgenapi.Libgenapi(“http://[INSERTDOMAINHERE]/”);print([1]))’”

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for libgenapi, version 1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size libgenapi-1.2.0-py2.py3-none-any.whl (6.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size libgenapi-1.2.0.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page