View Single Post
Old 08-21-2014, 07:33 AM   #251
misc
Junior Member
misc began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2014
Device: iPad
Happy to help you test this and work out the kinks. Definitely getting closer!

We seem to have cleared the sign in hump. But my queries were consistently returning 0 results. For example:

Code:
Search for books by 1 author
Using lib=http://ezwx.ez.cwmars.org:58000/login?url=http://search.ebscohost.com/login.aspx?authtype=ip,uid&profile=ehost&defaultdb=e700xna authentication
Browse: http://ezwx.ez.cwmars.org:58000/logi...aultdb=e700xna None
Browse: submit
Redirected to http://web.b.ebscohost.com.ezwx.ez.c...d=0&tid=2003EB
Sign in successful
Sign in took 13.0 sec
=================================================
Finding library books by Ray Bradbury
Search Worsco for writing by ray bradbury
Post http://web.b.ebscohost.com.ezwx.ez.c...0sessionmgr198
Data __EVENTARGUMENT=&RelRequestPath=search%2Fadvanced&__CUSTOMVIEWSTATE=...&searchMode=Bool&ajax=enabled&__sid=668cced0-72d8-4a0d-afa9-717c6035fc59%40sessionmgr198&SearchTerm=AU+%28ray+AND+bradbury%29+AND+TI+%28writing%29+AND+FM+%28E4+OR+EA+OR+E3+OR+EK+OR+EB%29+AND+LA+%28eng%29&__VIEWSTATE=&__EVENTTARGET=
Found 0 books in 7.4 sec
=================================================
=================================================
Unmatched book (unchanged): Zen in the Art of Writing by Ray Bradbury
This struck me as suspicious - I could blame it on a thin catalog, but I wanted to at least establish that it could find *something*.

My next thought was to try a keyword discovery search.

Code:
Search for books by 1 author
Using lib=http://ezwx.ez.cwmars.org:58000/login?url=http://search.ebscohost.com/login.aspx?authtype=ip,uid&profile=ehost&defaultdb=e700xna authentication
Browse: http://ezwx.ez.cwmars.org:58000/logi...aultdb=e700xna None
Browse: submit
Redirected to http://web.a.ebscohost.com.ezwx.ez.c...d=0&tid=2003EB
Sign in successful
=================================================
Search Worsco for adhd by all
Post http://web.a.ebscohost.com.ezwx.ez.c...sessionmgr4004
Data __EVENTARGUMENT=&RelRequestPath=search%2Fadvanced&__CUSTOMVIEWSTATE=...&searchMode=Bool&ajax=enabled&__sid=2239ff14-7f6f-4ed5-8ed4-bdf1093f8d15%40sessionmgr4004&SearchTerm=TI+%28adhd%29+AND+FM+%28E4+OR+EA+OR+E3+OR+EK+OR+EB%29+AND+LA+%28eng%29&__VIEWSTATE=&__EVENTTARGET=
Response: page 1 of 3. 1-10 of 29 total results
Get http://web.a.ebscohost.com.ezwx.ez.c...eResultListId=
Search Worsco for adhd by all: Retrying web.a.ebscohost.com.ezwx.ez.cwmars.org on exception URLError ([Errno 61] Connection refused) 
Search Worsco for adhd by all: Retrying web.a.ebscohost.com.ezwx.ez.cwmars.org on exception URLError ([Errno 61] Connection refused) 
Search Worsco for adhd by all: : URLError ([Errno 61] Connection refused) 
Traceback (most recent call last):
  File "calibre_plugins.overdrive_link.jobs", line 1006, in find_books_at_lib
  File "calibre_plugins.overdrive_link.ebscohost", line 581, in find_books
  File "calibre_plugins.overdrive_link.net", line 144, in open_url
  File "lib/python2.7/urllib2.py", line 404, in open
  File "lib/python2.7/urllib2.py", line 422, in _open
  File "lib/python2.7/urllib2.py", line 382, in _call_chain
  File "lib/python2.7/urllib2.py", line 1214, in http_open
  File "lib/python2.7/urllib2.py", line 1184, in do_open
URLError: 
 
=================================================
=================================================
Interesting. Was the library blocking my IP for submitting too many queries too quickly? No - I checked to see if the catalog would load in Chrome, and it did.

Looking at the website gave me a new idea for something to test. Maybe my query for ADHD was too broad, and was exceeding some cap on the number of results? I picked the first featured book I saw on the front page, and used its title and author to create an empty "dummy" book in Calibre. Here's what happened when I searched for that:

Code:
Search for books by 1 author
Using lib=http://ezwx.ez.cwmars.org:58000/login?url=http://search.ebscohost.com/login.aspx?authtype=ip,uid&profile=ehost&defaultdb=e700xna authentication
Browse: http://ezwx.ez.cwmars.org:58000/logi...aultdb=e700xna None
Browse: submit
Redirected to http://web.a.ebscohost.com.ezwx.ez.c...d=0&tid=2003EB
Sign in successful
Sign in took 14.4 sec
=================================================
Finding library books by Jared Koch
Search Worsco for all by jared koch
Post http://web.a.ebscohost.com.ezwx.ez.c...sessionmgr4001
Data __EVENTARGUMENT=&RelRequestPath=search%2Fadvanced&__CUSTOMVIEWSTATE=...&searchMode=Bool&ajax=enabled&__sid=3319faac-6d92-442d-9db0-cdfbd07e55c8%40sessionmgr4001&SearchTerm=AU+%28jared+AND+koch%29+AND+FM+%28E4+OR+EA+OR+E3+OR+EK+OR+EB%29+AND+LA+%28eng%29&__VIEWSTATE=&__EVENTTARGET=
Response: page 1 of 1. 1-3 of 3 total results
Get http://web.a.ebscohost.com.ezwx.ez.c...eResultListId=
Search Worsco for all by jared koch: Retrying web.a.ebscohost.com.ezwx.ez.cwmars.org on exception URLError ([Errno 61] Connection refused) 
Search Worsco for all by jared koch: Retrying web.a.ebscohost.com.ezwx.ez.cwmars.org on exception URLError ([Errno 61] Connection refused) 
Search Worsco for all by jared koch: : URLError ([Errno 61] Connection refused) 
Traceback (most recent call last):
  File "calibre_plugins.overdrive_link.jobs", line 1006, in find_books_at_lib
  File "calibre_plugins.overdrive_link.ebscohost", line 581, in find_books
  File "calibre_plugins.overdrive_link.net", line 144, in open_url
  File "lib/python2.7/urllib2.py", line 404, in open
  File "lib/python2.7/urllib2.py", line 422, in _open
  File "lib/python2.7/urllib2.py", line 382, in _call_chain
  File "lib/python2.7/urllib2.py", line 1214, in http_open
  File "lib/python2.7/urllib2.py", line 1184, in do_open
URLError: 
 
=================================================
=================================================
Unmatched book (unchanged): The Clean Plates Cookbook : Sustainable, Delicious, and Healthier Eating for Every Body by Jared Koch
Hope this has been useful information! Thanks again.
misc is offline   Reply With Quote