Skip to content

Commit

Permalink
Fixed a very rare bug that could cause a crash when a restaurant's
Browse files Browse the repository at this point in the history
website had a long URL. Now the scraper will look for internal anchors #
and, if none are found, it will just drop the URL
  • Loading branch information
Darktex committed Dec 13, 2012
1 parent 5844e75 commit ca23ff5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions YelpScraper/src/edu/ucsb/testuggine/YelpRestaurant.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ private String mineWebsite() {
else
return "";
}


private Float mineScore() {
Elements scoreContainers = restaurantInfoContainer
Expand Down

0 comments on commit ca23ff5

Please sign in to comment.