Connoisseur
Posts: 96
Karma: 40
Join Date: Mar 2020
Location: Belgium (sorry, I am from the Walloon side of the country and I speak french only)
Device: PW3, Kobo Libra H2O
|
Quote:
Originally Posted by YumiYumi
Bonjour,
Déjà merci pour ce travail à toi (et merci Christophe). J'utilisais ton plugin depuis quelques mois sans problème pour refaire ma collection propre sur calibre. Bon ça n'a pas duré, je pense que je suis banni de Babelio car j'y suis allé un peu fort (environ 500 livres de métadonnées et notes avec babelio_id/db) en quelques heures. Cela fait déjà plus d'un mois facile que je n'ai plus accès au site, j'espère que ça va revenir.
Vous savez si c'est possible d'être banni de manière permanente ? Il y a une manip' à faire pour débloquer la situation ?
|
Merci de ce retour, j'ai écrit ce plugin pour apprendre python et pour aider si possible les oeuvres caritatives.
En ce qui concerne le blocage de Babelio, seul les responsables du site peuvent te répondre. Personnellement, je n'ai trouvé absolument aucune documentation sur le fait de pouvoir être banni, quand on est banni, quel signal éventuel est donné avant d'etre banni ou même qui on peut contacter pour avoir ces renseignements...
Je le regrette profondément. J'ai fait un maximum avec le peu que j'ai pu déduire (reverse engineered)...
Quote:
Originally Posted by YumiYumi
Et sinon là depuis quelques jours, je n'arrive plus à télécharger des couvertures automatiquement sur calibre,
...
Pour info, voici le script :
Starting cover download for: Nos Amis les Humains
Query: Nos Amis les Humains ['Bernard Werber'] {'isbn': '9782226137937', 'babelio_id': 'Werber-Nos-Amis-les-Humains/4355'}
****************************** Google Images Covers ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36')]
Failed to download valid cover
Took 0.29386448860168457 seconds
Search URL: https://www.google.com/search?as_st=...,iar:t,ift:jpg
No images found for, title: 'Nos Amis les Humains' and authors: ['Bernard Werber']
************************************************** ******************************
|
La, tu me (nous) pose une sérieuse colle. Non seulement tu ne donnes pas le moindre log, mais manifestement tu travailles avec un autre plugin que Babelio_db...
Personnellement , je peux télécharger les commentaires a partir de Amazon.ca, Babelio_db, noosfere DB, Google, Amazon.ca, et je reçois les images de Amazon, noosfere, open library... pas de couverture depuis Google...
Regarde les log suivants, tu verras que plusieurs plugins ont des problèmes... Probablement parce que les sites ont évolué (été changés) et que les plugins n'ont pas (?pas encore?) été adaptés...
Code:
Running identify query with parameters:
{'title': 'Nos Amis les Humains', 'authors': ['Bernard Werber'], 'identifiers': {"'babelio_id'": "'Werber-Nos-Amis-les-Humains/4355'", "'isbn'": "'9782226137937'", 'isbn': '9782226137937', 'babelio_id': 'Werber-Nos-Amis-les-Humains/4355'}, 'timeout': 30}
Using plugins: Amazon.com Multiple Countries (1, 0, 0), Babelio_db (0, 8, 3), Kobo Books (1, 9, 2), noosfere DB (1, 2, 0), Google (1, 1, 1), Amazon.com (1, 3, 5), Edelweiss (2, 0, 1)
The log from individual plugins is below
****************************** Amazon.com Multiple Countries (1, 0, 0) ******************************
Found 1 results
Downloading from Amazon.com Multiple Countries took 2.1094677448272705
---
Title : Nos amis les humains: NOS AMIS LES HUMAINS
Author(s) : Bernard Werber
Publisher : Albin Michel Littérature
Languages : fra
Rating : 2.1
Published : 2003-10-16T00:00:00+00:00
Identifiers : amazon_ca:2226137939, isbn:9782226137937
Comments : <p>- On est où là ? - Vous voyez bien. Dans une cage de verre. - Qu'est-ce qu'on fout là ? - Ça, si je le savais... Un homme et une femme se retrouvent prisonniers dans une cage, quelque part dans l'univers. Au-delà de la difficulté de se comprendre et de s'aimer, ils vont devoir résoudre une question cruciale : l'humanité mérite-t-elle d'être sauvée ? Après ses polars scientifiques et ses nouvelles fantastiques, Bernard Werber dévoile un nouvel aspect de son imaginaire dans un face-à-face plein de surprises et de suspense.</p><h3>About the Author</h3>
<p>Après le succès du recueil de nouvelles L’Arbre des possibles, Bernard Werber propose avec Nos amis les humains une pièce de théâtre, scénario de son monde imaginaire auquel adhèrent avec bonheur ses très nombreux lecteurs. </p>
<p>Ouvrages parus : Les fourmis (1991), Le jour des fourmis (1992, prix des lectrices de Elle), Le livre secret des fourmis (1993), Les Thanatonautes (1994), La révolution des fourmis (1996), Le livre du voyage (1997), Le père de nos pères (1998), Exit 1 (1999), Exit 2 (2000), Exit 3 (2002), L’Empire des anges (2000), L’Encyclopédie du Savoir Relatif et Absolu (2001), L’Ultime secret (2002). L’Arbre des possibles (2002).</p>
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
Server: auto
Making google query: https://www.google.com/search?q=%289782226137937+or+978-2226137937%29+site%3Awww.amazon.ca
Downloading details from: https://webcache.googleusercontent.com/search?q=cache:H5H0smoxcDUJ:https://www.amazon.ca/Nos-amis-humains-Bernard-Werber/dp/2226137939&cd=9&hl=nl&ct=clnk&gl=be
Found image: https://m.media-amazon.com/images/I/61bXgaggtFL._AC_UF350,350_QL50_.jpg
********************************************************************************
****************************** Babelio_db (0, 8, 3) ******************************
Found 1 results
Downloading from Babelio_db took 1.716977834701538
---
Title : Nos Amis les Humains
Author(s) : Bernard Werber
Publisher : Albin Michel
Tags : Roman, Fantastique, Théâtre, Nouvelles, Fiction, Cynisme, Humanité, Huis-Clos, Adapté Au Cinéma, Extra-Terrestres, Réflexions, Littérature, Scientifique, Humain, Science-Fiction, Philosophie, Littérature Française, Français, 21ème Siècle, 20ème Siècle
Languages : fr
Rating : 1.7
Published : 2002-12-31T22:00:00+00:00
Identifiers : isbn:9782226137937, babelio_id:Werber-Nos-Amis-les-Humains/4355
Comments : b'<html>\n <body>\n <div>\n <p>\n Référence:\n <a href="https://www.babelio.com/livres/Werber-Nos-Amis-les-Humains/4355">\n https://www.babelio.com/livres/Werber-Nos-Amis-les-Humains/4355\n </a>\n </p>\n </div>\n </body>\n</html>\n<html>\n <body>\n <div>\n <hr/>\n <p style="font-weight: bold; font-size: 18px">\n Résumé\n </p>\n <hr/>\n </div>\n </body>\n</html>\n<html>\n <head>\n </head>\n <body>\n Les humains sont-ils intelligents ?\n <br/>\n Sont-ils dangereux ?\n <br/>\n Sont-ils comestibles ?\n <br/>\n Sont-ils digestes ?\n <br/>\n Peut-on en faire l\'élevage ?\n <br/>\n Peut-on les apprivoiser ?\n <br/>\n Peut-on discuter avec eux comme avec des égaux ?\n <br/>\n Telles sont les questions que peuvent se poser les extra-terrestres à notre égard.\n <br/>\n Pour en avoir le cœur net, ils kidnappent deux Terriens, un mâle et une femelle, Raoul et Samantha. Ils les installent, pour les étudier tranquillement, dans une cage à humains. Une \\" humainière \\".\n <br/>\n Ils espèrent ainsi assister à une reproduction en captivité. Le problème, c\'est que Raoul est un scientifique misanthrope et Samantha une dompteuse de tigres romantique. Pas simple dans ce cas pour nos deux cobayes de se comprendre et, a fortiori, de s\'aimer...\n <br/>\n Avec cet ouvrage, rédigé comme un huis clos philosophique, Bernard Werber nous présente une nouvelle facette de son art.\n <br/>\n Une fois de plus, il nous propose de prendre un peu de recul, d\'avoir une perspective différente pour comprendre l\'humanité \\" autrement \\".\n <br/>\n </body>\n</html>'
-+-+-+-+-+-+-+-+-+-+ Entry point +-+-+-+-+-+-+-+-+-+-
self.dgb_lvl : 15
self.with_cover : True
self.with_pretty_comments : True
self.with_detailed_rating : False
In identify(self, log, result_queue, abort, title=.., authors=.., identifiers=.., timeout=30)
title : Nos Amis les Humains
identifiers : {"'babelio_id'": "'Werber-Nos-Amis-les-Humains/4355'", "'isbn'": "'9782226137937'", 'isbn': '9782226137937', 'babelio_id': 'Werber-Nos-Amis-les-Humains/4355'}
authors : ['Bernard Werber'] <class 'list'>
babelio identifier trouvé... pas de recherche sur babelio... on saute directement au livre
matches : ['https://www.babelio.com/livres/Werber-Nos-Amis-les-Humains/4355']
[worker 0] entry time : Fri Sep 29 10:33:26 2023
[worker 0] self.url : https://www.babelio.com/livres/Werber-Nos-Amis-les-Humains/4355
[worker 0] self.relevance : 0
[worker 0] self.plugin : <calibre_plugins.babelio_db.Babelio object at 0x00000289A6F2BEE0>
[worker 0] self.dbg_lvl : 15
[worker 0] self.timeout : 20
[worker 0] self.with_cover : True
[worker 0] self.with_pretty_comments : True
[worker 0] self.with_detailed_rating : False
submit time : Fri Sep 29 10:33:26 2023
[worker 0] in run(self)
[worker 0] in get_details(self)
[worker 0] in get details(), start time : 1695976406.9019744
[worker 0] calling ret_soup(log, dbg_lvl, br, url, rkt=None, who='')
[worker 0] self.url : https://www.babelio.com/livres/Werber-Nos-Amis-les-Humains/4355
[worker 0] In ret_soup(log, dbg_lvl, br, url, rkt=none, who=''
[worker 0] URL request time : 10:33:26
[worker 0] br : <Browser (not visiting a URL)>
[worker 0] url : https://www.babelio.com/livres/Werber-Nos-Amis-les-Humains/4355
[worker 0] rkt : None
[worker 0] Accessing url : https://www.babelio.com/livres/Werber-Nos-Amis-les-Humains/4355
[worker 0] In urlopen_with_retry(log, dbg_lvl, br, url, rkt, who='')
[worker 0] (urlopen_with_retry) sr.getcode() : 200
[worker 0] url_vrai : https://www.babelio.com/livres/Werber-Nos-Amis-les-Humains/4355
[worker 0] sr.info() : Server: nginx
Date: Fri, 29 Sep 2023 08:33:27 GMT
Content-Type: text/html; charset=ISO-8859-1
Connection: close
Cache-Control: no-cache
Expires: Fri, 29 Sep 2023 08:33:26 GMT
Vary: Accept-Encoding
X-Frame-Options: SAMEORIGIN
content-type: text/html; charset=iso-8859-1
content-language: fr-FR
cache-control: no-cache
pragma: no-cache
expires: -1
x-ua-compatible: IE=edge
[worker 0] Temps après ret_soup()... : 0.222733736038208
[worker 0] in parse_bbl_id
[worker 0] bbl_id : Werber-Nos-Amis-les-Humains/4355
[worker 0] Temps après parse_bbl_id() ... : 0.222733736038208
[worker 0] in parse_details(self, soup)
[worker 0] in parse_details(), new start : 1695976407.1247082
[worker 0] in parse_authors(self, soup)
[worker 0] return bbl_authors ['Bernard Werber']
[worker 0] Temps après parse_authors() ... : 0.0019953250885009766
[worker 0] in parse_title_series(self, soup, bbl_authors)
[worker 0] bbl_title : Nos Amis les Humains - Bernard Werber
[worker 0] name : Bernard Werber
[worker 0] bbl_title : Nos Amis les Humains
[worker 0] Temps après parse_title_series() ... : 0.008975505828857422
[worker 0] in parse_meta(self, soup)
[worker 0] bbl_publisher processed : Albin Michel
[worker 0] bbl_isbn processed : 9782226137937
[worker 0] bbl_pubdate processed : 2003-01-01 00:00:00
[worker 0] parse_meta() returns bbl_isbn, bbl_publisher, bbl_pubdate : 9782226137937 Albin Michel 2003-01-01 00:00:00
[worker 0] Temps après parse_meta() ... : 0.011968612670898438
[worker 0] in parse_rating(self, soup)
[worker 0] parse_rating() returns bbl_rating : 3.32, bbl_rating_cnt : 1175
[worker 0] Temps après parse_rating() ... : 0.01398921012878418
[worker 0] in parse_tags(self, soup)
[worker 0] parse_tags() return bbl_tags ['Roman', 'Fantastique', 'Théâtre', 'Nouvelles', 'Fiction', 'Cynisme', 'Humanité', 'Huis-Clos', 'Adapté Au Cinéma', 'Extra-Terrestres', 'Réflexions', 'Littérature', 'Scientifique', 'Humain', 'Science-Fiction', 'Philosophie', 'Littérature Française', 'Français', '21ème Siècle', '20ème Siècle']
[worker 0] Temps après parse_tags() ... : 0.01795172691345215
[worker 0] in parse_cover(self, soup)
[worker 0] parse_cover() returns bbl_cover : https://www.babelio.com/couv/CVT_Nos-Amis-les-Humains_6796.jpg
[worker 0] Temps après parse_cover() ... : 0.01795172691345215
[worker 0] in parse_comments(self, soup)
[worker 0] onclick : javascript:voir_plus_a('#d_bio',1,1107867);
[worker 0] calling ret_soup(log, dbg_lvl, br, url, rkt=rkt, who=self.who
[worker 0] url : https://www.babelio.com/aj_voir_plus_a.php
[worker 0] rkt : {'type': '1', 'id_obj': '1107867'}
[worker 0] In ret_soup(log, dbg_lvl, br, url, rkt=none, who=''
[worker 0] URL request time : 10:33:28
[worker 0] br : <Browser visiting https://www.babelio.com/livres/Werber-Nos-Amis-les-Humains/4355>
[worker 0] url : https://www.babelio.com/aj_voir_plus_a.php
[worker 0] rkt : {'type': '1', 'id_obj': '1107867'}
[worker 0] Accessing url : https://www.babelio.com/aj_voir_plus_a.php
[worker 0] search parameters : {'type': '1', 'id_obj': '1107867'}
[worker 0] formated parameters : type=1&id_obj=1107867
[worker 0] In urlopen_with_retry(log, dbg_lvl, br, url, rkt, who='')
[worker 0] (urlopen_with_retry) sr.getcode() : 200
[worker 0] url_vrai : https://www.babelio.com/aj_voir_plus_a.php
[worker 0] sr.info() : Server: nginx
Date: Fri, 29 Sep 2023 08:33:28 GMT
Content-Type: text/html; charset=ISO-8859-1
Connection: close
Cache-Control: no-cache
Expires: Fri, 29 Sep 2023 08:33:27 GMT
Vary: Accept-Encoding
X-Frame-Options: SAMEORIGIN
[worker 0] Temps après parse_comments() ... : 1.295745611190796
timing of the accesses to Babelio for this book
When : Fri Sep 29 10:33:27 2023; Who : [worker 0]; Where : https://www.babelio.com/livres/Werber-Nos-Amis-les-Humains/4355
When : Fri Sep 29 10:33:28 2023; Who : [worker 0]; Where : https://www.babelio.com/aj_voir_plus_a.php
********************************************************************************
****************************** Kobo Books (1, 9, 2) ******************************
Found 0 results
Downloading from Kobo Books took 0.7745325565338135
identify - title: "Nos Amis les Humains" authors= "['Bernard Werber']"
Querying: https://www.kobo.com/search?Query=9782226137937&fcmedia=Book&fclanguages=all
Failed to make identify query: 'https://www.kobo.com/search?Query=9782226137937&fcmedia=Book&fclanguages=all'
Traceback (most recent call last):
File "calibre_plugins.kobobooks.__init__", line 185, in identify
File "mechanize\_mechanize.py", line 241, in open_novisit
File "mechanize\_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class.<locals>.httperror_seek_wrapper: HTTP Error 404: Not Found
********************************************************************************
****************************** noosfere DB (1, 2, 0) ******************************
Found 1 results
Downloading from noosfere DB took 5.496779203414917
---
Title : Nos amis les humains
Author(s) : Bernard Werber
Publisher : LIVRE DE POCHE
Tags : Science-Fiction
Languages : fra
Published : 2014-10-15T22:00:00+00:00
Identifiers : nsfr_id:vl$2146601406, isbn:9782253113546
Comments : b'<html>\n <head>\n </head>\n <body>\n <div>\n <p>\n Référence:\n <a href="https://www.noosfere.org/livres/niourf.asp?numlivre=2146601406">\n https://www.noosfere.org/livres/niourf.asp?numlivre=2146601406\n </a>\n </p>\n </div>\n <div>\n <p>\n Couverture:\n <a href="https://images.noosfere.org/couv/l/ldp30351-2014.jpg">\n https://images.noosfere.org/couv/l/ldp30351-2014.jpg\n </a>\n </p>\n </div>\n <div>\n <span class="ficheNiourf">\n <br/>\n Première parution :\n <i>\n Paris, France : Albin Michel, 2003\n </i>\n <br/>\n <a href="https://www.noosfere.org/livres/editeur.asp?numediteur=-24371081">\n LIVRE DE POCHE\n </a>\n (Paris, France)\n <br/>\n </span>\n </div>\n <div>\n <span class="sousFicheNiourf">\n <a href="https://www.noosfere.org/livres/EditionsLivre.asp?numitem=17469" title="Voir toutes les éditions">\n Autres éditions\n </a>\n </span>\n <br/>\n <span class="ReuniNiourf">\n <a href="https://www.noosfere.org/livres/niourf.asp?NumLivre=-316933">\n ALBIN MICHEL, 2003\n </a>\n <br/>\n <a href="https://www.noosfere.org/livres/niourf.asp?NumLivre=2146585498">\n FRANCE LOISIRS, 2004\n </a>\n <br/>\n <a href="https://www.noosfere.org/livres/niourf.asp?NumLivre=2146561790">\n LIVRE DE POCHE, 2005\n </a>\n </span>\n </div>\n <div class="sousbloc">\n <div style="padding-bottom:0.5em">\n <hr style="color:CCC;"/>\n <div>\n <span class="AuteurNiourf" style="font-weight: 600; font-size: 18px">\n Quatrième de couverture\n </span>\n </div>\n <hr style="color:CCC;"/>\n </div>\n <div id="quatrieme">\n <div>\n Les humains sont-ils intelligents*?\n </div>\n <div>\n Sont-ils dangereux*?\n </div>\n <div>\n Sont-ils comestibles*?\n </div>\n <div>\n Sont-ils digestes*?\n </div>\n <div>\n Peut-on en faire l\'élevage*?\n </div>\n <div>\n Peut-on discuter avec eux comme avec des égaux*?\n </div>\n <div>\n Pour en avoir le cœur net, des extraterrestres kidnappent deux Terriens, Raoul et Samantha. Ils les installent, pour les étudier tranquillement, dans une cage à humains. Une «*humainière*».\n </div>\n <div>\n Ils espèrent ainsi assister à une reproduction en captivité. Le problème, c\'est que Raoul est un scientifique misanthrope et Samantha une dompteuse de tigres romantique...\n </div>\n <div>\n </div>\n <div>\n Avec cet ouvrage, rédigé comme un huis clos philosophique, Bernard Werber nous propose de prendre un peu de recul, d\'avoir une perspective différente pour comprendre l\'humanité «*autrement*».\n </div>\n </div>\n </div>\n </body>\n</html>'
self.extended_publisher : True
self.dgb_lvl : 3
self.set_priority_handling : latest
self.with_isbn : True
self.balanced : True
self.must_be_editor : LRPIRLET
self.get_Prixobtenus : True
self.get_Citédanslespagesthématiquessuivantes : True
self.get_Citédansleslistesthématiquesdesoeuvressuivantes : True
self.get_CitédanslesConseilsdelecture : True
self.get_Adaptations : True
Entering identify(self, log, result_queue, abort, title=None, authors=None,identifiers={}, timeout=30)
log : <calibre.utils.logging.ThreadSafeLog object at 0x00000289A82F8910>
result_queue : <queue.Queue object at 0x00000289A82F87C0>
abort : <threading.Event object at 0x00000289A82FAA70>
title : Nos Amis les Humains
authors : ['Bernard Werber'] <class 'list'>
identifiers : {"'babelio_id'": "'Werber-Nos-Amis-les-Humains/4355'", "'isbn'": "'9782226137937'", 'isbn': '9782226137937', 'babelio_id': 'Werber-Nos-Amis-les-Humains/4355'} <class 'dict'>
ISBN value is : 9782226137937
nsfr_id value is : None
"Clean" both the authors list and the title...
getting one or more book url
trying ISBN 9782226137937
In ISBN_ret_book_index(self, log, br, isbn, book_index)
Accessing url : https://www.noosfere.org/livres/noosearch.asp
search parameters : {'Mots': '9782226137937', 'livres': 'livres', 'ModeMoteur': 'MOTS-CLEFS', 'ModeRecherche': 'AND', 'recherche': '1', 'Envoyer': 'Envoyer'}
(ret_soup) sr.getcode() : 200
book_index : {}
return book_index from ISBN_ret_book_index
This ISBN was not found: 9782226137937 trying with title nos amis les humains and author ['bernard werber']
self.extended_publisher : True
self.dgb_lvl : 3
self.set_priority_handling : latest
self.with_isbn : True
self.balanced : True
self.must_be_editor : LRPIRLET
self.get_Prixobtenus : True
self.get_Citédanslespagesthématiquessuivantes : True
self.get_Citédansleslistesthématiquesdesoeuvressuivantes : True
self.get_CitédanslesConseilsdelecture : True
self.get_Adaptations : True
Entering identify(self, log, result_queue, abort, title=None, authors=None,identifiers={}, timeout=30)
log : <calibre.utils.logging.ThreadSafeLog object at 0x00000289A82F8910>
result_queue : <queue.Queue object at 0x00000289A82F87C0>
abort : <threading.Event object at 0x00000289A82FAA70>
title : nos amis les humains
authors : ['bernard werber'] <class 'list'>
identifiers : {} <class 'dict'>
ISBN value is : None
nsfr_id value is : None
"Clean" both the authors list and the title...
getting one or more book url
trying ISBN None
trying using authors and title
In ret_author_index(soup)
authors : ['bernard werber']
Accessing url : https://www.noosfere.org/livres/noosearch.asp
search parameters : {'Mots': 'bernard werber', 'auteurs': 'auteurs', 'ModeMoteur': 'MOTS-CLEFS', 'ModeRecherche': 'AND', 'recherche': '1', 'Envoyer': 'Envoyer'}
(ret_soup) sr.getcode() : 200
pertinence : 128 ; SM.ratio : 0.933 ; url_author : /livres/auteur.asp?numauteur=226 ; authors[j] : bernard werber ; author : werber bernard
sorted_author_index :
{'/livres/auteur.asp?numauteur=226': [0.9333333333333333, 'WERBER Bernard']}
ratio : 0.9333333333333333 ; author : WERBER Bernard ; url_author : /livres/auteur.asp?numauteur=226 ; count : 1
return from ret_author_index
In ret_book_per_author_index(self, log, br, author_index, title, book_index)
author_index : ['/livres/auteur.asp?numauteur=226']
title : nos amis les humains
book_index : {}
Accessing url : https://www.noosfere.org/livres/auteur.asp?numauteur=226&Niveau=livres
(ret_soup) sr.getcode() : 200
SM.ratio : 0.328 ; book_url : /livres/EditionsLivre.asp?numitem=15390 ; tmp_bpai[i]["href"] : ./EditionsLivre.asp?numitem=15390&numauteur=226 ; book_title : l'arbre des possibles et autres histoires
SM.ratio : 0.154 ; book_url : /livres/EditionsLivre.asp?numitem=46123 ; tmp_bpai[i]["href"] : ./EditionsLivre.asp?numitem=46123&numauteur=226 ; book_title : la boîte de pandore
SM.ratio : 0.500 ; book_url : /livres/EditionsLivre.asp?numitem=42428 ; tmp_bpai[i]["href"] : ./EditionsLivre.asp?numitem=42428&numauteur=226 ; book_title : demain les chats
SM.ratio : 0.333 ; book_url : /livres/EditionsLivre.asp?numitem=43987 ; tmp_bpai[i]["href"] : ./EditionsLivre.asp?numitem=43987&numauteur=226 ; book_title : depuis l'au-delà
SM.ratio : 0.372 ; book_url : /livres/EditionsLivre.asp?numitem=57790 ; tmp_bpai[i]["href"] : ./EditionsLivre.asp?numitem=57790&numauteur=226 ; book_title : la diagonale des reines
SM.ratio : 0.263 ; book_url : /livres/EditionsLivre.asp?numitem=13833 ; tmp_bpai[i]["href"] : ./EditionsLivre.asp?numitem=13833&numauteur=226 ; book_title : l'empire des anges
SM.ratio : 0.267 ; book_url : /livres/EditionsLivre.asp?numitem=16937 ; tmp_bpai[i]["href"] : ./EditionsLivre.asp?numitem=16937&numauteur=226 ; book_title : encyclopédie du savoir relatif et absolu
SM.ratio : 0.516 ; book_url : /livres/EditionsLivre.asp?numitem=6418 ; tmp_bpai[i]["href"] : ./EditionsLivre.asp?numitem=6418&numauteur=226 ; book_title : les fourmis
SM.ratio : 0.308 ; book_url : /livres/EditionsLivre.asp?numitem=12477 ; tmp_bpai[i]["href"] : ./EditionsLivre.asp?numitem=12477&numauteur=226 ; book_title : le jour des fourmis
SM.ratio : 0.316 ; book_url : /livres/EditionsLivre.asp?numitem=34255 ; tmp_bpai[i]["href"] : ./EditionsLivre.asp?numitem=34255&numauteur=226 ; book_title : le livre du voyage
SM.ratio : 0.213 ; book_url : /livres/EditionsLivre.asp?numitem=17255 ; tmp_bpai[i]["href"] : ./EditionsLivre.asp?numitem=17255&numauteur=226 ; book_title : le livre secret des fourmis
SM.ratio : 0.390 ; book_url : /livres/EditionsLivre.asp?numitem=57483 ; tmp_bpai[i]["href"] : ./EditionsLivre.asp?numitem=57483&numauteur=226 ; book_title : mémoires d'une fourmi
SM.ratio : 0.595 ; book_url : /livres/EditionsLivre.asp?numitem=37322 ; tmp_bpai[i]["href"] : ./EditionsLivre.asp?numitem=37322&numauteur=226 ; book_title : les micro-humains
SM.ratio : 0.238 ; book_url : /livres/EditionsLivre.asp?numitem=29761 ; tmp_bpai[i]["href"] : ./EditionsLivre.asp?numitem=29761&numauteur=226 ; book_title : le miroir de cassandre
SM.ratio : 0.300 ; book_url : /livres/EditionsLivre.asp?numitem=26773 ; tmp_bpai[i]["href"] : ./EditionsLivre.asp?numitem=26773&numauteur=226 ; book_title : le mystère des dieux
SM.ratio : 1.000 ; book_url : /livres/EditionsLivre.asp?numitem=17469 ; tmp_bpai[i]["href"] : ./EditionsLivre.asp?numitem=17469&numauteur=226 ; book_title : nos amis les humains
sorted bySM.ratio
SM.ratio : 1.000 ; book_url : /livres/EditionsLivre.asp?numitem=17469 ; book_title : nos amis les humains
book_index[book_url] = book_title : {'/livres/EditionsLivre.asp?numitem=17469': 'nos amis les humains'}
Perfect match, we got it and we can stop looking further
return book_index from ret_book_per_author_index
sending to worker 0 book_url, book_title : /livres/EditionsLivre.asp?numitem=17469 , nos amis les humains
Creating each worker...
[worker 0] Entering worker
[worker 0] self : <Worker(Thread-10, initial daemon)>
[worker 0] log : <calibre.utils.logging.ThreadSafeLog object at 0x00000289A82F8910>
[worker 0] book_url : /livres/EditionsLivre.asp?numitem=17469
[worker 0] book_title : nos amis les humains
[worker 0] isbn : None
[worker 0] result_queue : <queue.Queue object at 0x00000289A82F87C0>
[worker 0] browser, self.browser : <Browser visiting https://www.noosfere.org/livres/auteur.asp?numauteur=226&Niveau=livres> <Browser (not visiting a URL)>
[worker 0] relevance : 0
[worker 0] plugin : <calibre_plugins.noosfere.noosfere object at 0x00000289A8174A60>
[worker 0] dbg_lvl : 3
[worker 0] timeout : 30
[worker 0] extended_publisher : True
[worker 0] with_isbn : True
[worker 0] balanced : True
[worker 0] set_priority_handling : latest
[worker 0] must_be_editor : LRPIRLET
[worker 0] get_Prixobtenus : True
[worker 0] get_Citédanslespagesthématiquessuivantes : True
[worker 0] get_Citédansleslistesthématiquesdesoeuvressuivantes : True
[worker 0] get_CitédanslesConseilsdelecture : True
[worker 0] get_Adaptations : True
[worker 0] Entering run(self)
[worker 0] several volumes exist for this book
[worker 0] book_url : https://www.noosfere.org/livres/EditionsLivre.asp?numitem=17469&Tri=3
[worker 0] In ret_top_vol_indx(self, url, title, isbn)
[worker 0] url : https://www.noosfere.org/livres/EditionsLivre.asp?numitem=17469&Tri=3 , book_title : nos amis les humains isbn : None
[worker 0] calling ret_soup(log, dbg_lvl, br, url, rkt=None, who='[__init__]')
[worker 0] url : https://www.noosfere.org/livres/EditionsLivre.asp?numitem=17469&Tri=3 who : [worker 0]
[worker 0] Accessing url : https://www.noosfere.org/livres/EditionsLivre.asp?numitem=17469&Tri=3
[worker 0] (ret_soup) sr.getcode() : 200
[worker 0] url_vrai : https://www.noosfere.org/livres/EditionsLivre.asp?numitem=17469&Tri=3
[worker 0] priority pushes isbn : True
[worker 0] priority balanced : True
[worker 0] found 1 volumes différents
[worker 0] key : 0
[worker 0] vl_index : ./niourf.asp?numlivre=-316933
[worker 0] vl_title : Nos amis les humains
[worker 0] vl_cover_index : https://images.noosfere.org/couv300/a/albin13793-2003.jpg
[worker 0] vl_editor : ALBIN MICHEL
[worker 0] vl_isbn : 2226137939
[worker 0] vl_collection : Romans français
[worker 0] point : 60
[worker 0] found 2 volumes différents
[worker 0] key : 1
[worker 0] vl_index : ./niourf.asp?numlivre=2146585498
[worker 0] vl_title : Nos amis les humains
[worker 0] vl_cover_index : https://images.noosfere.org/couv300/f/franceloisirs7372-2004.jpg
[worker 0] vl_editor : FRANCE LOISIRS
[worker 0] vl_isbn : 274417372X
[worker 0] vl_collection :
[worker 0] point : 60
[worker 0] found 3 volumes différents
[worker 0] key : 2
[worker 0] vl_index : ./niourf.asp?numlivre=2146561790
[worker 0] vl_title : Nos amis les humains
[worker 0] vl_cover_index : https://images.noosfere.org/couv300/l/ldp30351-2005.jpg
[worker 0] vl_editor : LIVRE DE POCHE
[worker 0] vl_isbn : 2253113549
[worker 0] vl_collection :
[worker 0] point : 60
[worker 0] found 4 volumes différents
[worker 0] key : 3
[worker 0] vl_index : ./niourf.asp?numlivre=2146601406
[worker 0] vl_title : Nos amis les humains
[worker 0] vl_cover_index : https://images.noosfere.org/couv300/l/ldp30351-2014.jpg
[worker 0] vl_editor : LIVRE DE POCHE
[worker 0] vl_isbn : 9782253113546
[worker 0] vl_collection :
[worker 0] point : 60
[worker 0] priority pushes latest : True
[worker 0] if self.must_be_editor : True
[worker 0] pour la clé 3 la valeur des points est 120 l'URL est ./niourf.asp?numlivre=2146601406 l'éditeur est LIVRE DE POCHE
[worker 0] pour la clé 2 la valeur des points est 120 l'URL est ./niourf.asp?numlivre=2146561790 l'éditeur est LIVRE DE POCHE
[worker 0] pour la clé 1 la valeur des points est 120 l'URL est ./niourf.asp?numlivre=2146585498 l'éditeur est FRANCE LOISIRS
[worker 0] pour la clé 0 la valeur des points est 120 l'URL est ./niourf.asp?numlivre=-316933 l'éditeur est ALBIN MICHEL
[worker 0] wrk_url : ./niourf.asp?numlivre=2146601406
[worker 0] getting to THE volume for this book
[worker 0] vol_url : https://www.noosfere.org/livres/niourf.asp?numlivre=2146601406&Tri=3
[worker 0] In extract_vol_details(soup)
[worker 0] vol_url : https://www.noosfere.org/livres/niourf.asp?numlivre=2146601406&Tri=3
[worker 0] calling ret_soup(log, dbg_lvl, br, url, rkt=None, who='[__init__]')
[worker 0] vol_url : https://www.noosfere.org/livres/niourf.asp?numlivre=2146601406&Tri=3 who : [worker 0]
[worker 0] Accessing url : https://www.noosfere.org/livres/niourf.asp?numlivre=2146601406&Tri=3
[worker 0] (ret_soup) sr.getcode() : 200
[worker 0] self.nsfr_id, type() : vl$2146601406 <class 'str'>
[worker 0] In isole_title(self, soup)
[worker 0] return vol_title : Nos amis les humains
[worker 0] In isole_authors(self, soup)
[worker 0] vol_auteur_prenom processed : Bernard
[worker 0] vol_auteur_nom processed : Werber
[worker 0] return vol_auteur : Bernard Werber
[worker 0] In isole_serie_serie_seq(self, soup)
[worker 0] return vol_serie, vol_serie_seq : ,
[worker 0] In isole_editeur_and_co(self, soup)
[worker 0] return publisher : LIVRE DE POCHE, pub_coll : , pub_coll_srl :
[worker 0] In isole_isbn(self, soup)
[worker 0] return ISBN : 978-2-253-11354-6
[worker 0] In isole_genre_date(self, soup)
[worker 0] return genre : Science-Fiction, date : 2014-10-16 00:00:00
[worker 0] In isole_lien_couverture(self, soup)
[worker 0] return vol_cover_index : https://images.noosfere.org/couv/l/ldp30351-2014.jpg
[worker 0] Fetch and format various info to create HTML comments
[worker 0] reference url_vrai processed
[worker 0] comment_cover processed
[worker 0] comment_AutresEdition processed :
[worker 0] comment_generic processed
[worker 0] comment_resume processed
[worker 0] Correct HTML comments for design and complete functionality in calibre catalog
[worker 0] url incomplet avant correction: <a href="editeur.asp?numediteur=-24371081">LIVRE DE POCHE</a>
[worker 0] url incomplet avant correction: <a href="EditionsLivre.asp?numitem=17469" title="Voir toutes les éditions">Autres éditions</a>
[worker 0] url incomplet avant correction: <a href="niourf.asp?NumLivre=-316933">ALBIN MICHEL, 2003</a>
[worker 0] url incomplet avant correction: <a href="niourf.asp?NumLivre=2146585498">FRANCE LOISIRS, 2004</a>
[worker 0] url incomplet avant correction: <a href="niourf.asp?NumLivre=2146561790">LIVRE DE POCHE, 2005</a>
[worker 0] "Ajoute collection et son numéro d'ordre au champ éditeur" is set
[worker 0] +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[worker 0] nsfr_id, type() : vl$2146601406 <class 'str'>
[worker 0] relevance, type() : 0 <class 'int'>
[worker 0] vol_title, type() : Nos amis les humains <class 'str'>
[worker 0] vol_auteur, type() : Bernard Werber <class 'str'>
[worker 0] vol_serie, type() : <class 'str'>
[worker 0] vol_editor, type() : LIVRE DE POCHE <class 'str'>
[worker 0] vol_coll, type() : <class 'str'>
[worker 0] vol_coll_srl, type() : <class 'str'>
[worker 0] vol_dp_lgl, type() : 2014-10-16 00:00:00 <class 'datetime.datetime'>
[worker 0] vol_isbn, type() : 978-2-253-11354-6 <class 'str'>
[worker 0] vol_genre, type() : Science-Fiction <class 'str'>
[worker 0] vol_cover_index, type() : https://images.noosfere.org/couv/l/ldp30351-2014.jpg <class 'str'>
return None from identify
********************************************************************************
****************************** Google (1, 1, 1) ******************************
Found 1 results
Downloading from Google took 0.8208508491516113
---
Title : Nos amis les humains: théâtre
Author(s) : Bernard Werber
Publisher : Albin Michel
Languages : fra
Published : 2003-09-15T08:33:27.522333+00:00
Identifiers : google:bmjLjwEACAAJ, isbn:9782226137937
Comments : <p>Un homme et une femme sont prisonniers dans une cage quelque part dans l'univers. Au-delà de la difficulté de se comprendre et de s'aimer, ils doivent résoudre une question cruciale : l'humanité mérite-t-elle d'être sauvée ?</p>
Making query: https://books.google.com/books/feeds/volumes?q=isbn%3A9782226137937&max-results=20&start-index=1&min-viewability=none
********************************************************************************
****************************** Amazon.com (1, 3, 5) ******************************
Found 0 results
Downloading from Amazon.com took 0.1760869026184082
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36
Server: amazon
Failed to make identify query: 'https://www.amazon.fr/s/?search-alias=aps&unfiltered=1&sort=relevancerank&field-isbn=9782226137937'
Traceback (most recent call last):
File "calibre\ebooks\metadata\sources\amazon.py", line 1463, in search_amazon
File "mechanize\_mechanize.py", line 241, in open_novisit
File "mechanize\_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class.<locals>.httperror_seek_wrapper: HTTP Error 503: Service Unavailable
********************************************************************************
****************************** Edelweiss (2, 0, 1) ******************************
Found 0 results
Downloading from Edelweiss took 0.06382942199707031
Currently Edelweiss returns random books for search queries
********************************************************************************
The identify phase took 5.70 seconds
The longest time (5.496779) was taken by: noosfere DB
Merging results from different sources
We have 1 merged results, merging took: 0.00 seconds
Starting cover download for: Nos Amis les Humains
Query: Nos Amis les Humains ['Bernard Werber'] {'amazon_ca': '2226137939', 'isbn': '9782253113546', 'babelio_id': 'Werber-Nos-Amis-les-Humains/4355', 'google': 'bmjLjwEACAAJ', 'nsfr_id': 'vl$2146601406'}
****************************** Amazon.com Multiple Countries Covers ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36'), ('Accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'), ('Upgrade-insecure-requests', '1')]
Downloaded cover: 600x1031
Took 1.4413065910339355 seconds
Downloading cover from: https://m.media-amazon.com/images/I/61bXgaggtFL.jpg
********************************************************************************
****************************** Babelio_db Covers ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36')]
Downloaded cover: 210x361
Took 0.34770870208740234 seconds
In download_cover
cache : https://www.babelio.com/couv/CVT_Nos-Amis-les-Humains_6796.jpg
On télécharge la couverture depuis : https://www.babelio.com/couv/CVT_Nos-Amis-les-Humains_6796.jpg
********************************************************************************
****************************** Kindle hi-res covers Covers ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko')]
Failed to download valid cover
Took 3.591452121734619 seconds
ASIN not present in metadata
Goodreads id not present in metadata
ISBN present in metadata: %s 9782253113546
Searching Goodreads for book: https://www.goodreads.com/search?q=9782253113546
Fetching book details: https://www.goodreads.com/book/show/1688666.Nos_Amis_les_Humains
Cover URLs: []
********************************************************************************
****************************** Kobo Books Covers ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15')]
Failed to download valid cover
Took 0.7767798900604248 seconds
No cached cover found, running identify
identify - title: "Nos Amis les Humains" authors= "['Bernard Werber']"
Querying: https://www.kobo.com/search?Query=9782253113546&fcmedia=Book&fclanguages=all
Failed to make identify query: 'https://www.kobo.com/search?Query=9782253113546&fcmedia=Book&fclanguages=all'
Traceback (most recent call last):
File "calibre_plugins.kobobooks.__init__", line 185, in identify
File "mechanize\_mechanize.py", line 241, in open_novisit
File "mechanize\_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class.<locals>.httperror_seek_wrapper: HTTP Error 404: Not Found
No cover found
********************************************************************************
****************************** noosfere DB Covers ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36')]
Downloaded cover: 615x1000
Took 0.4164445400238037 seconds
Downloading cover from: https://images.noosfere.org/couv/l/ldp30351-2014.jpg
********************************************************************************
****************************** Google Images Covers ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36')]
Failed to download valid cover
Took 0.6301958560943604 seconds
Search URL: https://www.google.com/search?as_st=y&tbm=isch&as_q=Nos+Amis+les+Humains+Bernard+Werber&as_epq=&as_oq=&as_eq=&cr=&as_sitesearch=&safe=images&tbs=isz:lt,islt:svga,iar:t,ift:jpg
No images found for, title: 'Nos Amis les Humains' and authors: ['Bernard Werber']
********************************************************************************
****************************** Amazon.com Covers ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36'), ('Accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'), ('Upgrade-insecure-requests', '1'), ('Referer', 'https://www.amazon.fr/')]
Downloaded cover: 304x522
Took 4.187001466751099 seconds
No cached cover found, running identify
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36
Server: amazon
Downloading details from: https://www.amazon.ca/dp/2226137939
Downloading cover from: https://m.media-amazon.com/images/I/61bXgaggtFL._SY522_.jpg
********************************************************************************
****************************** Edelweiss Covers ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36')]
Failed to download valid cover
Took 0.04393601417541504 seconds
No cached cover found, running identify
Currently Edelweiss returns random books for search queries
No cover found
********************************************************************************
****************************** Open Library Covers ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko')]
Downloaded cover: 286x500
Took 1.2552292346954346 seconds
********************************************************************************
****************************** Big Book Search Covers ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36')]
Failed to download valid cover
Took 0.40685319900512695 seconds
Failed to download cover from Big Book Search
Traceback (most recent call last):
File "calibre\ebooks\metadata\sources\covers.py", line 42, in run
File "calibre\ebooks\metadata\sources\big_book_search.py", line 43, in download_cover
File "calibre\ebooks\metadata\sources\big_book_search.py", line 18, in get_urls
File "mechanize\_mechanize.py", line 257, in open
File "mechanize\_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class.<locals>.httperror_seek_wrapper: HTTP Error 404: Not Found
********************************************************************************
Last edited by lrpirlet; 09-29-2023 at 04:47 AM.
|