Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-10-2023, 09:41 AM   #1
HebrewReader
Member
HebrewReader began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite (10th Generation)
Post [Metadata Source Plugin] Evrit

This plugin gets the metadata for books in Hebrew from the Evrit store.

Main Features
  • Can retrieve title, authors, comments, publisher, publication date, tags, ratings and cover.
  • The identifier used is "evrit". It will show in the details as "עברית".

Installation Notes:
  • Download the attached zip file and install the plugin as described in the Introduction to plugins thread.
  • Note that this is not a GUI plugin so it is not intended/cannot be added to context menus/toolbars etc.

Configuration:
None.

Version History:
Spoiler:

Version 1.0.0 - 10 January 2023
  • Initial release

Version 1.1.0 - 13 January 2023
  • Fix identification of author names with unicode control characters, e.g. U+200E Left-to-Right Mark (LRM).
  • More lenient matching: can ignore optional 'אהוי' letters in ktiv haser, e.g. "ג'ף פורשאו" vs. "ג'ף פורשו"
  • Ignore punctuation when identifying titles, e.g. question mark.
  • Partial title matching, e.g. 'עקצן איש העקרב' vs. 'השרביט והחרב 18 - עקצן איש העקרב'.
  • Allow matching titles with extra tokens, e.g. 'ארו שאה ונקטר האלמוות' vs. 'ארו שאה 5 ונקטר האלמוות'.
  • Allow matching authors with extra tokens, e.g. 'ליאת יקיר' vs. 'ד"ר ליאת יקיר'.
  • Allow matching when not all authors are present.

Version 1.2.0 - 16 January 2023
  • Improve high-res cover detection.
  • Server GetCustomerProductsDetails api was changed from GET to POST. Previous plugin versions no longer work.

