Simple script required to scrape authenticated website
This project was awarded to gangabass for $70 AUD.Get free quotes for a project like this
Project Budget$30 - $250 AUD
Need a simple VBSCRIPT script using [url removed, login to view] which can download an article which requires authentication. For example, the URL [url removed, login to view] requires a login, i need some VBSCRIPT to programatically download the contents of this URL (I have a valid user_id and password, which i can test myself using your code) - the syntax i am using is not working for some reason:
Set oHTTP = CreateObject("MSXML2.ServerXMLHTTP.6.0")
sURL = "[url removed, login to view]"
sPostData = "uname=xxxx&pass=yyyy"
[url removed, login to view] "POST", sURL, False
[url removed, login to view] "Content-Type", "application/x-www-form-urlencoded"
[url removed, login to view] (sPostData)
[url removed, login to view] [url removed, login to view]
I am being redirected to a page to log in, so the authentication is not working, however when i drive the webpage myself (log i accordingly) it works fine. So there must be a technique i am missing. This should be very quick for anyone who knows how it should be done.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online