Thank you art, After I run your code here is SAS log: 23 FILENAME SOURCE URL "%STR(https://www.ted.com/talks/quick-list)" DEBUG; 24 DATA SOURCE2 (drop=junk); 25 informat junk $80.; 26 informat published $8.; 27 informat title $100.; 28 INFILE SOURCE LRECL=32767 DELIMITER=">"; 29 INPUT @"<spam class='meta'" 30 published &/////junk title &; 31 title=tranwrd(scan(title,1,'<'),''',"'"); 32 RUN; NOTE: >>> GET /talks/quick-list HTTP/1.0 NOTE: >>> Host: www.ted.com:443 NOTE: >>> Accept: */*. NOTE: >>> Accept-Language: en NOTE: >>> Accept-Charset: iso-8859-1,*,utf-8 NOTE: >>> User-Agent: SAS/URL NOTE: >>> NOTE: <<< HTTP/1.1 404 Not Found NOTE: <<< Age: 0 NOTE: <<< Content-Security-Policy-Report-Only: script-src 'unsafe-inline' 'unsafe-eval' https:; style-src 'unsafe-inline' 'self' https:; default-src 'self' https: data: blob:; report-uri https://error-collector.ted.com/?context=csp-report NOTE: <<< Content-Type: text/html; charset=utf-8 NOTE: <<< Date: Sat, 06 May 2017 18:54:06 GMT NOTE: <<< Server: nginx NOTE: <<< Set-Cookie: _nu=1494096846.592; Expires=Thu, 05 May 2022 18:54:06 GMT; Path=/ NOTE: <<< Set-Cookie: _abby=vFKhWaq8GMJMGiy; Expires=Thu, 05 May 2022 18:54:06 GMT; Path=/; Domain=.ted.com NOTE: <<< Status: 404 Not Found NOTE: <<< X-Served-By: e12; w12 NOTE: <<< Content-Length: 4123 NOTE: <<< Connection: Close NOTE: <<< ERROR: Invalid reply received from the HTTP server. Use the debug option for more info. NOTE: The SAS System stopped processing this step because of errors. WARNING: The data set WORK.SOURCE2 may be incomplete. When this step was stopped there were 0 observations and 2 variables. WARNING: Data set WORK.SOURCE2 was not replaced because this step was stopped Thanks
... View more