enlive-tutorial
enlive-tutorial copied to clipboard
Updated broken nytimes.com link
scrape3.clj
is currently throwing an error about a missing content-type attribute, which went away when I updated *base-url*
to explicitly request the https://www.nytimes.com url (to which the current url redirects):
kz$ curl -I http://nytimes.com
HTTP/1.1 301 Moved Permanently
Server: Varnish
Retry-After: 0
Content-Length: 0
Location: https://www.nytimes.com/
Accept-Ranges: bytes
Date: Fri, 19 May 2017 06:50:06 GMT
X-Frame-Options: DENY
Connection: close
X-API-Version: F-X
X-Served-By: cache-sjc3640-SJC
X-Cache: HIT
X-Cache-Hits: 0
Other than that, the tutorial still works perfectly on my end. Thanks so much for the demo! The syntax is quite beautiful.