How would I scrape this JSON info using PHP and MySQL?
问题 Here's the info I'm trying to break up into a database. I'm going to be using this only for my own use to analyse statistics and all that. I have been manually doing it with Excel but I'd like to save myself some work in future. URL IS: http://fantasy.premierleague.com/web/api/elements/537/ Any idea how to scrape that info or easily convert it to excel format? I know a bit of php and mysql, but nothing about JSON and very little about scraping (I tried messing with SIMPLE_HTML_DOM). 回答1: You