Comments (31)
Are you in a very slow internet connection?
from isbnlib.
Does that affect how the feature works?
from isbnlib.
Let me try it somewhere with better internet and I will let you know if that fixed it
from isbnlib.
Yes, if your connection is very slow it timeout...
from isbnlib.
Tried with faster internet and same result
from isbnlib.
This is not a problem with 'isbnlib', it is a problem with your connection OR python installation.
from isbnlib.
I see any recommendations on what to do then
from isbnlib.
Try with a different version of python.
from isbnlib.
You could check here that isbnlib
is working OK.
By the way, what operating system are you using?
from isbnlib.
Mac
from isbnlib.
Check the firewall settings.
from isbnlib.
Also, I'm using Python 3.6 and Pycharm
from isbnlib.
Doesn't seem to work I tried changing the python version and looked at firewall settings.
from isbnlib.
How fast would my internet to be for it to work?
from isbnlib.
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.
Hmmm wonder what that could be
from isbnlib.
Does the isbnlib connect to your default browser?
from isbnlib.
Looking at your script I see that you are using service 'openl' to get the metadata. Did it work?
from isbnlib.
I got the metadata using openl. I got all the book info from the ISBN.
from isbnlib.
isbnlib
doesn't use the browser...
from isbnlib.
Ok was just checking to see if that might be the issue
from isbnlib.
Can I have the ISBN that you are using?
from isbnlib.
9780590353427
from isbnlib.
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.
In what part of the world you are?
from isbnlib.
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.
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.
Should I try not using openL
from isbnlib.
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.
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.
Thank you for your help though
from isbnlib.
Related Issues (20)
- GitHub Action: coverage is not running on pytest HOT 3
- `mask` fails for issued ISBN HOT 2
- Time to drop Python 3.6? HOT 1
- [Enhancement] `meta` be able to ignore ISBNNotConsistentError HOT 3
- ISBN from words throttling HOT 5
- Add a network pytest mark for tests that use the network HOT 1
- error when using meta(isbn, service='openl') HOT 1
- Books in your language
- Basic Template
- If source returns Unimarc
- If source returns xml from SRU protocol
- Instructions for release
- Dutch Books
- French books
- Portuguese books
- Spanish books
- Italian books
- German books
- Wikipedia provider
- Library of Congress (US)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isbnlib.