Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aniri committed Jul 24, 2017
1 parent 1feefbc commit cd99662
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scraper.py
Expand Up @@ -163,6 +163,7 @@ def parse_article(self, response):
#max_feedback_date = feedback_date
)

scraperwiki.sqliteexecute("DROP TABLE data")
scraperwiki.sqlite.save(unique_keys=['identifier'], data=dict(publication))

def slugify(self, text):
Expand Down

0 comments on commit cd99662

Please sign in to comment.