dimanche 29 juillet 2018

extracting multiple urls in a script

I want to write a php script etc where I can load a series of urls into an array and loop on them doing a curl request etc.

given the url https://www.basketball-reference.com/leagues/NBA_2015_games.html

i am trying to work out an automatic process to trigger the share & more option and save as excel workbook.

I have searched the html source but can not find where the section that houses this drop down and thus the url to put in a curl request etc in php.

I am reaching out for help to see if any one can work this out. I ultimatly want to save 20 years of nba stats as a xls or csv files.

thanks




Aucun commentaire:

Enregistrer un commentaire