Skip to main content
AI Studio  add-on for Spider.
sas.com · HTTP 200

Sas Scraper

Spider read sas.com in 10.3 s without a browser and returned 652 lines of clean markdown.

Get your free API key
Free balance on signup No card. Failed requests cost $0.
Response communities.sas.com/t5/SAS-Enterprise-Guide/When-importing-a-comma-delimited-file-how-do-I-prevent-SAS-from/td-p/104640.md markdown · 652 lines
🔒 This topic is **solved** and **locked**.Need further help from the community? Please* Report Inappropriate ContentWhen importing a comma delimited file, how do I prevent SAS from getting confused when the value for a character variable contains a comma?"daffy duck" , "123 pizza lane**,** ohio" , "555-555-5555""ronald mcdonald" , "435 awesome street, michigan" , "555-555-5555"When importing this data, SAS will assume that daffy duck and ronald mcdonald are names, 123 pizza lane and 435 awesome street are addresses, and that ohio and michigan are phone numbers.All my data is enclosed in quotations. Is there a way to get SAS to allow commas as long as they fall within the quotation marks?HERE'S MY CODING - (This is from the PROC IMPORT)note - the problem occurs with address1%let _EFIERR_ = 0; /* set the ERROR detection macro variable */infile "C:\Users\mconover\Desktop\COURSE WORK\718 Data\Hospital_flatfiles\Hospital_flatfiles\HQI_Hosp.csv" delimiter = ',' MISSOVER DSD lrecl=32767 firstobs=2 ;informat Provider_Number 10. ;informat Hospital_Ownership $15. ;informat Emergency_Service $25. ;format Hospital_Ownership $15. ;format Emergency_Service $25. ;_infile_=compress(compress(_infile_,"'"),'"');Re: When importing a comma delimited file, how do I prevent SAS from getting confused when the value for a character variable contains a comma?Why not only compress out the single quote characters that are causing the trouble instead of removing the double quotes that are protecting the embedded commas?Or if you have some single quotes inside strings then try just removing those that open and close strings._infile_=tranwrd(tranwrd(_infile_,"""'",'"'),"'""",'"');View solution in original postWhy are you removing the quotation marks with the compress statement?
Code · Fields · Cost · Run it keyless, no account

The same call, in code.

The capture above came back as markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on sas.com.

sas-com-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://sas.com");

// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();

console.log(data);
await spider.close();
ready to run · spider-browser, no selectors

Ready for volume? Get an API key →

Fields you can pull.

Business NameAddressPhoneCategory

Spider names these from the page. The capture above came back as markdown; the same call with return_format: "json" returns them as keys.

What sas.com costs to scrape.

The capture above cost $0.000637 to fetch. Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so a page like this one lands at a fraction of a cent. Failed requests are billed at $0.

  • Free balance on signup
  • No card required to test
  • Balance never expires
See the full pricing →

Run it keyless, no account

curl -X POST https://api.spider.cloud/scrape -H "Content-Type: application/json" -d '{"url": "https://communities.sas.com/t5/SAS-Enterprise-Guide/When-importing-a-comma-delimited-file-how-do-I-prevent-SAS-from/td-p/104640", "return_format": "markdown"}'

More Directories scrapers.

Start scraping sas.com.

You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.