Skip to content

Commit

Permalink
Update scraper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
jamezpolley committed May 30, 2019
1 parent ee126f3 commit b384a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.rb
Expand Up @@ -63,7 +63,7 @@ def scrape_pdf(url)

a = Mechanize.new
a.get("https://www.ccc.tas.gov.au/planning-development/planning/advertised-planning-permit-applications/") do |page|
page.search('.uContentList a').each do |a|
page.search('.doc-list a').each do |a|
unless a.at('img')
url = a['href']
s = a.inner_text.split('-')
Expand Down

0 comments on commit b384a1e

Please sign in to comment.