PHP SCRAPING - INCONSISTENCIES
I have one of my scrapers set up to scrape a site for thousands pieces of data...it seems that out of a couple thousand, it sometimes returns missing or blank on a few. It is inconsistent with the rest of the lot.
As an example, let's say I'm scarping a site that displays baseball player stats. My returns would be...
Mickey Mantle - NY Yankees - .357
Wade Boggs - Boston Red Sox - .385
((BLANK)) - LA Dodgers - .297
Mookie Wilson - NY Mets - .234
I've gone back to check the page source and there is nothing different that would create an instance where my parsing would cause the blank to occur.
I've also rerun the exact page through a testing scraper and it picks up the pieces just fine.
So I guess I'm going a long way to ask if PHP is accustomed to having slight irregularities or inconsistencies when dealing with multiple pieces of data?
Want to read my personal blog? Tashi Mortier