Zennoposter: Going through all specific elements on a webpage

mo hab

Новичок
Регистрация
08.12.2018
Сообщения
27
Благодарностей
1
Баллы
3
Lets say there is a page with products to buy, that is organized in rows.

Each row is a product, with the following attributes:
Sponsored (or not sponsored: blank/no-visible-text)
25% off!

So we have 3 different attribute combinations (sponsored, non-sponsored, and 25% off!. What if i wanted zennoposter to go down the page, find each product that isn't sponsored but has 25% off. is there a specific strategy for this method?

Back when I had a python bot for this, I had it scrape a substring of the id which ignored all the rows that didn't have 25% off!. Wondering if there is an easier way to do this on zennoposter. wondering if there is a way to do it without scraping and just by posting.
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 270
Благодарностей
5 853
Баллы
113
Maybe you just better parse all the products with 25% off?
There is parse-helper in our program.
Parse data.png
 

mo hab

Новичок
Регистрация
08.12.2018
Сообщения
27
Благодарностей
1
Баллы
3
You might be right. It looks good, but how can you perform a function on each parsed string.

Example: For each parsed string, click on string.

That will cure a lot of pain. Thanks a lot for your help VladZ
 

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