{"id":27414333,"url":"https://github.com/creepy-pasta101/libgenbot","last_synced_at":"2025-04-14T08:23:12.117Z","repository":{"id":43179586,"uuid":"367904565","full_name":"creepy-pasta101/Libgenbot","owner":"creepy-pasta101","description":"A Python Scraper Designed to Scrape PDFs from Libgen and Scihub","archived":false,"fork":false,"pushed_at":"2024-05-13T16:19:17.000Z","size":114,"stargazers_count":22,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T22:02:59.527Z","etag":null,"topics":["cli","pip","pypi","pypi-package","python","python3","science","scraper","script","terminal"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/creepy-pasta101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":"wisest_wizard","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["upi://pay?pa=suhangp2002@oksbi\u0026pn=Suhan G Paradkar\u0026aid=uGICAgICz-9ipfw","UPI"]}},"created_at":"2021-05-16T14:32:54.000Z","updated_at":"2024-11-06T20:38:22.000Z","dependencies_parsed_at":"2024-01-20T11:27:44.848Z","dependency_job_id":"d75c4d9a-294f-4992-b3d5-ab78daba16ef","html_url":"https://github.com/creepy-pasta101/Libgenbot","commit_stats":{"total_commits":129,"total_committers":3,"mean_commits":43.0,"dds":0.3023255813953488,"last_synced_commit":"1253c14f020d505f84237db319616c758e2ece46"},"previous_names":["creepy-pasta101/libgenbot","suhan-paradkar/libgenbot"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creepy-pasta101%2FLibgenbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creepy-pasta101%2FLibgenbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creepy-pasta101%2FLibgenbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creepy-pasta101%2FLibgenbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creepy-pasta101","download_url":"https://codeload.github.com/creepy-pasta101/Libgenbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248844239,"owners_count":21170538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","pip","pypi","pypi-package","python","python3","science","scraper","script","terminal"],"created_at":"2025-04-14T08:23:11.346Z","updated_at":"2025-04-14T08:23:12.077Z","avatar_url":"https://github.com/creepy-pasta101.png","language":"Python","funding_links":["https://patreon.com/wisest_wizard","upi://pay?pa=suhangp2002@oksbi\u0026pn=Suhan G Paradkar\u0026aid=uGICAgICz-9ipfw","UPI"],"categories":[],"sub_categories":[],"readme":"# Libgenbot\n[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fsuhan-paradkar%2FLibgenbot\u0026count_bg=%2379C83D\u0026title_bg=%23555555\u0026icon=\u0026icon_color=%23E7E7E7\u0026title=hits\u0026edge_flat=false)](https://hits.seeyoufarm.com)\n\n[![forthebadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)\n\n[![PyPI version](https://badge.fury.io/py/Libgenbot.svg)](https://badge.fury.io/py/Libgenbot)\n\nLibgenbot is a Bot written in Python to download PDFs from libgen.\nIt is a fork of PyPaperBot, and is inspired by it\nPlease leave feedback and report issues\n\n## Installation\n\nUse pip to install LibgenBot\n\n```\npip3 install Libgenbot\n```\n\nFor builds with latest changes\n\n```\ngit clone https://github.com/suhan-paradkar/Libgenbot.git\npip3 install -r requirements.txt\npython3 setup.py install\n```\n\n## Installation in termux\n\nFirst, you need to be subscribed into its-pointless repo\n\n```\npkg up\npkg install wget git\nwget https://its-pointless.github.io/setup-pointless-repo.sh\nchmod +x setup-pointless-repo.sh\n./setup-pointless-repo.sh\n```\n\nNow, you need to install numpy\n\n```\npkg install numpy\n```\n\nNow, install pandas.... It takes a bit long time... so have a cup of tea\n\n```\nexport CFLAGS=\"-Wno-deprecated-declarations -Wno-unreachable-code\"\npip install pandas\n```\n\nNow, install using pip\n\n```\npip install Libgenbot\n```\n\nFor builds with latest changes\n\n```\ngit clone https://github.com/suhan-paradkar/Libgenbot.git\npip install -r requirements.txt\npython setup.py install\n```\n\n## Usage\n\n| Arguments          | Description                                                                              | Type   |\n| ------------------ | ---------------------------------------------------------------------------------------- | ------ |\n| `--query`          | Query to make on Libgen page                                                             | string |\n| `--genre`          | select genre: one of 'libgen(Sci-Tech)[1]''Scientific articles[2]' 'Fiction[3]' . Is a must when using libgen                      | Int |\n| `--scholar-query`  | Query to be made on the Google Scholar page                                              | string |\n| `--doi`            | DOI of the paper to download (this option uses only SciHub to download)                  | string |\n| `--doi-file`       | File .txt containing the list of paper's DOIs to download                                | string |\n| `--libgen-pages`   | Number or range of Libgen pages to inspect. Contains variable no. of pages               | string | \n| `--scholar-pages`  | Number or range of Google Scholar pages to inspect. Each page has a maximum of 10 papers | string |\n| `--libgen-results` | Number of papers to download. Useful When \\-\\-libgen-pages=1                             | int    |\n| `--scholar-results`| Number of papers to download. Useful When \\-\\-scholar-pages=1                            | int    | \n| `--dwn-dir`        | Directory path in which to save the result                                               | string |\n| `--min-year`       | Minimal publication year of the paper to download                                        | int    |\n| `--max-dwn-year`   | Maximum number of papers to download sorted by year                                      | int    |\n| `--max-dwn-cites`  | Maximum number of papers to download sorted by number of citations                       | int    |\n| `--journal-filter` | CSV file path of the journal filter . Only works on Scholar                              | string |\n| `--restrict`       | 0:Download only Bibtex - 1:Down load only papers PDF                                     | int    |\n| `--scihub-mirror`  | Mirror for downloading papers from sci-hub. If not set, it is selected automatically     | string |\n| `--proxy`          | Use Proxychains. Provide a seperated list of proxies (See below)                         | string |\n| `-h`               | Shows the help                                                                           | --     |\n\n## Note\n\nYou can use only one of the arguments in the following groups\n\n `--query`, `--scholar-query` `--doi-file`, and `--doi` \n `--max-dwn-year` and `and max-dwn-cites`\n\nOne of the arguments `--doi`, `--query`, `--scholar-query` , and `--file` is mandatory\nThe arguments `--scholar-pages` is mandatory when using `--scholar-query`\nThe argument `--dwn-dir` is mandatory.\nThe argument `--genre` is mandatory when using `--query`\n\nThe argument `--journal-filter`  require the path of a CSV containing a list of journal name paired with a boolean which indicates whether or not to consider that journal (0: don't consider /1: consider)\n\nThe argument `--doi-file`  require the path of a txt file containing the list of paper's DOIs to download organized with one DOI per line.\n\nThe argument `--proxy` must be used at the end of the command. The protocol used and the port must be mentioned. \n\n#### Usage of Proxy\n\n```\nLibgenbot --query=rheumatoid+arthritis --libgen-pages=1 --libgen-results=20 --genre=1 --dwn-dir=documents/ --proxy http://1.1.1.1:8080 http://8.0.8.0:8024\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreepy-pasta101%2Flibgenbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreepy-pasta101%2Flibgenbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreepy-pasta101%2Flibgenbot/lists"}