On Sunday, September 22, 2013 9:36:25 PM UTC-4, Joel Goldstick wrote:
> On Sun, Sep 22, 2013 at 9:14 PM,  <worthingt...@gmail.com> wrote:
> 
> Was hoping to get some tips or advice on scripting a program that would sort 
> through my many links on my directory website and print out to me the ones 
> that are broken or no longer functioning so that I could fix or remove them 
> from the site. Any help, ideas, advice will be greatly appreciated.
> 
> 
> --
> 
> https://mail.python.org/mailman/listinfo/python-list
> 
> 
> 
> 
> This is a python list.  is this python related? what have you tried?  Do you 
> know about beautiful soup or requests?  they can help you I think.  You 
> really need to provide more information for any useful help here
> 
> 
> 
> 
> -- 
> 
> 
> Joel Goldstick
> http://joelgoldstick.com

I'm trying to create a Python script that will search through the url links on 
my directory website and using a logic statement like, if: (how ever i would 
establish in python that the url is not broken) then return, elsif: (link is 
broken) then: print '%s is broken.' (%s being the name of the link). I want the 
program to perform this on all the links so that I can easily see which links 
are useless on my website so my page doesn't wind up functionally being 
difficult and clouded with broken links like every other crappy directory. 
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to