Scrape Values in ZennoPoster 5.9.8.0 demo

ZENLAGGOR

Новичок
Регистрация
23.02.2016
Сообщения
6
Благодарностей
0
Баллы
1
Hey,

I'm checking out the demo, and I've got stuck at trying to scrape some data. When I watch old tutorials I found on youtube I see people using the Regular expressions designer, however mine when I open it shows empty and no text for processing so I'm at a loss as to where to start for scraping text?

I'm actually trying to get a list of titles from a div class.

Let me know if this isn't possible in the demo or what I'm doing wrong.

Thanks.
 

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43
The regex designer is empty by default, which you can enter whatever data you want into, and process.

The action constructor is great for grabbing stuff by class or element, but not that great when it comes to lists/multiple matches (could be solved with loops ofc).
http://zennolab.com/wiki/en:action_constructor

To load the source/DOM from the current page into the regex designer you can click this button.
 
  • Спасибо
Реакции: ZENLAGGOR

ZENLAGGOR

Новичок
Регистрация
23.02.2016
Сообщения
6
Благодарностей
0
Баллы
1
Thanks Tobbe,

Now I'm sitting here trying to work out how to remove:
"> from the start and </a></li> from the end these ended up in the texts I want. I'll try and solve it myself :ce:
 

ZENLAGGOR

Новичок
Регистрация
23.02.2016
Сообщения
6
Благодарностей
0
Баллы
1
OK so the data is in a list, but I need to get all the data to a variable to be able to use text processing. How do I get all data in a list to a variable?
 

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43

ZENLAGGOR

Новичок
Регистрация
23.02.2016
Сообщения
6
Благодарностей
0
Баллы
1
How I did it

Take DOM --> My first Regex --> to list
delete first line of text (was trash)
save to file List1
read file to variable
replace
replace
send variable to list
save to List2

I guess I could do more things now its in a variable if required. Time to plan my next steps I didn't think I'd get this far this quick :-)

Thanks for all the help.
 

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