Coder Social home page Coder Social logo

optionalg / packtpubdownloaderandgetter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akdm/packtpubdownloaderandgetter

0.0 2.0 0.0 137 KB

Small tool allowing you to download Packtpub.com ebooks from a registered account. Now automatically acquires the ebook to your account.

License: MIT License

Python 100.00%

packtpubdownloaderandgetter's Introduction

Packtpub Downloader + Getter


Packtpub Downloader is a small tool that allows any registered account to automatically download all the ebooks (ps: more options to come). It will download everything: .pdf, .mobi, .epub and the zip file if any.

Packpub Downloader screenshot

How to use

It is always better to create a virtual environment to isolate Python environments.

Assuming you already have a working Python environment set up, open up a terminal and refer to the virtualenv webpage to set up everything.

Installing the dependencies

Now that you have the sourced the environment, run the following to install the dependencies:

pip install -r requirements.txt

Using Packtpub Download

The username and password are mandatory:

python pbdl.py -u [email protected] -p mypassword

I've set up multiple arguments for you to provide, those can be shown using the following command:

python pbdl.py --help

Using Packtpub Getter

The username and password are mandatory:

python pbdl.py -u [email protected] -p mypassword

I've set up multiple arguments for you to provide, those can be shown using the following command:

python pbdl.py --help

What for?

Packtpub.com has a free ebook available each day, I didn't want to download my 100+ ebooks I had on my account, so I developed this.

If you feel in the same situation, feel free to use this :)

Changelogs

pbdl.py (Downloads the ebook)

v0.5 (March 22, 2017)

  • [FEATURE] Adds a check if the file has been already downloaded before (so it won't download it again)
  • [FIXED] Identation (2 spaces)

v0.3 (October 06, 2016)

  • [FIXED] Hotfix on UTF-8 encoding

v0.2 (October 06, 2016)

  • [FIXED] Some URL weren't downloading
  • [IMPROVED] CLI is now almost beautiful
  • [IMPROVED] Speed

v0.1 (October 06, 2016)

  • First version, some things are working.

pbget.py (Acquires today's ebook to your account)

v0.1 (April 25, 2017)

  • First version, some things are working. --sms for smaller output (only stdout the ebook name or error if any).

Development

Want to contribute? Great! You're welcome to make some pull requests!

Todos

  • Not much, maybe a multithreading downloader

License

MIT

Free Software, Hell Yeah!

packtpubdownloaderandgetter's People

Contributors

akdm avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.