This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#note: must provide raw HTML file as argument. I just used wget on the business' URL | |
#yelp data scraper | |
#programmed by michael ward | |
#programmed for tater & joes cafe | |
#h3xc0ntr0l@gmail.com | |
reg = /.*<p itemprop="description".*>(.*)<\/p>/ | |
user = /.*<meta itemprop="author" content="(.*)">.*/ | |
exit unless ARGV.length == 1 | |
fd = File.open(ARGV[0], "r"); |
NewerOlder