Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #54608

Re: Directory Web Site

X-Received by 10.224.96.136 with SMTP id h8mr26574qan.8.1379901741012; Sun, 22 Sep 2013 19:02:21 -0700 (PDT)
X-Received by 10.49.1.112 with SMTP id 16mr10265qel.7.1379901740989; Sun, 22 Sep 2013 19:02:20 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!d5no1486121qap.0!news-out.google.com!gv3ni1143qab.0!nntp.google.com!d5no1554409qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Sun, 22 Sep 2013 19:02:20 -0700 (PDT)
In-Reply-To <mailman.251.1379900194.18130.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=69.204.114.41; posting-account=jhn_EwoAAACFg8VyT6vUGxrdKWILyP1h
NNTP-Posting-Host 69.204.114.41
References <9c1aee48-7d5e-49d3-ae8c-b5d422cecb9b@googlegroups.com> <mailman.251.1379900194.18130.python-list@python.org>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <b8754e72-bae8-4460-bf11-0acadaa94015@googlegroups.com> (permalink)
Subject Re: Directory Web Site
From worthingtonclinton@gmail.com
Injection-Date Mon, 23 Sep 2013 02:02:21 +0000
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Xref csiph.com comp.lang.python:54608

Show key headers only | View raw


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. 

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Directory Web Site worthingtonclinton@gmail.com - 2013-09-22 18:14 -0700
  Re: Directory Web Site Joel Goldstick <joel.goldstick@gmail.com> - 2013-09-22 21:36 -0400
    Re: Directory Web Site worthingtonclinton@gmail.com - 2013-09-22 19:02 -0700
  Re: Directory Web Site Dave Angel <davea@davea.name> - 2013-09-23 01:59 +0000
    Re: Directory Web Site worthingtonclinton@gmail.com - 2013-09-22 19:04 -0700
  Re: Directory Web Site Chris Angelico <rosuav@gmail.com> - 2013-09-23 17:14 +1000

csiph-web