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 b971a67 commit 0e8e86d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scraper.py
Expand Up @@ -165,6 +165,9 @@ 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"))

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

0 comments on commit 0e8e86d

Please sign in to comment.