Web Page data - Still trying
Posted: Tue Apr 27, 2010 12:07 am
I'm still trying to get this web page to deliver all its data. By using the Live Headers addon for FireFox, I have discovered the critical cookie that should make me an authorized user of the data on this page:http://www.investors.com/StockResearch/ ... ymbol=AAPL
It is called .ASPXAUTH and I have used libUrlSetCustomHttpHeaders to splice it into a client request to get the data. The server is not happy with the request as you can see from the log excerpt below. Can any one suggest changes that would get me closer to my solution?
Thanks,
Larry
It is called .ASPXAUTH and I have used libUrlSetCustomHttpHeaders to splice it into a client request to get the data. The server is not happy with the request as you can see from the log excerpt below. Can any one suggest changes that would get me closer to my solution?
Thanks,
Larry
socket selected: 63.71.211.170:80|6927
GET /StockResearch/Quote.aspx?symbol=AAPL HTTP/1.1
Host: http://www.investors.com
User-Agent: Revolution (MacOS)
HTTP/1.1 200 OK
Cache-Control: public,no-cache,no-store,max-age=0,must-revalidate,proxy-revalidate
Date: Mon, 26 Apr 2010 22:37:20 GMT
Content-Length: 157037
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/6.0
SID: 19
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
CommunityServer: 4.0.30417.1769
Set-Cookie: CSUserCookie=2101; domain=.investors.com; path=/
Set-Cookie: CommunityServer-UserCookie2101=lv=Fri, 01 Jan 1999 00:00:00 GMT&mra=Mon, 26 Apr 2010 15:37:20 GMT; expires=Tue, 26-Apr-2011 22:37:20 GMT; path=/
Set-Cookie: CommunityServer-LastVisitUpdated-2101=; path=/
Set-Cookie: CommunityServer-UserCookie2101=lv=Fri, 01 Jan 1999 00:00:00 GMT&mra=Mon, 26 Apr 2010 15:37:20 GMT; expires=Tue, 26-Apr-2011 22:37:20 GMT; path=/
Set-Cookie: ASP.NET_SessionId=2p0sueypmuzv0d45dbgig245; path=/; HttpOnly
Set-Cookie: IBDCampaigns=freetrial=freetrial|1|4/26/2010 3:37:20 PM|A; domain=.investors.com; expires=Tue, 26-Apr-2011 22:37:20 GMT; path=/
Pragma: no-cache
Expires: Mon, 26 Apr 2010 22:37:20 GMT
socket selected: 63.71.211.170:80|6927
GET /StockResearch/Quote.aspx?symbol=AAPL HTTP/1.1
Cache-Control: public,no-cache,no-store,max-age=0,must-revalidate,proxy-revalidate
Date: Mon, 26 Apr 2010 22:37:20 GMT
Content-Length: 157037
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/6.0
SID: 19
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
CommunityServer: 4.0.30417.1769
Cookie: .ASPXAUTH=6D904726BC8A781EB46F79BF1450A25CAEB87D79D348DBEE84CF5077FE1AD79F27EF536587D4FA4E14AB817CFF5C071F5BB6D3F002C302DED1A308A7C6AEE2F6E6D7CAF92DDC2A1B4AEEF5644E5FC730114A4B8D211C2B0C51A1EDF1DE17368DDE70D8A2EAC1638CEE8FDF87F7BF04D27B410941D35D5898319762359191BBBBCDB5B5A2450231AFD8C7E671FE6F59CCAF22D52450065E61CBCF2D9DC0A495EC226E8BFBE467DF919C8DF7F6FD649BC3FA7791EC768533BA0A8A089489E402CA43C771F8B16D50F27CFB1F9846E4498FF55F3758F25BA6B7977068121EC4B00AA164A77D4F4723E0891CF4B14EC6140B9EBBC977A8CABA393621EBA5DC0FDAA34D576DAFAB45072848409C5F9B0AC060E75A47E458F07528BB725DA5613E0A03D7103565A9F159EFEC9EA54DABEDCC08F428B96C2722185F38C1A1DA236DDB1F; CSUserCookie=2101; CommunityServer-UserCookie2101=lv=Fri, 01 Jan 1999 00:00:00 GMT&mra=Mon, 26 Apr 2010 15:37:20 GMT; CommunityServer-LastVisitUpdated-2101=; CommunityServer-UserCookie2101=lv=Fri, 01 Jan 1999 00:00:00 GMT&mra=Mon, 26 Apr 2010 15:37:20 GMT; ASP.NET_SessionId=2p0sueypmuzv0d45dbgig245; IBDCampaigns=freetrial=freetrial|1|4/26/2010 3:37:20 PM|A; Pragma: no-cache
Expires: Mon, 26 Apr 2010 22:37:20 GMT
HTTP/1.1 400 Bad Request
Content-Type: text/html
Date: Mon, 26 Apr 2010 22:37:21 GMT
Connection: close
Content-Length: 20