VIEW SOURCE OF THE PAGE IS NOT ACTUAL WHAT IT IS SHOWING ..
I am testing this url ( https://www.njportal.com/DOR/businessrecords/EntityDocs/BusinessCopies.aspx ),want to fetch all Business Name after click on radio button of Business Name and "testing" word in Business Name * .
1) home page(https://www.njportal.com/DOR/businessrecords/EntityDocs/BusinessCopies.aspx)
extract :
__EVENTVALIDATION
__VIEWSTATE
2)After clicking on radio button of Business Nameo
extracted new value of :
__EVENTVALIDATION ( |__EVENTVALIDATION|~@EVENTVALIDATION@~| )
__VIEWSTATE ( |__VIEWSTATE|~@VIEWSTATE@~| )
but new value __EVENTVALIDATION , __VIEWSTATE is not see in view source only old value of eventvalidation ,viewstate is seen.
Enter "Testing " word in input type .
3) after clicking on "Continue →" .
why it showing errorpage to me.
Please give me any clue ,so that I can proceed furthur.
Hi, The tricky part on this
Hi,
The tricky part on this one is that it uses a couple of unusual headers. I was able to determine this by comparing the last request to the request I recorded in a proxy session (via the "Compare with proxy transaction..." button). Here's the script I used:
scrapeableFile.addHTTPHeader( "X-Requested-With", "XMLHttpRequest" );
scrapeableFile.addHTTPHeader( "X-MicrosoftAjax", "Delta=true" );
If you run that before the file is scraped, and have the correct VIEWSTATE and EVENTVALIDATION parameters it should work. If you'd like you can also send us a support request (http://www.screen-scraper.com/contact/contact_form.php) and I'll send you a scraping session that should get you started.
Kind regards,
Todd