Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 09-10-2022, 12:03 PM   #1
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,733
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
[Metadata Source Plugin] Baen

This plugin is for scraping book metadata from www.baen.com. This is a direct replacement for the Webscription plugin which is now deprecated and should be uninstalled.

Books that you previously linked with the "Webscription:" identifier will continue to work with this plugin, however any new metadata downloads will use a "Baen:" identifier instead.

Main Features:
  • Can retrieve title, author, comments, publisher, publication date, rating and covers
  • Also retrieves a Baen id, which can be used to directly jump to the page for a specific book from the book details pane.

Special Notes:
Paypal Donations:
  • If you find this or any of my other plugins useful please feel free to show your appreciation. I have spent many hundreds of unpaid hours in their development and support so any encouragement for me to continue is appreciated!
Attached Files
File Type: zip Baen.zip (55.9 KB, 50831 views)

Last edited by kiwidude; 10-16-2022 at 11:08 AM. Reason: v1.1 released
kiwidude is online now   Reply With Quote
Old 09-10-2022, 01:09 PM   #2
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,109
Karma: 77213681
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
What is the exact url template of the baen: identifier? I already have a custom one named the same thing and want to make sure it's compatible.
ownedbycats is online now   Reply With Quote
Old 09-10-2022, 01:24 PM   #3
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,197
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by ownedbycats View Post
What is the exact url template of the baen: identifier? I already have a custom one named the same thing and want to make sure it's compatible.
Use baen:world-breakers the plugin will go to:


https://www.baen.com/world-breakers.html

bernie
gbm is offline   Reply With Quote
Old 09-10-2022, 01:45 PM   #4
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,109
Karma: 77213681
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Thanks
ownedbycats is online now   Reply With Quote
Old 10-16-2022, 10:55 AM   #5
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,733
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Baen v1.1 Released

Release Notes:
https://github.com/kiwidude68/calibr...ag/baen-v1.1.0
kiwidude is online now   Reply With Quote
Old Yesterday, 12:39 PM   #6
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,197
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
When querying Baen metadata get the following error:
Code:
Running identify query with parameters: 
{'title': 'Five by Five', 'authors': ['B. V. Larson', 'Aaron Allston', 'Kevin J Anderson', 'Loren Coleman', 'Michael A Stackpole'], 'identifiers': {'isbn': '9781614750499', 'amazon': 'B0B5WP49BC', 'baen': 'five-by-five', 'kobo': 'five-by-five-4'}, 'timeout': 30} 
Using plugins: Baen (1, 1, 0), Amazon.com (1, 3, 13) 
The log from individual plugins is below 

****************************** Baen (1, 1, 0) ****************************** 
Found 0 results 
Downloading from Baen took 0.1687028408050537 
_parse_search_results: matches= ['https://www.baen.com/five-by-five.html']
Baen url: 'https://www.baen.com/five-by-five.html'
Baen relevance: 1
Failed to make details query: 'https://www.baen.com/five-by-five.html'
Traceback (most recent call last):
  File "mechanize/_urllib2_fork.py", line 1236, in do_open
  File "http/client.py", line 1303, in request
  File "http/client.py", line 1349, in _send_request
  File "http/client.py", line 1298, in endheaders
  File "http/client.py", line 1058, in _send_output
  File "http/client.py", line 996, in send
  File "http/client.py", line 1475, in connect
  File "ssl.py", line 517, in wrap_socket
  File "ssl.py", line 1104, in _create
  File "ssl.py", line 1382, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1016)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre_plugins.baen.worker", line 42, in get_details
    raw = self.browser.open_novisit(self.url, timeout=self.timeout).read().strip()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "mechanize/_mechanize.py", line 241, in open_novisit
  File "mechanize/_mechanize.py", line 287, in _mech_open
  File "mechanize/_opener.py", line 193, in open
  File "mechanize/_urllib2_fork.py", line 425, in _open
  File "mechanize/_urllib2_fork.py", line 414, in _call_chain
  File "calibre/utils/browser.py", line 29, in https_open
  File "mechanize/_urllib2_fork.py", line 1240, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1016)>
bernie
gbm is offline   Reply With Quote
Old Today, 01:28 AM   #7
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,997
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Your log seems to indicate an SSL certificate error. I'm also getting this on my Windows 11 machine though I am not getting the second SSL certificate error.

Spoiler:
Code:
Running identify query with parameters: 
{'title': 'Five by Five', 'authors': ['B. V. Larson', 'Aaron Allston', 'Kevin J Anderson', 'Loren Coleman', 'Michael A Stackpole'], 'identifiers': {'isbn': '9781614750499', 'amazon_ca': 'B0B5WP49BC'}, 'timeout': 30} 
Using plugins: Baen (1, 1, 0), Kobo Metadata (1, 12, 0), Smashwords Metadata (1, 0, 2), Amazon.com (1, 3, 13) 
The log from individual plugins is below 

****************************** Baen (1, 1, 0) ****************************** 
Found 0 results 
Downloading from Baen took 0.7126452922821045 
Querying: https://www.baen.com/allbooks?q=Five+by+Five
Failed to make identify query: 'https://www.baen.com/allbooks?q=Five+by+Five'
Traceback (most recent call last):
  File "mechanize\_urllib2_fork.py", line 1236, in do_open
  File "http\client.py", line 1303, in request
  File "http\client.py", line 1349, in _send_request
  File "http\client.py", line 1298, in endheaders
  File "http\client.py", line 1058, in _send_output
  File "http\client.py", line 996, in send
  File "http\client.py", line 1475, in connect
  File "ssl.py", line 517, in wrap_socket
  File "ssl.py", line 1104, in _create
  File "ssl.py", line 1382, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1016)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre_plugins.baen.__init__", line 107, in identify
  File "mechanize\_mechanize.py", line 241, in open_novisit
  File "mechanize\_mechanize.py", line 287, in _mech_open
  File "mechanize\_opener.py", line 193, in open
  File "mechanize\_urllib2_fork.py", line 425, in _open
  File "mechanize\_urllib2_fork.py", line 414, in _call_chain
  File "d:\calibre\calibre-master\src\calibre\utils\browser.py", line 29, in https_open
  File "mechanize\_urllib2_fork.py", line 1240, in do_open
urllib.error.URLError:  

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

Last edited by DNSB; Today at 01:37 AM.
DNSB is offline   Reply With Quote
Old Today, 05:40 AM   #8
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,733
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Perhaps something to do with your Windows 11 machines? On Windows 10 for me it is working fine.
kiwidude is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Source Plugin] Moly.hu kloon Plugins 86 08-24-2025 04:11 PM
[Metadata Source Plugin] Webscription (Baen Ebooks) kiwidude Plugins 74 09-12-2021 08:45 AM
Read a book's metadata in a Metadata source plugin? J-H Development 2 03-30-2021 09:08 AM
[Metadata Source Plugin] Public.gr wrangly Plugins 1 01-21-2021 07:53 AM
[Metadata Source Plugin] Empty Plugin? (Fake Identifier) mneimeyer Plugins 3 11-11-2019 08:07 PM


All times are GMT -4. The time now is 05:54 AM.


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