Jump to content
UBot Underground

Make the bot skip to next record


Guest jonathani501

Recommended Posts

Guest jonathani501

I am working on a scrape bot.

 

The page layout is similar what we did in Google Keywords, it's [NAME] - [#1] - [#2].

I need the info in #2 but have to pull #1 & #2 like in the tutorial

 

Here's what I want to do, use a if/then check to see if #2 is = 0 if so, then go to the next record.

Reason, bot is going to click on Name if there is any info in #2 and scrape the next page. If it's 0 then no need for it to visit empty areas.

 

Thanks!

 

Link to post
Share on other sites
Guest turbolapp

I think this might be where the  If/not command comes in handy. Not sure about your particular situation but for me I have a list of a few hundred urls.  Many of  the urls no longer point to valid sites.  I want to make a new list of only valid urls so I will do:

 

If

  Not

    error codes

 

then

  add to list

 

Obviously that's a little rough and i have no idea if it's going to work or not (still working on it) but it's the best I've come up with so far. If there's a better idea, I would like to know as well.

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...