Re: Using regular expressions in internet searches
- From: "MyHaz" <support.services.complaints@xxxxxxxxx>
- Date: 3 Jul 2005 12:05:30 -0700
Python would be good for this, but if you just want a chuck an rumble
solution might be.
bash $wget -r --ignore-robots -l 0 -c -t 3 http://www.cnn.com/
bash $ grep -r "Micheal.*" ./www.cnn.com/*
Or you could do a wget/python mix
like
import sys
import re
sys.os.command("wget -r --ignore-robots -l 0 -c -t 3
http://ww.cnn.com/")
re_iraq=re.compile("iraq .+?",re.IGNORECASE)
while "file in dirs under ./www.cnn.com/ "
iraqs = re_iraq.findall(file.read())
print iraqs
.
- References:
- Using regular expressions in internet searches
- From: mike . ceravolo
- Using regular expressions in internet searches
- Prev by Date: Re: map/filter/reduce/lambda opinions and background unscientificmini-survey
- Next by Date: Re: How do you program in Python?
- Previous by thread: Re: Using regular expressions in internet searches
- Next by thread: Re: Using regular expressions in internet searches
- Index(es):
Relevant Pages
|