Permalink
Browse files

One-letter change to match changed text on ING site. Scraping is fun.

  • Loading branch information...
1 parent 5c64f36 commit ddad18d7a73fdc4394891ef133f6c9a1a7a6a102 @pauldowman committed Aug 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 accounts/ing_canada.rb
View
@@ -45,7 +45,7 @@ def download_data
agent.submit(form, submit_button)
page = agent.get("https://secure.ingdirect.ca/INGDirect.html?command=displayDownLoadTransactionsCommand&fill=1")
- link = page.links.select {|l| l.text == "DownLoad"}.first
+ link = page.links.select {|l| l.text == "Download"}.first
page = agent.click(link)
data = page.body

0 comments on commit ddad18d

Please sign in to comment.