GETGBOOK(1)

πŸ“¦ version 1.2, in nixos 26.05, nixpkgs unstable

πŸ’… getgbook(1) πŸ’… β€” General Commands Manual, but make it a group chat

okay so bestie, welcome to the getgbook(1) page from the General Commands Manual β€” manual name folded in near the top, exactly like we promised, and now we're gonna make it make sense. This is the whole vibe for downloading books from google books. ✨

🌸 NAME 🌸

getgbook β€” downloads books from google books

✨ SYNOPSIS ✨

getgbook [-c|-n] bookid

πŸ¦‹ DESCRIPTION πŸ¦‹

getgbook downloads pages of books from google books' "book preview" service. Some pages are not available, in which case they will be skipped. no cap, that's literally the whole description. πŸ’–

πŸŽ€ OPTIONS πŸŽ€

  • -c β€” Downloads from page codes given on stdin (one code per line). Google books page codes are one of the following, followed by a number: PP PR PA PT.
  • -n β€” Downloads from page numbers given on stdin (one number per line).
  • bookid β€” the unique ID Google assigns to each book. It is 12 characters long. It can be found by looking for the id= part of the URL of its Google Books page.

πŸ”₯ NOTES πŸ”₯

  • Some pages of "limited preview" books are never available. πŸ’€
  • Book pages vary in availability depending on the location of your IP. lowkey geographic discrimination, but okay.
  • The way this works: getgbook will not try to download pages that have already been downloaded, so stopping it and then starting it later will continue from where it left off. self-care continuity icon. 🫢
  • getgbook uses several cookies to get as many pages as possible. However Google Books also limits the number of pages based on IP address, for 24 hours. Therefore if not all pages are downloaded it may be worth rerunning getgbook in 24 hours, or from a different IP.
  • Google makes the scans for many books it believes to be in the public domain available to download directly from http://www.archive.org/details/googlebooks β€” yes, that exact URL, keep it.
heads up bestie: "limited preview" pages can just be permanently unavailable, and IP-based limits are a whole 24-hour situation. not me pretending that's not annoying. 😭

🌈 EXAMPLES 🌈

  • download all of a book
getgbook ta1uaL7RF5g
  • download the first 100 pages of a book
seq 100 | getgbook -n ta1uaL7RF5g
  • download specific pages from a list with one page number per line
getgbook -n ta1uaL7RF5g < pagelist.txt

πŸ’œ SEE ALSO πŸ’œ

getabook(1), getbnbook(1), getxbookgui(1)


that's the whole page, bestie 🫢 this is the getgbook-1.2 manual β€” yep, that's the source/version in the footer β€” and the footer doesn't give a date, so no made-up date, periodt.

πŸ“¦ where this page comes from