Tutorial 2 + iteration
I'm sort of a newbie when it comes to programming but I'm trying to apply the second tutorial (webshop) to an online car market. The material is big so I think I have to iterate to get done. I tried to modify the setup in the tutorial with this script: http://community.screen-scraper.com/Next_Page_Memory_Conscious, but I have run in to some problems.
I'm extracting the number of the next page as HAS_NEXT_PAGE and run the script after each pattern match, but the loop does not seem to get running. This is the output I'm getting:
Search results: Applying extractor pattern: HAS_NEXT_PAGE
Search results: Extracting data for pattern "HAS_NEXT_PAGE"
Search results: The following data elements were found:
HAS_NEXT_PAGE--DataRecord 0:
HAS_NEXT_PAGE=2
Storing this value in a session variable.
Search results: Processing scripts after a pattern application.
Processing script: "NA - iterate"
Scraping file: "Details page"
It scrapes one page as it should, but doesn't loop.
Any thoughts on this one?