Skip to content

cortsf/libgen_dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

Batch download files from libgen.

Notes

  • Changes on library genesis often cause libgen_dl to fail. If this happens please open an issue and I'll try to fix it.

Current status (Fri Mar 14 2025)

Libgen.lol down. Remove

Current status (Tue Oct 1 2024)

Libgen.rs down. Using libgen.is.

Current status (Sat Feb 17 2024)

libgen.lol certificates expired, for this reason aria2c has to be called with --disable-ipv6 --check-certificate=false.

Dependecies

  • aria2c (provided by aria2)

Usage

mkdir "hello"
cd hello
libgen_dl.sh "hello world"

libgen_dl.sh downloads files by calling aria2c with --max-tries 20, it also collects all failed links (after 20 tries) in ./libgen_dl/file_download_failures. You can use libgen_dl.sh --retry to re-try downloading these failed items. After finishing downloading with --retry, libgen_dl will update ./libgen_dl/file_download_failures and report the number of remaining failed downloads. You can re-run with --retry multiple times if necessary. This is to avoid using --max-tries 0 which could cause ligen_dl to run indefinitely.

Alternatives

  • libgen-cli
  • libgen-downloader
  • Many (mostly python?) others on gh.

About

Batch download files from libgen

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published