Skip to content

robot framework script that get free ebook from packtpub to your account everyday

Notifications You must be signed in to change notification settings

ibotdotout/robot-packtpub

Repository files navigation

Robot-Packtpub

Build Status

Robotframework script that get free ebook from packtpub to your account

How to Use with Docker

# Rename config.txt.sample to config.txt and
# Edit {USER} and {PASSWORD} first !!!

# build docker
$ docker build -t robot-packtpub .

# run
$ docker run --rm robot-packtpub

How to Use

# Rename config.txt.sample to config.txt and
# Edit {USER} and {PASSWORD} first !!!

$ pybot getebook.txt

Requirements

  • python
  • robotframework
  • robotframework-selenium2library
  • phantomjs 2.0

Install Dependencies

Ubuntu:

# ubuntu
# using phantomjs2.0 pre-built from https://github.com/Pyppe/phantomjs2.0-ubuntu14.04x64
$ apt-get update
$ apt-get install -y python-dev python-pip
$ apt-get install -y phantomjs libicu52 wget
$ wget https://raw.githubusercontent.com/Pyppe/phantomjs2.0-ubuntu14.04x64/master/bin/phantomjs -O /usr/bin/phantomjs && chmod +x /usr/bin/phantomjs
$ pip install -r requirement.txt

OSX:

$ brew update
$ brew install python
$ brew install phantomjs
$ pip install -r requirement.txt

About

robot framework script that get free ebook from packtpub to your account everyday

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published