Skip to content

Instantly share code, notes, and snippets.

@maxhodak
Created March 29, 2011 07:05
Show Gist options
  • Save maxhodak/891924 to your computer and use it in GitHub Desktop.
Save maxhodak/891924 to your computer and use it in GitHub Desktop.
{
"name": item['brand'],
"store": item['store_host'],
"url": item['url'],
"crawl_history": [datetime.datetime.utcnow()]
}
self.mongo_conn.brands.insert({
"name": item['brand'],
"store": item['store_host'],
"url": item['url'],
"crawl_history": [datetime.datetime.utcnow()]
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment