Parse Count

  • Автор темы Автор темы xboredx
  • Дата начала Дата начала

xboredx

Client
Регистрация
26.12.2011
Сообщения
18
Реакции
0
Баллы
0
When parsing things like links for example from a webpage, is there a way to access the number of links through the ZP system? I notice in element properties it will display the instances of the parsed item, bit I cna not figure out how to access those?
 
You would have to regex the page to find ALL links and save them to a list. Then do list processing and use Count of lines to get the number of matches
 
I was afraid of that. I was hoping since the data is there maybe the value was stored at an application level accessible to the project. I am trying to loop through pages of links that vary based on search criteria so counting what I already have won't work. Thanks though!
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)