Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 12-04-2019, 10:53 AM   #1
Behind
shir
Behind began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2019
Device: Calibre (Computer)
Can not download metadata from douban (Calibre 4.5)

I am using caliibre 4.5 and when i try to download metadata for a Chinese book it gives me an Error: No matches found. But when I look at the details I can see that it found no matches for the other sources but for Douban it failed to "make identify query" which may mean the problem is with the plugin.

Here is the log (only for the Douban Query):
Code:
calibre, version 4.5.0
ERROR: No matches found: <p>Failed to find any books that match your search. Try making the search <b>less specific</b>. For example, use only the author's last name and a single distinctive word from the title.<p>To see the full log, click "Show details".

Running identify query with parameters: 
{u'title': u'\u7f8e\u5c11\u5e74\u9020\u578b\u7bc7-\u6700\u65b0\u5361\u901a\u6f2b\u753b\u6280\u6cd58', u'timeout': 30, u'identifiers': {}, u'authors': [u'\u5c0f\u5d0e\u4e9a\u8863']} 
Using plugins: Goodreads (1, 4, 0), Google (1, 0, 0), Amazon.com (1, 2, 11), Edelweiss (2, 0, 1), Douban Books (2, 1, 1) 
The log from individual plugins is below 

****************************** Douban Books (2, 1, 1) ****************************** 
Found 0 results 
Downloading from Douban Books took 3.62799978256 
Failed to make identify query: u'https://api.douban.com/book/subjects?q=%E7%BE%8E%E5%B0%91%E5%B9%B4%E9%80%A0%E5%9E%8B%E7%AF%87-%E6%9C%80%E6%96%B0%E5%8D%A1%E9%80%9A%E6%BC%AB%E7%94%BB%E6%8A%80%E6%B3%958+%E5%B0%8F%E5%B4%8E%E4%BA%9A%E8%A1%A3&apikey=0bd1672394eb1ebf2374356abec15c3d'
Traceback (most recent call last):
  File "site-packages\calibre\ebooks\metadata\sources\douban.py", line 334, in identify
  File "site-packages\mechanize\_mechanize.py", line 238, in open_novisit
  File "site-packages\mechanize\_mechanize.py", line 309, in _mech_open
httperror_seek_wrapper: HTTP Error 403: Forbidden 

******************************************************************************** 

The identify phase took 4.24 seconds 
The longest time (4.202000) was taken by: Amazon.com 
Merging results from different sources 
We have 0 merged results, merging took: 0.00 seconds
I got the name of the book and its author from Douban itself and also I tried using VPN but the error persisted.
Is there anyway to resolve this?
Thanks

Last edited by Behind; 12-04-2019 at 10:56 AM.
Behind is offline   Reply With Quote
Old 12-04-2019, 11:47 AM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Behind View Post
I am using caliibre 4.5 and when i try to download metadata for a Chinese book it gives me an Error: No matches found. But when I look at the details I can see that it found no matches for the other sources but for Douban it failed to "make identify query" which may mean the problem is with the plugin.

Code:
Failed to make identify query: u'https://api.douban.com/book/subjects?q=%E7%BE%8E%E5%B0%91%E5%B9%B4%E9%80%A0%E5%9E%8B%E7%AF%87-%E6%9C%80%E6%96%B0%E5%8D%A1%E9%80%9A%E6%BC%AB%E7%94%BB%E6%8A%80%E6%B3%958+%E5%B0%8F%E5%B4%8E%E4%BA%9A%E8%A1%A3&apikey=0bd1672394eb1ebf2374356abec15c3d'
I got the name of the book and its author from Douban itself and also I tried using VPN but the error persisted.
Is there anyway to resolve this?
Thanks
Have you tried connecting to Douban using the generated URL in a web browser to see what the result is? When I tried your URL, it gave me an "Your API key is blocked. Please contact bd-team@douban.com for authorized access." though that may be location based.
DNSB is offline   Reply With Quote
Advert
Old 12-04-2019, 11:57 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://bugs.launchpad.net/calibre/+bug/1853091
kovidgoyal is offline   Reply With Quote
Old 12-04-2019, 01:28 PM   #4
Behind
shir
Behind began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2019
Device: Calibre (Computer)
I see so for now Douban cannot be used as a metadata source due to the API being no longer public. Well I guess there is not much that can be done right now.

And thank you all for your help and for the information.
Behind is offline   Reply With Quote
Reply

Tags
metadata


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre 3.37 can't download metadata Donnazor Calibre 11 01-22-2019 01:29 PM
Calibre 3.20: no metadata download from amazon login_ms Calibre 13 04-15-2018 01:35 PM
Can Calibre download SERIES Metadata? kelemvor Calibre 4 09-24-2016 10:50 PM
New calibre metadata download Noughty Library Management 14 05-17-2011 04:11 PM
Help with metadata download settings in calibre 0.8 amyk0202 Calibre 2 05-06-2011 05:50 PM


All times are GMT -4. The time now is 09:56 AM.


MobileRead.com is a privately owned, operated and funded community.