Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelBCU committed Feb 26, 2019
1 parent 7cbbfd1 commit 5d51518
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scraper.py
Expand Up @@ -10,10 +10,11 @@

record = {}

for li in matchedlinks:
for li in matchedlinks[:20]:
listtext = li.text_content()
print(listtext.encode('utf-8'))
record['address'] = listtext
record['link']="https://www.sdlauctions.co.uk"+li.attrib['href']
scraperwiki.sqlite.save(['address'],record)

# # Write out to the sqlite database using scraperwiki library
Expand Down

0 comments on commit 5d51518

Please sign in to comment.