Website Page Scraping

The script would be built in PHP, so I can run it from my own server.

Here’s what the script does:

1. Reads from a .txt file that is in this format:

“Country_1″;”URL_1″;”Any=1000;YVR-DAC=1000;YYZ-DAC=1000″;”Difference=50”
“Country_2″;”URL_2″;”Any=800;YVR-PEK=750;YYZ-PEK=850″;”Difference=35”
“Country_3″;”URL_3″;”Any=1000;YYZ-DEL=1000;YVR-DEL=1000″;”Difference=40”

So upon executing index.php it goes to the first URL in the text file. This is the first URL to be scraped. We are scra…

Leave a Reply

Your email address will not be published. Required fields are marked *