Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Spider
Message
 
À
15/06/2004 11:30:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Divers
Thread ID:
00913846
Message ID:
00914027
Vues:
10
From the West-wind help file:
oHTTP=CREATEOBJECT("wwHTTP")

lcHTML = oHTTP.HTTPGet("http://www.west-wind.com/")

*** Do something with the HTML
ShowHTML( lcHTML )  && in wwUtils.prg
>>>Hi All. I need to build a basic website spider in VFP. Does anyone have any suggestions or sample code to get some ideas flowing? All ideas, thoughts, suggestions, money orders welcome.
>>
>>Could you elaborate more on the goals you wish to reach?
>
>Hi Michel. I would like to develop a VFP app which takes a "target" website homepage url and downloads the starting homepage. Then analyzes the html for hyperlinks to other pages within the same site, and then re-iterate the process looking for more and more pages on the same website. I would optionally store the html text depending on whether I found it interesting or not.
>
>So I'm guessing I would start with creating an IE object. Downld the first page and extract the links or search for "href" commands or some such. Then follow those links for more pages within the same site.
>
>Any suggestions or sample code like this?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform