prayagverma / gdata-python-client

Automatically exported from code.google.com/p/gdata-python-client
1 stars 0 forks source link

inconsistent results #506

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
results = service.search_by_keyword(isbn='9780138147570')
textbook = results.entry.pop().to_dict()
print textbook

{'embeddability': 'not_embeddable', 'info': 
'http://books.google.com/books?id=QuNgQgAACAAJ&dq=ISBN9780138147570&as_brr=0&ie=
ISO-8859-1&source=gbs_gdata', 'description': 'Exploring signals and systems, 
this work develops continuous-time and discrete-timeconcepts, highlighting the 
differences and similarities.', 'format': 'book', 'identifiers': [('google_id', 
'QuNgQgAACAAJ'), ('ISBN', '0138147574'), ('ISBN', '9780138147570')], 
'thumbnail': 
'http://bks0.books.google.com/books?id=QuNgQgAACAAJ&printsec=frontcover&img=1&zo
om=5&sig=ACfU3U3X11oqfRrPPjmrn9WAObOTDr4dVw&source=gbs_gdata', 'authors': 
['Alan V. Oppenheim', 'Alan S. Willsky', 'Syed Hamid Nawab'], 'date': '1997', 
'title': 'Signals and systems', 'preview': 
'http://books.google.com/books?id=QuNgQgAACAAJ&dq=ISBN9780138147570&as_brr=0&ie=
ISO-8859-1&cd=1&source=gbs_gdata', 'viewability': 'view_no_pages', 
'annotation': 'http://www.google.com/books/feeds/users/me/volumes'}

results = service.search_by_keyword(isbn='9780470431177')
textbook = results.entry.pop().to_dict()
print textbook

{'embeddability': 'embeddable', 'info': 
'http://books.google.com/books?id=paZVMSrlEw8C&dq=ISBN9780470431177&as_brr=0&ie=
ISO-8859-1&source=gbs_gdata', 'description': 'The book begins with an 
introduction to vector spaces, inner product spaces, and other preliminary 
topics in analysis.', 'format': 'book', 'publishers': ['Wiley'], 'identifiers': 
[('google_id', 'paZVMSrlEw8C'), ('ISBN', '0470431172'), ('ISBN', 
'9780470431177')], 'thumbnail': 
'http://bks3.books.google.com/books?id=paZVMSrlEw8C&printsec=frontcover&img=1&zo
om=5&edge=curl&sig=ACfU3U0ZY12zhmtzpou5BpGS5lslnGZf3Q&source=gbs_gdata', 
'subjects': ['Mathematics'], 'authors': ['Albert Boggess', 'Francis J. 
Narcowich'], 'date': '2009-08-28', 'title': 'A First Course in Wavelets with 
Fourier Analysis', 'preview': 
'http://books.google.com/books?id=paZVMSrlEw8C&printsec=frontcover&dq=ISBN978047
0431177&as_brr=0&ie=ISO-8859-1&cd=1&source=gbs_gdata', 'viewability': 
'view_partial', 'annotation': 
'http://www.google.com/books/feeds/users/me/volumes'}

The first one does not have a publishers key, whereas the second one does.

However if you go to the respective static pages,

http://books.google.com/books?vid=ISBN9780138147570
http://books.google.com/books?vid=ISBN9780470431177

There is a publisher for the first one...

Original issue reported on code.google.com by danielle...@gmail.com on 22 Mar 2011 at 6:07

GoogleCodeExporter commented 9 years ago

Original comment by afs...@google.com on 7 Oct 2011 at 12:22