Skip to content

Selenium project allowing to automatically claim a free book at Packtpub.com using provided credentials.

Notifications You must be signed in to change notification settings

kejn/free-book-claimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

free-book-claimer

Selenium project allowing to automatically claim current free e-book at PacktPub.com using provided credentials.

🚫 Not working anymore

ReCAPTCHA was introduced in the claiming process. Consider using the combination of my 2 userscripts (Grasemonkey/Tampermonkey) instead:

Note: Log into your PacktPub.com account and let browser remember you, before you activate above scripts.

📓 How to use

Download a web driver

In order to use this app you need to download one of the Selenium WebDrivers appropriate for the browser that you have installed on your PC.

Currently supported browsers are:

Important: The brower must have support for jQuery in order to let app run properly.

Add path to web driver to a proper environment variable

For example, if you want to use Firefox, add environment variable with key webdriver.gecko.driver and value containing path\to\your\gecko\driver.exe. Alternatively, you can provide this variable during free-book-claimer execution as java VM variable -Dwebdriver.gecko.driver=path\to\your\gecko\driver.exe.

Provide email and password as command-line arguments

Once you imported project, in your run configuration provide email and password (in that order!) as command-line arguments. They will be used to log in using your account at PacktPub.com.

See it in action

Run the app and claim your free book with no effort!

About

Selenium project allowing to automatically claim a free book at Packtpub.com using provided credentials.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published