Re: Re: major HTML scubbing needed
"Gregory J. Weaver" <[email protected]>
| Newsgroups | gmane.comp.windows.shells.litestep |
|---|---|
| Message-ID | <[email protected]> |
get this: http://www.activestate.com/products/activepython/ this should let you run it. Hale, Paul wrote: >> From: Tobbe Lundberg [mailto:[email protected]] >> Sent: Friday, February 23, 2007 6:03 AM >> To: litestep-HzvBz7w1J3cIFlVeWT/[email protected] >> Subject: Re: [Litestep] Re: major HTML scubbing needed >> >> This peice of Python will print four random quotes from bash.org: >> http://rafb.net/p/CWptde33.html >> You will need Beautiful Soup for it to work: >> http://www.crummy.com/software/BeautifulSoup/ (you just have >> to place the BeautifulSoup.py file in the same directory as >> the bash ripping .py file) >> >> //Tobbe >> > > At the risk of sounding really stupid, what do you do with these files? > They are all .py files...no executables, How do you run or configure > them? > > >> On 2/23/07, Sascha Nemecek <[email protected]> wrote: >> >>> Maybe a simple grep under linux will do. Could you post an >>> >> example of >> >>> the HTML code? >>> >>> >>> Sascha >>> >>> Brian Wolven wrote: >>> >>>> Paul wrote: >>>> >>>>> Brian Wolven wrote: >>>>> >>>>>> Paul wrote: >>>>>> >>>>>>> OK, all this talk of Bash got me all hot and bothered. I am >>>>>>> downloading the entire website now. I will weed out >>>>>>> >> all the tiny >> >>>>>>> nothing pages and only keep the pages that have quotes >>>>>>> >> on them. >> >>>>>>> Once that is done, we need to find a way to remove all the >>>>>>> extraneous HTML junk. >>>>>>> >>>>>>> Brian, this sounds right up your alley. I am assuming that all >>>>>>> the quote pages formatting will be identical, >>>>>>> >> otherwise it will >> >>>>>>> be for naught. If they are, could a VBS script be written to >>>>>>> parse out plain text that we could then convert into one line >>>>>>> quotes line our quotes file? >>>>>>> >>>>>> You mean you can't just do it with wazup.dll? ;) >>>>>> >>>>> I didn't think so. Otherwise it would have been done by >>>>> >> now right? >> >>>> I bet rabidcow can do it in DOS. >>>> >>>> >>>> >>>> >> --------------------------------------------------------------------- >> >>>> Can't Unsubscribe? Check http://desktopian.org/listunsub.html >>>> LS List Homepage: http://wuzzle.org/list/litestep.php >>>> Get the LS FAQ: http://lsfaq.shellfront.org >>>> >>> >> --------------------------------------------------------------------- >> >>> Can't Unsubscribe? Check http://desktopian.org/listunsub.html >>> LS List Homepage: http://wuzzle.org/list/litestep.php >>> Get the LS FAQ: http://lsfaq.shellfront.org >>> >>> >>> >> --------------------------------------------------------------------- >> Can't Unsubscribe? Check http://desktopian.org/listunsub.html >> LS List Homepage: http://wuzzle.org/list/litestep.php >> Get the LS FAQ: http://lsfaq.shellfront.org >> >> >> >> > > ------------------------------------------------------------------------------ > The information transmitted is intended only for the person or entity to which it is addressed and may > contain confidential, proprietary and or privileged material. Any review, retransmission, dissemination > or other use of, or taking of any action in reliance upon this information by persons or entities other > than the intended recipient is prohibited. If you received this email in error, please contact the sender > and delete the material from all computers. > > This electronic mail message was sent from L. M. Berry & Company or Berry Network, Inc. Our primary business > address is 3170 Kettering Blvd., Dayton, OH 45439. This message may constitute a commercial solicitation or > advertisement as defined by the CAN-SPAM act of 2003. If you do not wish to receive future commercial > electronic mail solicitations or advertisements from L. M. Berry & Company or Berry Network, Inc., > please send a request to [email protected] > ============================================================================== > > > --------------------------------------------------------------------- > Can't Unsubscribe? Check http://desktopian.org/listunsub.html > LS List Homepage: http://wuzzle.org/list/litestep.php > Get the LS FAQ: http://lsfaq.shellfront.org > > > --------------------------------------------------------------------- Can't Unsubscribe? Check http://desktopian.org/listunsub.html LS List Homepage: http://wuzzle.org/list/litestep.php Get the LS FAQ: http://lsfaq.shellfront.org