Version 1.3.0 - 18 February 2023
  • Rename plugin from "Evrit metadata source" to "Evrit".
  • Support titles with '/' character.
  • Allow matching titles with subtitles, e.g. 'הארנק והחרב: המהפכה המשפטית ושברה' vs. 'הארנק והחרב'.
  • Speed up matching.
  • Support titles with Geresh (') character.
  • Support titles with Gershayim (") character.
  • Support matching titles which changed punctuation.
  • Fix author matching bug.

Version 1.4.0 - 16 June 2023
  • Fix socket exception ("A non-blocking socket operation could not be completed immediately on send") caused by
    sending timeout=0.
  • Using edit distance as relevance score to distinguish between similar matching titles.
  • Avoid repeated calls with identical query.
  • Optimistically try querying the full title before doing partial lookups.
  • Obtain additional tags from Evrit's product page.
Attached Files
File Type: zip Evrit.zip (31.8 KB, 12616 views)

Last edited by HebrewReader; 06-16-2023 at 12:59 PM. Reason: Updated version history
HebrewReader is offline   Reply With Quote
Old 01-13-2023, 07:42 AM   #2
HebrewReader
Member
HebrewReader began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite (10th Generation)
I have uploaded a new version (v1.1.0).

Changes are:
  • Fix identification of author names with unicode control characters, e.g. U+200E Left-to-Right Mark (LRM).
  • More lenient matching: can ignore optional 'אהוי' letters in ktiv haser, e.g. "ג'ף פורשאו" vs. "ג'ף פורשו"
  • Ignore punctuation when identifying titles, e.g. question mark.
  • Partial title matching, e.g. 'עקצן איש העקרב' vs. 'השרביט והחרב 18 - עקצן איש העקרב'.
  • Allow matching titles with extra tokens, e.g. 'ארו שאה ונקטר האלמוות' vs. 'ארו שאה 5 ונקטר האלמוות'.
  • Allow matching authors with extra tokens, e.g. 'ליאת יקיר' vs. 'ד"ר ליאת יקיר'.
  • Allow matching when not all authors are present.

Unfortunately, I still don't have forum edit rights, so I can't update the original post until my rights are elevated.

Last edited by HebrewReader; 02-18-2023 at 06:55 PM.
HebrewReader is offline   Reply With Quote
Advert
Old 01-16-2023, 04:47 PM   #3
HebrewReader
Member
HebrewReader began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite (10th Generation)
I have uploaded a new version (v1.2.0).

Previous versions stopped working due to breaking change in Evrit's api!

Changes are:
  • Improve high-res cover detection.
  • Server GetCustomerProductsDetails api was changed from GET to POST. Previous plugin versions no longer work.

Note: I still have no permissions to update the original post, so auto-update won't work.

Last edited by theducks; 02-02-2023 at 03:26 PM. Reason: moved PI
HebrewReader is offline   Reply With Quote
Old 02-02-2023, 02:52 PM   #4
HebrewReader
Member
HebrewReader began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite (10th Generation)
Can a moderator please replace the attachment in the original post with the latest one? At least until I get editing permission?
HebrewReader is offline   Reply With Quote
Old 02-02-2023, 03:27 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,607
Karma: 54344446
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by HebrewReader View Post
Can a moderator please replace the attachment in the original post with the latest one? At least until I get editing permission?
done
theducks is offline   Reply With Quote
Advert
Old 02-17-2023, 06:35 PM   #6
HebrewReader
Member
HebrewReader began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite (10th Generation)
I have uploaded a new version (v1.3.0).

Changes are:
  • Rename plugin from "Evrit metadata source" to "Evrit".
  • Support titles with '/' character.
  • Allow matching titles with subtitles, e.g. 'הארנק והחרב: המהפכה המשפטית ושברה' vs. 'הארנק והחרב'.
  • Speed up matching.
  • Support titles with Geresh (') character.
  • Support titles with Gershayim (") character.
  • Support matching titles which changed punctuation.
  • Fix author matching bug.

Note: I still have no permissions to update the original post, so auto-update won't work.
Moderator Notice
Moved

Last edited by theducks; 02-17-2023 at 09:38 PM.
HebrewReader is offline   Reply With Quote
Old 02-17-2023, 06:36 PM   #7
HebrewReader
Member
HebrewReader began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite (10th Generation)
Can a moderator please replace the attachment in the original post with the latest one? At least until I get editing permission?
HebrewReader is offline   Reply With Quote
Old 02-17-2023, 06:54 PM   #8
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,371
Karma: 25865246
Join Date: Mar 2012
Location: Sydney Australia
Device: none
You are now at 10 posts, I think that's the trigger to allowing Editing.

If not create some posts in the Lounge until you can edit.

BR
BetterRed is offline   Reply With Quote
Old 02-18-2023, 03:22 PM   #9
HebrewReader
Member
HebrewReader began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite (10th Generation)
Quote:
Originally Posted by BetterRed View Post
You are now at 10 posts, I think that's the trigger to allowing Editing.
You're correct - thanks!
HebrewReader is offline   Reply With Quote
Old 02-18-2023, 05:04 PM   #10
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,371
Karma: 25865246
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by HebrewReader View Post
You're correct - thanks!


Could you remove the attachment in post #2

Some PI developers reserve post #2 as a placeholder for test versions, which avoids having them scattered in random posts in the thread.

BR
BetterRed is offline   Reply With Quote
Old 02-18-2023, 06:56 PM   #11
HebrewReader
Member
HebrewReader began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite (10th Generation)
Quote:
Originally Posted by BetterRed View Post
Could you remove the attachment in post #2
np. done.
HebrewReader is offline   Reply With Quote
Old 12-10-2023, 08:51 AM   #12
tgiladi
Member
tgiladi began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Dec 2023
Device: Kindle Oasis
Hi, is this plugin still maintained?
I've been getting errors whenever I try to search for metadata with it, since the latest Calibre version. It did work previously.
tgiladi is offline   Reply With Quote
Old 12-12-2023, 05:31 AM   #13
HebrewReader
Member
HebrewReader began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite (10th Generation)
Quote:
Originally Posted by tgiladi View Post
Hi, is this plugin still maintained?
I've been getting errors whenever I try to search for metadata with it, since the latest Calibre version. It did work previously.
I did not actively worked on the plugin recently but I can still fix bugs.

I'll need to reproduce your error when I get time, but can you also paste the errors you get here? It should be visible when you look for the details of the job that failed.
HebrewReader is offline   Reply With Quote
Old 12-12-2023, 03:17 PM   #14
tgiladi
Member
tgiladi began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Dec 2023
Device: Kindle Oasis
Thanks for replying!
Here's the error I get:
calibre, version 7.1.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:
{'title': 'העיג', 'authors': ['רואלד דאל'], 'identifiers': {}, 'timeout': 30}
Using plugins: Evrit (1, 4, 0), Goodreads (1, 7, 9), Google (1, 1, 1), Amazon.com (1, 3, 5)
The log from individual plugins is below

****************************** Evrit (1, 4, 0) ******************************
Found 0 results
Downloading from Evrit took 0.19468021392822266
https://www.e-vrit.co.il/api/Product...יג
Plugin Evrit failed
Traceback (most recent call last):
File "mechanize\_urllib2_fork.py", line 1236, in do_open
File "http\client.py", line 1286, in request
File "http\client.py", line 1332, in _send_request
File "http\client.py", line 1281, in endheaders
File "http\client.py", line 1041, in _send_output
File "http\client.py", line 979, in send
File "http\client.py", line 1458, in connect
File "ssl.py", line 517, in wrap_socket
File "ssl.py", line 1108, in _create
File "ssl.py", line 1379, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\ebooks\metadata\sources\identify.py", line 47, in run
File "calibre_plugins.dummy1.__init__", line 242, in identify
File "calibre_plugins.dummy1.__init__", line 273, in search_for_evrit_id
File "calibre_plugins.dummy1.__init__", line 302, in get_product_values_from_book_teller
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 28, 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:1006)>

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

****************************** Goodreads (1, 7, 9) ******************************
Found 0 results
Downloading from Goodreads took 1.2352917194366455
identify - start. title=העיג, authors=['רואלד דאל'], identifiers={}
Querying: https://www.goodreads.com/search?sea...e=books&search[query]=%D7%94%D7%A2%D7%99%D7%92+%D7%A8%D7%95%D7%90%D7%9C %D7%93+%D7%93%D7%90%D7%9C
No goodreads id via ISBN

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

****************************** Google (1, 1, 1) ******************************
Found 0 results
Downloading from Google took 13.974174499511719
Making query: https://books.google.com/books/feeds...ewability=none
No results found, doing a web search instead
Making query: https://www.google.com/search?q=%D7%...%D7%9C&tbm=bks
Excluding העי"ג by רואלד. דל & אורי בלסם as it does not match the query
Excluding The BFG (Colour Edition) by Roald Dahl as it does not match the query
Excluding The BFG by Roald Dahl & Natasha Richardson as it does not match the query
Excluding BFG by Roald Dahl as it does not match the query
Excluding Yr CMM by Roald Dahl as it does not match the query
Excluding The BFG by Roald Dahl as it does not match the query
Excluding The BFG: Plays for Children by Roald Dahl as it does not match the query
Excluding Sophiechen und der Riese by Roald Dahl as it does not match the query
Excluding The BFG in Scots by Roald Dahl as it does not match the query
Excluding The BFG by Roald Dahl as it does not match the query

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

****************************** Amazon.com (1, 3, 5) ******************************
Found 0 results
Downloading from Amazon.com took 3.739368200302124
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: auto
Making google query: https://www.google.com/search?q=%D7%...www.amazon.com
Failed to find any results on results page, with title: העיג רואלד דאל site:www.amazon.com - חיפוש ב-Google
No search engine results for terms: העיג רואלד דאל
Trying the bing search engine instead
Making bing query: https://www.bing.com/search?q=%D7%94...www.amazon.com
Failed to find any results on results page, with title: העיג רואלד דאל site:www.amazon.com - חיפוש
No search engine results for terms: העיג רואלד דאל
No matches found with query: ['העיג', 'רואלד', 'דאל']

************************************************** ******************************
The identify phase took 14.04 seconds
The longest time (13.974174) was taken by: Google
Merging results from different sources
We have 0 merged results, merging took: 0.00 seconds
tgiladi is offline   Reply With Quote
Old 12-12-2023, 03:21 PM   #15
tgiladi
Member
tgiladi began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Dec 2023
Device: Kindle Oasis
Thanks for replying!
Here's the error message I'm getting:

calibre, version 7.1.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:
{'title': 'הבלדרית', 'authors': ['דניאל סילבה'], 'identifiers': {'isbn': '9789654824729', 'google': '8fLAMQAACAAJ'}, 'timeout': 30}
Using plugins: Evrit (1, 4, 0)
The log from individual plugins is below

****************************** Evrit (1, 4, 0) ******************************
Found 0 results
Downloading from Evrit took 0.07528162002563477
https://www.e-vrit.co.il/api/Product...ית
Plugin Evrit failed
Traceback (most recent call last):
File "mechanize\_urllib2_fork.py", line 1236, in do_open
File "http\client.py", line 1286, in request
File "http\client.py", line 1332, in _send_request
File "http\client.py", line 1281, in endheaders
File "http\client.py", line 1041, in _send_output
File "http\client.py", line 979, in send
File "http\client.py", line 1458, in connect
File "ssl.py", line 517, in wrap_socket
File "ssl.py", line 1108, in _create
File "ssl.py", line 1379, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\ebooks\metadata\sources\identify.py", line 47, in run
File "calibre_plugins.dummy1.__init__", line 242, in identify
File "calibre_plugins.dummy1.__init__", line 273, in search_for_evrit_id
File "calibre_plugins.dummy1.__init__", line 302, in get_product_values_from_book_teller
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 28, 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:1006)>

************************************************** ******************************
The identify phase took 0.20 seconds
The longest time (0.075282) was taken by: Evrit
Merging results from different sources
We have 0 merged results, merging took: 0.00 seconds
tgiladi is offline   Reply With Quote
Reply

Tags
evrit, hebrew, metadata source plugin, plugin

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Source Plugin] Comicvine jbernardo Plugins 4 10-09-2023 04:05 AM
[Metadata Source Plugin] Smashwords davidfor Plugins 15 04-29-2023 09:40 PM
Read a book's metadata in a Metadata source plugin? J-H Development 2 03-30-2021 10:08 AM
[Metadata Source Plugin] Empty Plugin? (Fake Identifier) mneimeyer Plugins 3 11-11-2019 09:07 PM
[Metadata Source Plugin] Skoob rodrigoccurvo Plugins 11 06-13-2019 07:44 PM


All times are GMT -4. The time now is 10:49 AM.


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