Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vlakos committed Aug 1, 2018
1 parent 0b29e09 commit 43d4a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -5,7 +5,7 @@

#createavariablecalled'url'andthenreadwhat'sthere
url="http://www.staffssaferroads.co.uk/media/114997/03092012_forwebsite.pdf"
pdf data = urllib2.urlopen(url).read()
pdfdata = urllib2.urlopen(url).read()
print "The pdf file has %d bytes" % len(pdfdata)

#converttoxmlandprintsomeinfo
Expand Down

0 comments on commit 43d4a4c

Please sign in to comment.