Packtpub Scrapper


This tool lets you download ebooks and videos from even if you don’t have a full paid subscription.

System Requirement

  • Docker
  • Yeh That’s all you need ?

Steps to run

  • Get a trial account at
  • It requires a simple visa or a mastercard, and 1 USD will be charged and refunded in a day.
  • Clone this repo locally.
  • Create a .env file which contains the following variables.
    • user
    • pass
    • bookid
    • TOKEN (optional)

A sample env file looks like

[email protected]
TOKEN="Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQ..

Technical Details

System Requirement for Development

  • Java 11
  • Intellij IDEA (or any idea with awesome Kotlin Support)
  • Webstorm (or any idea with awesome Nodejs support)
  • Nodejs
  • Docker


  • JVM
    • Jetbrains Exposed for easily handling sql Queries
    • Sqlite an embedded db
    • Ktor-client for making network requests
    • Gson for Json parsing
  • Nodejs
    • epub-gen
    • Express


View Github