I need a PHP script that will GET a parameter and pass through to a list of 12 URLs, collecting and managing the content of each of those pages.
Half of those URLs we simply need to collect different text contents in each page, all predetermined by meta tags.
The other half will demand some calculations to be made with different values collected in each page, as well as to search table sheets cells contents in order to retrieve content found in other cells of the same rows.
There is also one page that will require to be called in loop based on the total amount of inner pages it will print the first time its loaded.
In total from all URLs there should be about 40 different content to be retrieved, in which about 10 should require process and calculations.
As an example of instructions for each URL: [url removed, login to view]
- the title of the movie and name of the director;
- the second column's content from the Cast sheet in the row that ABC is found in the left column;
- the gross $ amount from Box Office, and Runtime min from Technical Specs, and calculate the $ divided by min;
With all collected data the script should both store in a MySQL database and print them on the screen, as will be further detailed.
The script must be easily editable in case we need to make future changes such as the name of the meta tags and content for each URL.