Jump to content
UBot Underground

Loop Test List Item


Recommended Posts

Is there a way to test to see while looping through a list if the list item contacts *google*

 

Scraping some urls off google and cant figure out a way to ditch their own urls. So I figure if while im iterating through the urls it did find if i could run a wildcard test search i can just skip it.

 

Thanks for the help

Link to post
Share on other sites

1) Scrape all the urls into a list.

2) Loop through the list and check if the list item contains google.

3) If it does not contain google add this to a NEW list.

 

At the end your new list will have all the urls that don't contain google. You can check if the item contains google using javascript or the pro version has a contains function I believe.

 

Andy

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...