School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,418 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,558 people online right now. Registration is fast and FREE... Join Now!




Screen Scraping with CF

 

Screen Scraping with CF

fremgenc

5 May, 2009 - 10:31 AM
Post #1

D.I.C Head
**

Joined: 15 Nov, 2007
Posts: 119



Thanked: 3 times
My Contributions
Hey guys,
I'm trying to screen scrape Dell's website to extract warranty information based on a service tag. There are about 100 machines that need to be updated.

I can screen scrape ANY other site (well the numerous ones ive tried) but not Dell's, not even http://www.dell.com/

The specific URL I am using is:http://support.dell.com/support/topics/glo...vicetag=8gmjt31

Do you have any idea what is preventing me from scraping dell's site? Here's my code:
CODE
        
<cfset strURL="http://support.dell.com/support/topics/global.aspx/support/my_systems_info/details?c=us&l=en&s=gen&servicetag=8gmjt31"/>
        
<cfhttp url="#strURL#" method="get" resolveurl="yes"/>
        
<cfset Page = #cfhttp.FileContent#>
<cfoutput>#Page#</cfoutput>


I get a "Connection Failed" error as the output of #Page#

This post has been edited by fremgenc: 5 May, 2009 - 10:34 AM

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 11:37PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month