Logic IF keyword is preset on webpage, help?

Nino

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

I'm new to the program and have no programming skills. I'm stuck creating my bot because I cannot figure out a way to check for a keyword on a page. I'm guessing I should use the IF logic but have no idea what to input.

Help would be greatly appreciated!
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 184
Баллы
113
Hi,

I'm new to the program and have no programming skills. I'm stuck creating my bot because I cannot figure out a way to check for a keyword on a page. I'm guessing I should use the IF logic but have no idea what to input.

Help would be greatly appreciated!
Hey and welcome.

Steps you should take:

1. Take DOM, Source OR Page text
2. Use regex to scrape your keyword and then put it in variable
3. Use logic IF to check if your keyword is there.

Hope thats help

Cheers
 

Nino

Новичок
Регистрация
29.08.2016
Сообщения
5
Благодарностей
0
Баллы
1
Hey and welcome.

Steps you should take:

1. Take DOM, Source OR Page text
2. Use regex to scrape your keyword and then put it in variable
3. Use logic IF to check if your keyword is there.

Hope thats help

Cheers
Thanks for your reply, I realized when you right click the option was right in my face "create check of text presence".(facepalm)
 

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