Simple script that can serve you as reference for sites data scraping. You will have to update the $url, and the target Dom, in this case $titles. Also, you will have to modify the way to show the data collected in the appended file.
For any help contact me through my website: zhma.info