All Projects → sknepal → PacktPub-grabber

sknepal / PacktPub-grabber

Licence: other
Grabs Free Learning eBook from PacktPub (everyday) & notifies You via Email.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to PacktPub-grabber

packt-mastering-fp
PacktPub "Mastering Functional Programming with JavaScript" video course materials
Stars: ✭ 17 (-22.73%)
Mutual labels:  packtpub, packt
advanced-cloud-native-go
Advanced Cloud Native Go - Packt Publishing Video Course
Stars: ✭ 18 (-18.18%)
Mutual labels:  packtpub, packt
nodejsdesignpatterns.com
Source for Website for Node.js Design Patterns, book by Mario Casciaro and Luciano Mammino, published by Packt (https://nodejsdp.link/buy)
Stars: ✭ 27 (+22.73%)
Mutual labels:  packt
react-native-ebook
React Native E-book (.mobi, .epub)
Stars: ✭ 45 (+104.55%)
Mutual labels:  ebook
xkcd-to-kindle
A Python script that downloads XKCD comics and converts them to a .mobi e-book
Stars: ✭ 15 (-31.82%)
Mutual labels:  ebook
flutter-ninja
A gentle introduction to an flutter.
Stars: ✭ 204 (+827.27%)
Mutual labels:  ebook
belajar-nodejs
Pengenalan Node.js dan Contoh Aplikasi
Stars: ✭ 56 (+154.55%)
Mutual labels:  ebook
bitcoin-development-with-go
[Work in Progress] A little book on Bitcoin Development with Go (golang)
Stars: ✭ 19 (-13.64%)
Mutual labels:  ebook
booksearch
A Simple Search Engine to help you find FREE Download Links to your Favourite Books
Stars: ✭ 48 (+118.18%)
Mutual labels:  ebook
SystemesInformatiques
Cours de Systèmes informatiques (C, Unix/Linux, ...)
Stars: ✭ 41 (+86.36%)
Mutual labels:  ebook
fimfic2epub
📚 Chrome/Firefox extension & npm package for improved EPUB export on fimfiction.net
Stars: ✭ 17 (-22.73%)
Mutual labels:  ebook
mpspider
公众号文章抓取&生成kindle电子书
Stars: ✭ 51 (+131.82%)
Mutual labels:  ebook
Saaghar
“Saaghar” (ساغر) is a Persian poetry software written by C++ under Qt framework, it uses "ganjoor" database as its database. It has tab feature in both its “Viewer” and its “Search” page that cause it be suitable for research goals.
Stars: ✭ 42 (+90.91%)
Mutual labels:  ebook
Fundamental-Kotlin
Code examples for the Fundamental Kotlin book.
Stars: ✭ 16 (-27.27%)
Mutual labels:  ebook
learn2love
Book for learning programming with Lua and LÖVE.
Stars: ✭ 34 (+54.55%)
Mutual labels:  ebook
eShopOnWeb
Sample ASP.NET Core 6.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
Stars: ✭ 8,250 (+37400%)
Mutual labels:  ebook
ebook
一些已经读、正在读、将要读的书籍
Stars: ✭ 126 (+472.73%)
Mutual labels:  ebook
React-and-React-Native
Code files for React and React Native uploaded by Packt
Stars: ✭ 84 (+281.82%)
Mutual labels:  packt
freebook
📚 Packtpub free learning cli tool
Stars: ✭ 19 (-13.64%)
Mutual labels:  ebook
epub kitty
a beautiful flutter epub reader!
Stars: ✭ 49 (+122.73%)
Mutual labels:  ebook

PacktPub Grabber

Grabs Today's Free Learning eBook from PacktPub & notifies you via Email.

Dependencies

pip install -r requirements.txt

Or, on Arch Linux:

pip2 install -r requirements.txt

Configuration

Steps to configure the script.

PacktPub Account Information

Replace USERNAME and PASSWORD on line 8 and 9 with your PacktPub username (email address) and password.

    br.form["email"] = "USERNAME"
    br.form["password"] = "PASSWORD"

Email Account Information

The script sends the email from a Gmail address you specify to your another email address. Note that, only Gmail account is accepted for sending email. I'd advise not to use your existing Gmail account since you need to enable access for less secure apps.

  • Create a new Gmail account.
  • Enable access for less secure apps on the (new) sending Gmail account.
  • Replace the "FROM", "TO", and "EMAIL PASSWORD" on the last line with your sending Gmail address, receiving Email address and the sending Gmail account's password respectively.
    send_email("FROM", "TO", "PacktPub Grabber", outcome, "EMAIL PASSWORD")

After each run, you'll receive an email in the "TO" address with the success/failure message.

Email From PacktPub Grabber

Run

Two ways to go about running the script.

Manually

To run manually, simply go to the shell and type:

    python /path/to/packtpub-grabber/packtpub-grabber.py

Automatically

Since the purpose of the script is to automate the whole process of getting a free Ebook everyday, you should choose an automated way. So, put the script on your VPS and then setup a cron job so that the script runs everyday on the given time.

Run crontab -e and add the following lines to run the script everday at 6.30 PM.

30 6 * * * python /path/to/packtpub-grabber/packtpub-grabber.py 2>>errors.log

The errors, if any, can be viewed on errors.log file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].