Skip to content

Updated broken nytimes.com link #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ProbonoBonobo
Copy link

@ProbonoBonobo ProbonoBonobo commented May 19, 2017

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.

@hmemcpy hmemcpy mentioned this pull request Sep 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant