Jump to content
UBot Underground

jonemd

Members
  • Content Count

    5
  • Joined

  • Last visited

Posts posted by jonemd

  1. Hi guys,

     

    thanks to both of your for your replies.

     

    For the record, I ended up going with the first option primarily because there are other URLs it would be handy to keep on that list.

     

    Incedently, I couldn't get your code to work Steve. Is there anything I can post that would help you to help me??

     

    Thanks again

  2. Thanks for the reply. While I understand the logic needed to solve this issue I'm unsure of how to code it (even in node view) I just can't find the right commands.

     

     

    Loop through the list and check each list item for conditions that you want.

     

    For example, not actually code.

     

    Loop list total (scraped url list)

    Set current list item to next list item in scraped url list

    If current list item contain x, y, z

    Add current list item to new list

  3. Hi Guys,

     

    I'm a complete noob with an issue;

     

    I have created a bot that is starting to do what I want it to but I've now come up against a brick wall that I can't get over despite looking for the answer everywhere.

     

    Issue is this...

     

    I scrape a webpage for "fullhref" which returns all links as required in to a list. What I need to do now is copy URLs that meet a certain criteria to a new list

     

    example:

     

    First List Returns

    www.example.com

    www.example.com/1

    www.example.com/2

    www.example.com/3

    www.example.com/video/1

    www.example.com/video/2

    www.example.com/video/3

    www.example.com/end

     

    I now want to get the links that contain "www.example.com/video" in to a new list. I'm aware this is probably really basic and simple for most of you but I'm struggling!

     

    If someone could help me not only would I greatly appreciate it but you might just save my laptop from heading out of the window!!

     

    Thanks :)

     

     

    Jonathan

     

     

     

     

×
×
  • Create New...