script that crawls website urls

Discussion in 'PHP' started by blue_ocean, Nov 13, 2007.

  1. #1
    Is there a script that can crawl my website url and save all the links in urllist.txt file. Help will be highly appreciated.
     
    blue_ocean, Nov 13, 2007 IP
  2. mindphp

    mindphp Well-Known Member

    Messages:
    88
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    121
    #2
    You can use Regular Expression for this case.
     
    mindphp, Nov 14, 2007 IP
  3. matthewrobertbell

    matthewrobertbell Peon

    Messages:
    781
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Grab the contents of the page, then use preg_match on it.
     
    matthewrobertbell, Nov 14, 2007 IP
  4. blue_ocean

    blue_ocean Active Member

    Messages:
    359
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    75
    #4
    Thanks Matthew. I'm not an expert in this field. How can I start proceedings with preg_match (don't know anything). Help Appreciated, sir.
     
    blue_ocean, Nov 14, 2007 IP
  5. matthewrobertbell

    matthewrobertbell Peon

    Messages:
    781
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #5
    php.net/preg_match , or hire me ;)
     
    matthewrobertbell, Nov 15, 2007 IP
  6. randomIntellections

    randomIntellections Well-Known Member

    Messages:
    985
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    180
    #6
    use this free spider :
    http://home.snafu.de/tilman/xenulink.html

    Only takes a couple minutes to download and install it on ur computer .. its a nice windows app .. jus enter ur website address .. and go!
     
    randomIntellections, Nov 15, 2007 IP
  7. blue_ocean

    blue_ocean Active Member

    Messages:
    359
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    75
    #7
    thanks random. But is there any script that can be integrated on website and which can be cron job to fetch all the website links automatically.
     
    blue_ocean, Nov 24, 2007 IP
  8. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #8
    I will create a simple PHP script to spider URLS/Emails when I have time.

    Peace,
     
    Barti1987, Nov 25, 2007 IP
  9. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #9
    Barti1987, Nov 25, 2007 IP
  10. ruby90

    ruby90 Peon

    Messages:
    721
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Doesn't work that url dude :)

     
    ruby90, Apr 19, 2008 IP