Make sure your selinum-webdriver is at version 3 https://github.com/mozilla/geckodriver/releases download this and put it somewhere in your path
RubyTapas 2.0 download
Web scraper for gathering and arranging new rubytapas content
Steps
-
gem install 'watir'
-
Copy the
constants.rb.example
file toconstants.rb
-
Fill out constants.rb with your:
- your username and password
- optional: a different directory if you don't want the default RubyTapas
-
In a terminal run
ruby ruby-tapas-downloader
The downloader will put your episodes in this format
/RubyTapas (as defined in your constants.rb file)
/EPISODE_TITLE_FROM_RUBYTAPAS
/episode.mp4 #video episode
/full_page.html #page html with all links
/page_content.hrml #page_content div from page