Yelpcrawl
Crawl and scrape Yelp's restaurant data for every zip code in the United States (or a specified zipcode). Yelp Crawler.
Install / Use
/learn @codelucas/YelpcrawlREADME
YelpCrawl: Exhaustive Yelp! Scraper
Example usage for yelp_ extraction.
Extract all restaurant data from a specific zipcode.
::
$ python2.7 crawler.py -z 98029
===== Attempting extraction for zipcode < 98029 >=====
title: Issaquah Coffee Company
categories: Coffee & Tea
rating: 4.0 star rating
...
Extract all restaurant data from America (all American zipcodes).
::
$ python2.7 crawler.py
**We are attempting to extract all zipcodes in Amerrica!**
===== Attempting extraction for zipcode < 35004 >=====
title: Brasher Sam Tire & Auto Service Inc
categories: Tires
rating: 5.0 star rating
...
Installation:
::
$ git clone https://github.com/codelucas/yelpcrawl
$ cd yelpcrawl
$ pip install -r requirements.txt
And now you can begin!
::
$ python2.7 crawler.py -z 98029
Feel free to send in pull requests. We need some test cases please :)
This code was written when the two of us were still relatively new at python so excuse the shittyness. This was open sourced just for keepsake, it's nothing fancy and there are definitely better scraping solutions out there.
We used slower parsers like beautifulsoup_ and no multithreading
because yelp_ would've rate limited us anyways :)
By: Lucas, Mathew
.. _yelp: http://www.yelp.com
.. _beautifulsoup: http://www.crummy.com/software/BeautifulSoup/
.. _Lucas: http://codelucas.com
.. _Mathew: https://www.facebook.com/matsprehn
Related Skills
next
A beautifully designed, floating Pomodoro timer that respects your workspace.
product-manager-skills
50PM skill for Claude Code, Codex, Cursor, and Windsurf: diagnose SaaS metrics, critique PRDs, plan roadmaps, run discovery, and coach PM career transitions.
pm
PM Agent Rule This rule is triggered when the user types `@pm` and activates the Product Manager agent persona.
