May 7, 2018, 8:19 AM
Re: [dilbert] since php-parser attempts failed i need to get a perl-approach
It appears you've merged two different variations of code, they are not compatible with each other. The second was an excerpt from a more comprehensive module set which I wrote merely to test various designs. I had shared one of these designs so that you may use some of its concepts, particularly surrounding pagination. The "crawler" module set has radically changed now, it is very well organized and much simpler than before, but incomplete.
I don't even have a copy of the original script I posted an excerpt of above, I have attached the latest code I have with regards to Europa, it supports pagination of organizations and compiles just fine. But note, it was thrown together, it should be used cautiously. Also note, at line 186 there is a condition to limit it to iterating just two pages, the 1 needs to be replaced with $page_max to iterate all. In other words, it probably needs work.
(This post was edited by Zhris on May 7, 2018, 8:20 AM)