- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Good day,
Is there a way in which i can web scrap with sas enterprise guide?
Here is what i need to achieve " suppose i have a column field with word phrases that i want to pass to google chrome and maybe extract the contents of their home page. E.G i have the word SAS and i want the contents of the ABOUT US from the first link"
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Maybe you need help from the third side software cURL .
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mokalake,
SAS may not be the best tool to do Web Scraping the way you want to do it. But if you really way do this with SAS, you will need to use PROC HTTP to download the page. Once you have the page downloaded, the best would be to use Regular Expressions to find the information that you are looking for. You will likely need to use SAS Macros to wrap your logic and make iterate properly.
Note that both PROC HTTP and Regular Expressions are fairly advanced skills in SAS.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
https://blogs.sas.com/content/sasdummy/2017/12/04/scrape-web-page-data/
BUT...it's possible your system may be locked down and may not let you do some of these things. EG can often be locked down pretty hard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you. I will have a look at it.