Scraping content from a web page

ปิด โพสต์แล้ว Mar 4, 2004 ชำระเงินเมื่อจัดส่ง
ปิด ชำระเงินเมื่อจัดส่ง

i need to make a request to the page [url removed, login to view] using .NET (vb or c#).

They seem to have some special security enabled. I can access the page through internet explorer but i can't access it through a httpWebRequest object.

The following function should work, but always throws a WebException.

Please help!!

private string RequestPage(string url)

{

HttpWebRequest request;

HttpWebResponse response;

string responseText;

// Create request

request = (HttpWebRequest) [url removed, login to view](url);

// Add certificate

[url removed, login to view]([url removed, login to view]("[url removed, login to view]"))

// Get response

response = (HttpWebResponse) [url removed, login to view]();

// Read response stream

responseText = new StreamReader(

[url removed, login to view](),

[url removed, login to view]

).ReadToEnd();

[url removed, login to view]();

return responseText;

}

## Deliverables

Only need the function that will do the job.

I only have to scrape the html of that one page

## Platform

Windows 2000

ASP PHP

หมายเลขโปรเจค: #3121061

เกี่ยวกับโปรเจกต์

4 ข้อเสนอ โปรเจกต์ระยะไกล ใช้งาน %project.latestActivity_relativeTime|แทนที่%

freelancer 4 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $132

sergruch

See private message.

$425 USD ใน 14 วัน
(84 รีวิว)
5.5
shawnjacobson

See private message.

$17 USD ใน 14 วัน
(15 รีวิว)
3.4
bassmanvw

See private message.

$42.5 USD ใน 14 วัน
(0 รีวิว)
0.0
methodvw

See private message.

$42.5 USD ใน 14 วัน
(0 รีวิว)
0.0