Only 2 of the 4 Epic resorts were including the snow report data in the API call I was using to get said data. Since this was unreliable for all resorts, I have decided to just scrape their pages instead. Unfortunatly they populate the snow report elements with JSON data included within the page using JavaScript. Jsoup only looks at raw HTML responses, so I resorted to using Jsoup to find the script tag with the data in it, and regex to get the data out of the tag. PR changes include:
revamping epic scraper to use Jsoup and regex to get data
Only 2 of the 4 Epic resorts were including the snow report data in the API call I was using to get said data. Since this was unreliable for all resorts, I have decided to just scrape their pages instead. Unfortunatly they populate the snow report elements with JSON data included within the page using JavaScript. Jsoup only looks at raw HTML responses, so I resorted to using Jsoup to find the script tag with the data in it, and regex to get the data out of the tag. PR changes include:
Closes #94