Skip to content

VinnieVendemia/dominion-power-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dominion Power Scraper

====================

The dominion-power-scraper is responsible for scraping client information from Dominion Power's website

Usage

Console usage

You can use the console to test functionality or add new. To use:

$ bundle exec bin/console 

From here, you can run commands such as:

d = DominionPower::Driver.new
d.visit_dominion_power

This will give u a session and take you to the dominion power website. Interact with the page through

d.driver 

Rake usage

To get the bill info for a particular client, use the following rake task

$ username={X} password={X} bundle exec rake scraper:scrape

Wishlist

  • Replace puts statements with logging gem
  • Grab all historical data for a client
  • Add multi-threaded functionality to scrape multiple clients at once

About

A webscraper that grabs customer information from Dominion Power's website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages