In Succession of trying to make fast easy read access to the newspaper I run an issue into the careers section of the site.
Well im trying to strip out 4 basic things out of this webdata and well im kinda running into a wall because with many regex tries I do or what not the DATA in question that im trying to receive is not echoing back to me..
Here's what im trying to get out of this link.
http://ospreycareers.com/results.asp?sea...bmit=New+SearchIn the middle column where red data is
A) Job Title
B) Date
C) Source
Like this ex.: first one MACHINE OPERATORS: Fabricating... 11/8/2007 Sault Ste Marie
I'll give you the base code I got to start off, w/echo data get but I sit here not finding the specific information I need. (Im not sure by connecting through socket if theres an issue on that site getting the info I need but hopefully not)
alias news_career sockclose news_career | sockopen news_career ospreycareers.com 80
on 1:sockopen:news_career:{
.sockwrite -n $sockname GET /results.asp?search_type=quick&kw=&city=Sault+Ste+Marie&submit=New+Search HTTP/1.1
.sockwrite -n $sockname HOST: ospreycareers.com
.sockwrite -n $sockname $crlf
}
on 1:sockread:news_career:{
if ($sockerr > 0) return
var %x | sockread -fn %x
echo -a %x
}
Again I tried numerous ways to strip the data yet its still not fetching the proper area of the dump.
Any help would greatly be appreciated.