Skip to content

Instantly share code, notes, and snippets.

View anandology's full-sized avatar

Anand Chitipothu anandology

View GitHub Profile
@anandology
anandology / author-keys_2012-01-31.csv
Created February 22, 2012 16:42 — forked from bencomp/author-keys_2012-01-31.csv
Identifiers found in Open Library Edition records, keys found in all records by record type
key records
_date 1
alternate_names 18975
authors 21
bio 9291
birth_date 1240612
body 1
by_statement 10
comment 12165
contributions 1
@anandology
anandology / liveweb.py
Created March 21, 2012 03:02 — forked from rajbot/liveweb.py
wayback-python prototyping
"""Prototype of liveweb proxy.
"""
def get_recent_crawl_location(url):
"""Looks at memcache to find the location of the recent crawl of the given URL.
"""
return memcache_client.get(md5sum(url))
def fetch(url):
"""Fetches a url from liveweb.