def getUrlContent(url): time.sleep(CRAWL_DELAY_SECONDS) return htmlSource.getUrlContent(url, headers=HEADERS)
def _getGeoResponse(query, format="csv", options={}): options["q"] = query options["output"] = format return htmlSource.getUrlContent(GEO_URL, options)