Đang Thực Hiện

161939 Read Web Page, Loop Through

I need a script that can:

1. Read/scrape [url removed, login to view];fn=&lid=&re=130&cy=us&JSNONREG=1&pg=1&sort=dt using the function "GetMonsterContent" below.

2. There should be 50 <div id="JobRslt" class="result_item"> </div> sections. There are five <div>'s within each <div id="JobRslt" class="result_item"> </div> section: jobTitle, jobCompany, jobPostDate_Dist, MasterPage1_CenterContent__ctlResultsFlat_rptResults__ctl49_lblMiles and jobLocation. Isolate everything between the five <div> tags for each of these 50 jobs and strip out all HTML -- except for in the jobTitle <div> where I need to know href (put that string into the jobURL variable).

3. Assign each text string to a variable (jobTitle, jobURL, jobCompany, jobPostDate and jobLocation), then output each variable (jobTitle, jobURL, jobCompany, jobPostDate and jobLocation) to the ASP.

4. Loop through all the <div>'s on the page and output them all to the screen.

The entire script should be in vbscript ASP. It should degrade gracefully if anything it encounters isn't working properly. Try it for other [url removed, login to view] searches, please.

I look forward to working with you. I need it done tonight.

Function GetMonsterContent(page)

On Error Resume Next

strUrl = "[url removed, login to view]"

Set objXMLHttp = [url removed, login to view] ("[url removed, login to view]")

[url removed, login to view] "GET", strUrl, False

[url removed, login to view]

If [url removed, login to view] = 0 Then

If [url removed, login to view] = 200 then

GetMonsterContent = [url removed, login to view]

Else

GetMonsterContent = "Error"

End if

Else

GetMonsterContent = "Error"

End If

Set objXMLHttp = Nothing

End Function

Kỹ năng: Bất kì công việc gì, ASP

Xem thêm: www monster jobs . com, www monster jobs, www jobsearch com, www jobsearch, vbscript jobs, text string search, search text string, screen innovation, q.c. jobs, monster us, monster search, monster's, monster resume, monster jobs com, monster.com resume, monster.com jobsearch, monster com jobs, microsoft jobs, microsoft.com/jobs, jobs on monster, jobs monster com, jobs monster, jobs id com, jobsearch monster, jobsearch com

Về Bên Thuê:
( 58 nhận xét ) Seattle, United States

Mã Dự Án: #1908128

Đã trao cho:

ynabilsl

I can do it.

$10 USD trong 0 ngày
(0 Đánh Giá)
0.0