[Assorted-commits] SF.net SVN: assorted:[1843] sandbox/trunk/src/one-off-scripts
Brought to you by:
yangzhang
From: <yan...@us...> - 2012-10-19 10:49:24
|
Revision: 1843 http://assorted.svn.sourceforge.net/assorted/?rev=1843&view=rev Author: yangzhang Date: 2012-10-19 10:49:16 +0000 (Fri, 19 Oct 2012) Log Message: ----------- Add Craigslist gig finder Added Paths: ----------- sandbox/trunk/src/one-off-scripts/craigslist-gig-finder/ sandbox/trunk/src/one-off-scripts/craigslist-gig-finder/go.bash Added: sandbox/trunk/src/one-off-scripts/craigslist-gig-finder/go.bash =================================================================== --- sandbox/trunk/src/one-off-scripts/craigslist-gig-finder/go.bash (rev 0) +++ sandbox/trunk/src/one-off-scripts/craigslist-gig-finder/go.bash 2012-10-19 10:49:16 UTC (rev 1843) @@ -0,0 +1,4 @@ +#for i in {1..9}; do echo "http://sfbay.craigslist.org/cpg/index${i}00.html" ; done | wget -i- +#grep -h -P -o 'http://sfbay.craigslist.org/.*?\.html' index*.html | wget -nc -xi- +grep -oPr 'Compensation:.*<' sfbay.craigslist.org/ | grep -P 'Compensation:.*\d{3}' | cut -f1 -d: | python go.py > results.txt +grep -oPr 'Compensation:.*<' sfbay.craigslist.org/ | grep -iP 'Compensation:.*(well|high)' | cut -f1 -d: | python go.py > results.txt This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |