View Single Post
Old 06-22-2022, 09:37 AM   #148
rantanplan
Weirdo
rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.
 
Posts: 862
Karma: 11659320
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Sage, Kobo Libra 2, Boox Note Air 2+
Kobo Books metadata scraper seems to be broken

When I try to update the metadata of my books I get an error as of yesterday afternoon. Here is the log for the error:

Code:
calibre, version 5.44.0
FEHLER: Keine Übereinstimmungen gefunden: <p>Es wurden keine Bücher für die aktuelle Suche gefunden. Versuchen Sie, die Suche <b>weniger spezifisch</b> zu formulieren. Verwenden Sie beispielsweise nur den Nachnamen des Autors und ein einzelnes, prägnantes Wort aus dem Titel.<p>Um den gesamten Protokoll zu lesen, klicken Sie auf "Details anzeigen".

Running identify query with parameters: 
{'title': 'A Thousand Splendid Suns', 'authors': ['Khaled Hosseini'], 'identifiers': {'mobi-asin': 'B002R88G5E'}, 'timeout': 30} 
Using plugins: Kobo Books (1, 9, 1) 
The log from individual plugins is below 

****************************** Kobo Books (1, 9, 1) ****************************** 
Found 0 results 
Downloading from Kobo Books took 4.731821775436401 
identify - title: "A Thousand Splendid Suns" authors= "['Khaled Hosseini']"
create_query - title: "A Thousand Splendid Suns"
create_query - after decode title: "A Thousand Splendid Suns"
create_query - title_tokens: "['A', 'Thousand', 'Splendid', 'Suns']"
Querying: https://www.kobo.com/search?Query=A+Thousand+Splendid+Suns+Khaled+Hosseini&fcmedia=Book&fclanguages=all
failed using three divs
Have close enough match - title='A Thousand Splendid Suns', id='a-thousand-splendid-suns'
failed using three divs
Have close enough match - title='A Thousand Splendid Suns', id='a-thousand-splendid-suns-2'
failed using three divs
Have close enough match - title='A Thousand Splendid Suns by Khaled Hosseini (Book Analysis)', id='a-thousand-splendid-suns-by-khaled-hosseini-book-analysis'
failed using three divs
Have close enough match - title='A Thousand Splendid Suns (Play Script)', id='a-thousand-splendid-suns-play-script'
failed using three divs
Have close enough match - title='A Thousand Splendid Suns by Khalid Hosseini (Trivia-on-Books)', id='a-thousand-splendid-suns-by-khalid-hosseini-trivia-on-books'
KoboBooks url: 'https://www.kobo.com/ebook/a-thousand-splendid-suns'
KoboBooks url: 'https://www.kobo.com/ebook/a-thousand-splendid-suns-2'
KoboBooks url: 'https://www.kobo.com/ebook/a-thousand-splendid-suns-by-khaled-hosseini-book-analysis'
KoboBooks url: 'https://www.kobo.com/ebook/a-thousand-splendid-suns-play-script'
KoboBooks url: 'https://www.kobo.com/ebook/a-thousand-splendid-suns-by-khalid-hosseini-trivia-on-books'
parse_details - kobobooks_id: "a-thousand-splendid-suns" 
parse_details - title: "None" 
parse_authors - author: "Khaled Hosseini"
parse_authors - authors: "['Khaled Hosseini']"
parse_details - authors: "['Khaled Hosseini']" 
Could not find title/authors/KoboBooks id for 'https://www.kobo.com/ebook/a-thousand-splendid-suns'
Kobo Books: 'a-thousand-splendid-suns' Title: None Authors: ['Khaled Hosseini']
parse_details - kobobooks_id: "a-thousand-splendid-suns-by-khaled-hosseini-book-analysis" 
parse_details - title: "None" 
parse_authors - author: "Bright Summaries"
parse_authors - authors: "['Bright Summaries']"
Rejecting authors as not a close match:  Bright Summaries
parse_details - authors: "None" 
Could not find title/authors/KoboBooks id for 'https://www.kobo.com/ebook/a-thousand-splendid-suns-by-khaled-hosseini-book-analysis'
Kobo Books: 'a-thousand-splendid-suns-by-khaled-hosseini-book-analysis' Title: None Authors: None
parse_details - kobobooks_id: "a-thousand-splendid-suns-2" 
parse_details - title: "None" 
parse_authors - author: "Khaled Hosseini"
parse_authors - authors: "['Khaled Hosseini']"
parse_details - authors: "['Khaled Hosseini']" 
Could not find title/authors/KoboBooks id for 'https://www.kobo.com/ebook/a-thousand-splendid-suns-2'
Kobo Books: 'a-thousand-splendid-suns-2' Title: None Authors: ['Khaled Hosseini']
parse_details - kobobooks_id: "a-thousand-splendid-suns-by-khalid-hosseini-trivia-on-books" 
parse_details - title: "None" 
parse_authors - author: "Trivion Books"
parse_authors - authors: "['Trivion Books']"
Rejecting authors as not a close match:  Trivion Books
parse_details - authors: "None" 
Could not find title/authors/KoboBooks id for 'https://www.kobo.com/ebook/a-thousand-splendid-suns-by-khalid-hosseini-trivia-on-books'
Kobo Books: 'a-thousand-splendid-suns-by-khalid-hosseini-trivia-on-books' Title: None Authors: None
parse_details - kobobooks_id: "a-thousand-splendid-suns-play-script" 
parse_details - title: "None" 
parse_authors - author: "Ursula Rani Sarma"
parse_authors - authors: "['Ursula Rani Sarma']"
Rejecting authors as not a close match:  Ursula Rani Sarma
parse_details - authors: "None" 
Could not find title/authors/KoboBooks id for 'https://www.kobo.com/ebook/a-thousand-splendid-suns-play-script'
Kobo Books: 'a-thousand-splendid-suns-play-script' Title: None Authors: None 

******************************************************************************** 
The identify phase took 4.88 seconds 
The longest time (4.731822) was taken by: Kobo Books 
Merging results from different sources 
We have 0 merged results, merging took: 0.00 seconds
As you can see, the search results did give good results but the scraper seems to have a problem parsing or accepting them. I can reproduce this with all my books, even ones that I have been able to update earlier yesterday.
rantanplan is offline   Reply With Quote