susinmotion / NYPL

An unoffical API for the New York Public Library Catalog
4 stars 3 forks source link

Syntax Error: invalid syntax #2

Open chankalun opened 8 years ago

chankalun commented 8 years ago

Hello and thank you very much for your unofficial API:))) However, I am experiencing a problem even running the example... When I try: print "\nHere is the second result in more detail:\n",books[1], I got an error of "SyntaxError: invalid syntax". May I ask what is the possible issue and how could I fix it please?

Thanks a lot and have a lovely day! Cheers, Karen

susinmotion commented 8 years ago

Hi Karen, Thanks for your interest in this project! Curious to hear what you were thinking about using it for. Unfortunately, the NYPL changed their catalog format since I wrote the code, so the whole thing is currently kind of broken :( Alas, the sad realities of scraping. If this is something you might be interested in working on/using a bunch, I'd be game to collaborate on getting it up and running again. Just haven't gotten around to it. In the meantime, perhaps someday the NYPL will make their API public... Best, Susan

chankalun commented 8 years ago

Hello Susan,

I am using the API for my project for a data visualisation, and also to prove a hypothesis :))) In my project, I am looking at how NYPL categorise books about Chinese calligraphy, in order to prove or analysis how is Chinese calligraphy being categorised in Western academic world. I really hope this API could be active again so that I could keep working on it :)))

Cheers, Karen