Skip to content

Commit

Permalink
Allow multiple pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBone committed Aug 16, 2018
1 parent 1ee5a46 commit 5bd2cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.rb
Expand Up @@ -87,7 +87,7 @@
if next_page_img
p "Found another page"
next_page_path = next_page_img['onclick'].split(',').find { |e| e =~ /.*PageNumber=\d+.*/ }.gsub('"', '').strip
# summary_page = agent.get "#{base_url}#{next_page_path}"
summary_page = agent.get "#{base_url}#{next_page_path}"
end
end

Expand Down

0 comments on commit 5bd2cfe

Please sign in to comment.