Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
danozgriff committed May 11, 2016
1 parent bccf9ba commit 6d57b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
u=urllib2.urlopen("http://pilbaraports.com.au/Shipping_Schedule/Current_Shipping_Schedule.pdf")

x=scraperwiki.pdftoxml(u.read())
print x[:1024]
print x
r=lxml.etree.fromstring(x)
r.xpath('//page[@number="1"]')
r.xpath('//text[@left="64"]/b')[0:10]
Expand Down

0 comments on commit 6d57b52

Please sign in to comment.