rlmv/hathitrust-api

_QUERY_STUB in constants.py appears to be obsolete

Closed this issue · 2 comments

Hello,

Great work.

I noticed I was getting an error when trying the SolrAPI example.
I was able to get data when, in the "constants.py" file, I changed the "QUERY_STUB" from:

this:
_QUERY_STUB = "/solr/select/"

to this:
_QUERY_STUB = "/solr/meta/select/"

Looks like they've changed their URLs as something like this:
http://chinkapin.pti.indiana.edu:9994/solr/select/?q=title:war
returns a 404.

I'm not a well-versed GIT person, so rather than take a stab on contributing that way, I thought I'd leave it as a comment. :-)

thanks,

rlmv commented

Oops yep! Nice catch. I've pushed that into the repo. Thanks!

and thanks to you for the great Python module.

On Thu, Jan 16, 2014 at 4:28 PM, rlmv notifications@github.com wrote:

Oops yep! Nice catch. I've pushed that into the repo. Thanks!


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-32548861
.

Nitin Arora
nitaro74 (at) gmail (dot) com
"Hope always, expect never."

humaneguitarist.org
blog.humaneguitarist.org