Giter VIP home page Giter VIP logo

Comments (31)

xlcnd avatar xlcnd commented on May 29, 2024

Are you in a very slow internet connection?

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

Does that affect how the feature works?

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

Let me try it somewhere with better internet and I will let you know if that fixed it

from isbnlib.

xlcnd avatar xlcnd commented on May 29, 2024

Yes, if your connection is very slow it timeout...

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

Tried with faster internet and same result

from isbnlib.

xlcnd avatar xlcnd commented on May 29, 2024

This is not a problem with 'isbnlib', it is a problem with your connection OR python installation.

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

I see any recommendations on what to do then

from isbnlib.

xlcnd avatar xlcnd commented on May 29, 2024

Try with a different version of python.

from isbnlib.

xlcnd avatar xlcnd commented on May 29, 2024

You could check here that isbnlib is working OK.

By the way, what operating system are you using?

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

Mac

from isbnlib.

xlcnd avatar xlcnd commented on May 29, 2024

Check the firewall settings.

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

Also, I'm using Python 3.6 and Pycharm

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

Doesn't seem to work I tried changing the python version and looked at firewall settings.

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

How fast would my internet to be for it to work?

from isbnlib.

xlcnd avatar xlcnd commented on May 29, 2024

You don't need a fast internet... ìsbnlib` gives 10 seconds to the connection to be establish (only a very very slow internet needs more than that)!

Something (?!) is blocking the handshake with the Google services, but is not related with isbnlib.

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

Hmmm wonder what that could be

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

Does the isbnlib connect to your default browser?

from isbnlib.

xlcnd avatar xlcnd commented on May 29, 2024

Looking at your script I see that you are using service 'openl' to get the metadata. Did it work?

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

I got the metadata using openl. I got all the book info from the ISBN.

from isbnlib.

xlcnd avatar xlcnd commented on May 29, 2024

isbnlibdoesn't use the browser...

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

Ok was just checking to see if that might be the issue

from isbnlib.

xlcnd avatar xlcnd commented on May 29, 2024

Can I have the ISBN that you are using?

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

9780590353427

from isbnlib.

xlcnd avatar xlcnd commented on May 29, 2024

The description is:

Rescued from the outrageous neglect of his aunt and uncle, a young boy with
a great destiny proves his worth while attending Hogwarts School for
Witchcraft and Wizardry.

And the links to the cover are:

smallThumbnail: http://books.google.com/books/content?id=fo4rzdaHDAwC&printsec=frontcover&img=1&zoom=5&source=gbs_api
thumbnail: http://books.google.com/books/content?id=fo4rzdaHDAwC&printsec=frontcover&img=1&zoom=1&source=gbs_api

from isbnlib.

xlcnd avatar xlcnd commented on May 29, 2024

In what part of the world you are?

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

Thanks but I was trying to create a program that allows the user to give a ISBN and then the program gives it to them. Europe

from isbnlib.

xlcnd avatar xlcnd commented on May 29, 2024

Maybe it is only a problem with Google Books services for your country... that happens and usually after I couple of hours the problem is gone.

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

Should I try not using openL

from isbnlib.

xlcnd avatar xlcnd commented on May 29, 2024

For metadata 'openl' is a good choice ... but you can use just

from isbnlib import meta, desc, cover
ISBN = input("What is your ISBN number (no spaces) ")
print(meta(ISBN))
print(desc(ISBN))
print(cover(ISBN)[1])

and will use the Google Books service.

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

I got it to work by using this code I found from this website:http://blog.pengyifan.com/how-to-fix-python-ssl-certificate_verify_failed/

import os, ssl if (not os.environ.get('PYTHONHTTPSVERIFY', '') and getattr(ssl, '_create_unverified_context', None)): ssl._create_default_https_context = ssl._create_unverified_context

from isbnlib.

Gammaslah132 avatar Gammaslah132 commented on May 29, 2024

Thank you for your help though

from isbnlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.