Message Boards Message Boards

[NB] Scraping OpenTable's "State of the Industry" page

Posted 10 months ago
1 Reply
4 Total Likes

MODERATOR NOTE: coronavirus resources & updates:

Posted 10 months ago

Hi Aaron,

Nice post! I expected the impact to be bad, but not so bad. Unfortunately, many restaurants will not be able to recover from the financial impact.

Here is another way to download the raw data

session = StartWebSession[];
WebExecute[session, "OpenPage" -> ""];
downloadButton = WebExecute[session, "LocateElements" -> "Tag" -> "Button"];
WebExecute[session, "ClickElement" -> downloadButton];
rawData = Import["~/Downloads/state_of_industry_data.csv", "Dataset"]

enter image description here

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract