Check url presence in source code ?

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

ZennoFan

Client
Регистрация
31.01.2016
Сообщения
21
Реакции
1
Баллы
3
Hello all,

I wish i could check for a link to a url list. Do you know how to check for a field in a tag <a> directly in the source code?

So I managed to visit a URL and make its source code in a variable, but I do not know how to check the presence of a url and and put current URL in a list if the link is found in the source code.

here is where I am :
rufj.jpg


to be clearer because you give your valuable time :
1) How to check text (=my url) in variable ?
2) How to "say" : If text is here, put URL in list ?


Thx a lot !
 
Последнее редактирование:
Hello qzen4i,
Sorry for my english :s

In First,I have a variable containing source code. I want to look if that source code has a particular link.


EDIT :
So I managed to gather all the links on a page in a list. I would now like to find a particular link in this list to verify its presence , an idea ?


Thx ;-)
 
Последнее редактирование:
Thx for help me ! (love community spirit)

Let me break please :
1) operation with list : Sorry, I don't understand. Is-it an item in advanced editor ?

2) delete line that not includes your URL : I guess I'll understand when I got the answer 1)

3) then you may check it by logic if : Ok, item "If" with this rule : "list = empty" :
>> RED (list no empty, so) > How to copy the url on which were copied all links ?

Thx thx a lot ;)
 
Hello,

PERFECT !
Thx ;)
;-)
 
Последнее редактирование:

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