Write and run SAS programs in your web browser

Visit a website

Reply
Contributor
Posts: 48

Visit a website

Hello, everyone, another funny issue.

 

I would like to use sas di to navigate a website. Is there any suggestion to do it, say just want to visit http://google.com

 

I have searched for SOAPand RESTtransformation, seems SOAPis not suitable as it is about web service on the server. REST would be similar what I want to do.

 

Thanks

Super User
Super User
Posts: 7,997

Re: Visit a website

In what sense?  Do you want to extract data from a data provider, or just get the HTML web page for some scraping?  If you want to extract from a data provider, then proc http:

http://support.sas.com/documentation/cdl/en/proc/70377/HTML/default/viewer.htm#n0bdg5vmrpyi7jn1pbgbj...

 

Is likely a good canidate.

 

If its just a call to a web page to get the variosu html pages back then filename url is likely the first candidate.  Some searches from here on the subject:

https://communities.sas.com/t5/Base-SAS-Programming/webscraping-links-from-a-web-page/td-p/317764/pa...

https://communities.sas.com/t5/General-SAS-Programming/Webpage-scraping-using-SAS/td-p/312396

Ask a Question
Discussion stats
  • 1 reply
  • 142 views
  • 0 likes
  • 2 in conversation