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 25, 2017
1 parent 0e8e86d commit 11d99c8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scraper.py
Expand Up @@ -164,10 +164,7 @@ def parse_article(self, response):
)

scraperwiki.sqlite.save(unique_keys=['identifier'], data=dict(publication))
print (scraperwiki.sqlite.show_tables() )
print (scraperwiki.sqlite.select("* from data limit 10"))
print (scraperwiki.sqlite.show_tables(["data"]))
print (scraperwiki.sqlite.table_info("data"))
print (scraperwiki.sqlite.select("* from data limit 2"))

def slugify(self, text):
text = strip_diacritics(text).lower()
Expand Down

0 comments on commit 11d99c8

Please sign in to comment.