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 08-30-2011, 01:10 PM   #1
jbienko1
Member
jbienko1 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
[Metadata Source Plugin] LubimyCzytac [PL]

LubimyCzytac - Version 0.5.6 (2012-02-16)

This plugin uses LubimyCzytac.pl as a metadata source. It was based on the Barnes & Noble plugin.

It is made generally for searching polish books. Actually it is useless otherwise - lubimyczytac.pl has polish books only in its database.
I've written this, because non-polish sites do not support searching without diaktrics (means: ‘ą’, ‘ę’, ‘ł’ and all that stuff). On the other hand - title and author parsed from filename usually lacks polish diaktrics. As an effect you must manually complete it before searching for metadata.

Using this plugin you can find for example:
Search for: title(Zolw i zajac)
Found: title(Żółw i zając)


Main Features:
  1. Deals with polish diaktrics
  2. Retrives:
  • isbn
  • authors
  • title
  • publisher & publish date
  • series & series number
  • rating
  • tags
  • comments
  • cover
  • language

Special Notes:
  • Requires calibre 0.8.15 or higher.
  • This is my first work in python. Actually it's first time as I've ever seen python. So be tolerant reviewing the source code ;-)

Known issues /to do:
  • This is a beta, this is first time I’ve ever seen python, so can be buggy. Please report any error you've found.

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.

Version History:
Spoiler:

Release notes:
0.5.0 - Initial

0.5.1 - Fixed: multiple series (takes 1st one with series number given)

0.5.2 - Added: 'Language' tag - works with polish language only - assuming lubimyczytac.pl is for polish books. If language for book is polis it is set. Empty otherwise.
Fixed: Title is not capitalized anymore
Fixed: Plugin name changed (plugin was not seen in Calibre installed plugins list)

0.5.3 - Fixed: Rating now works with new lubimyczytac.pl 1-10 scale
0.5.4 - Fixed: Image dowlnoad - downloads bigger images again
0.5.5 - Fixed: Works again - adaptation to lubimyczytac changes in HTML structure
0.5.6 - (Submitted by Ar't) - Added: Parsing series with roman numerals

2.0.0 - Fixes for changes to the website and compatibility with calibre 2.0
Attached Files
File Type: zip LubimyCzytac.zip (9.8 KB, 43648 views)

Last edited by kovidgoyal; 09-14-2014 at 10:39 AM. Reason: New version of plugin
jbienko1 is offline   Reply With Quote
Old 09-01-2011, 04:37 PM   #2
Puciek
Junior Member
Puciek began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2011
Device: Android smartphone
MIszczu, jestes wielki
Póki co plugin działa świetnie. Mam jeszcze głupie pytanie - umiałbyś zrobić plugin korzystający z biblionetka.pl? Wydaje mi się że ich baza jest większa - no ale to moje subiektywne odczucie. Tak czy inaczej - DZIĘKI

eng. google translate
You are great
So far the plugin works great. I have a silly question - if you can make a plugin using the biblionetka.pl? It seems to me that their base is bigger - this is my subjective impression. Anyway - THANKS
Puciek is offline   Reply With Quote
Advert
Old 09-01-2011, 05:47 PM   #3
jbienko1
Member
jbienko1 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
Actually biblionetka.pl was my first idea. But it is not good as metadata source.
Look at book information - it lacks ISBN, publisher, keywords and, last but not least, book description. Sometimes you may find description as first review but you have no guarantee and, moreover, you can't distinguish publisher notice from book review.
Biblionetka.pl is better as social network, due to number of active users, but worse for fetching metadata.

Innymi słowy - nie ma to większego sensu. W biblionetce nie ma dużej części informacji którą da się pobrać z lubimyczytac.pl: ISBN, wydawcy, słów kluczowych i, niestety, opisu książki od wydawcy. A jeśli chodzi o wielkość bazy książek lubimyczytac - to, przynajmniej dla mnie, jest całkowicie satysfakcjonująca.
jbienko1 is offline   Reply With Quote
Old 10-04-2011, 04:59 PM   #4
jbienko1
Member
jbienko1 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
Updated to version 0.5.2:

- Added: 'Language' tag - works with polish language only - assuming lubimyczytac.pl is usable only for polish books. If language for book is polis it is set. Not set otherwise.
- Fixed: Title is not capitalized anymore - title capitalization is not suitable for polish language
- Fixed: Plugin name changed (plugin wasn't seen in Calibre installed plugins list)
jbienko1 is offline   Reply With Quote
Old 10-18-2011, 05:54 PM   #5
jbienko1
Member
jbienko1 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
Updated to version 0.5.3:

- Fixed: Rating now works with new lubimyczytac.pl 1-10 scale (was 1-5)
jbienko1 is offline   Reply With Quote
Advert
Old 12-16-2011, 05:11 PM   #6
jbienko1
Member
jbienko1 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
Updated to version 0.5.4:

- Fixed: Image dowlnoad - downloads bigger images again (follows changes of lubimyczytac.pl html)
jbienko1 is offline   Reply With Quote
Old 01-03-2012, 07:59 AM   #7
KonradK
Member
KonradK began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Dec 2011
Device: Kindle DX, Kindle PW3
Seems like it sometimes returns incorrect publish date (other thant in LubimyCzytac.pl, or in http://www.worldcat.org), and even if Published date is unchecked in preferences.
For example it returns 1995 (should be 1997) for:
http://lubimyczytac.pl/ksiazka/48615/

P.S.
Anyway this plugin is otherwise very useful for me.

Update:
Some technical data:
calibre 0.8.33
Vista Ultimate x64

Last edited by KonradK; 01-03-2012 at 08:02 AM. Reason: Added technical info
KonradK is offline   Reply With Quote
Old 02-09-2012, 09:57 AM   #8
borsuksie
Junior Member
borsuksie began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2012
Device: Kindle touch
Seems like its not working, tried to get data for my books yesterday and it fails to do so.

Can you look into it and check whats wrong?

Thanks for this great plugin for polish readers.
Cheers
borsuksie is offline   Reply With Quote
Old 02-09-2012, 12:27 PM   #9
KonradK
Member
KonradK began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Dec 2011
Device: Kindle DX, Kindle PW3
Quote:
Originally Posted by KonradK View Post
Seems like it sometimes returns incorrect publish date (other thant in LubimyCzytac.pl, or in [...]
Sorry. Never mind.
I have been told by Calibre's author that each time when plugin returns ISBN a publish date from xISBN service is used. xISBN sometimes has incorrect publish date.
KonradK is offline   Reply With Quote
Old 02-10-2012, 06:32 AM   #10
jbienko1
Member
jbienko1 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
Quote:
Originally Posted by borsuksie View Post
Seems like its not working, tried to get data for my books yesterday and it fails to do so.

Can you look into it and check whats wrong?

Thanks for this great plugin for polish readers.
Cheers
Hi,

It seems that lubimyczytac site has been re-arranged. Html structure of the book details page has been changed. Layout of page is the same, so I have no idea what was the reason of this change.

At this moment I do not now the scale of change and what exactly I need to do to make plugin working. I (probably) will adapt the plugin to new lubimyczytac html structure, but I cannot give any fixed date. Probably at first possible day when I'll have too much free time .

So, maybe, someone other can do it to make it faster? ;-)

Regards,
Jacek
jbienko1 is offline   Reply With Quote
Old 02-12-2012, 07:36 AM   #11
jbienko1
Member
jbienko1 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
Updated to version 0.5.5:

- Fixed: Plugin works again (adapting changes in lubimyczytac HTML strucutre)

There is still bug raised by KonradK:
Quote:
Originally Posted by KonradK View Post
Seems like it sometimes returns incorrect publish date (other thant in LubimyCzytac.pl, or in http://www.worldcat.org), and even if Published date is unchecked in preferences.
For example it returns 1995 (should be 1997) for:
http://lubimyczytac.pl/ksiazka/48615/
To be fixed later
jbienko1 is offline   Reply With Quote
Old 02-16-2012, 03:48 PM   #12
jbienko1
Member
jbienko1 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
Updated to version 0.5.6:

- 0.5.6 - (Submitted by Ar't) - Added: Parsing series with roman numerals

There is still bug raised by KonradK related to publication date.
I can't fix it. I've checked, that date is properly parsed. Then I set the value of Metadata.pubdate with correct date.

As an effect completely different date is presented and set. Either I did sth incorrectly or there is some bug in metadata handling in Calibre. I appreciate any help in this metter.
jbienko1 is offline   Reply With Quote
Old 02-16-2012, 04:06 PM   #13
KonradK
Member
KonradK began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Dec 2011
Device: Kindle DX, Kindle PW3
As I mentioned here, this bug has nothing to do with your plugin.
Once again: I apologize for false bug report. I was under impression that it has something to do, because this bug occured for me in conjunction with your plugin (actualy thanks to your plugin I was able to quickly verify discrepancy between returned and actual published date).
KonradK is offline   Reply With Quote
Old 02-17-2012, 04:53 AM   #14
borsuksie
Junior Member
borsuksie began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2012
Device: Kindle touch
Thank you very much for quick fix.
Once again Im very happy to use your plugin on and on and on...

cheers
borsuksie is offline   Reply With Quote
Old 02-22-2013, 12:31 PM   #15
Ryczard
Junior Member
Ryczard began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2011
Device: Kindle PW
Niestety wtyczka przestała ostatnio działać na pewno od wersji Calibre 0.9.19 (64bit) chociaż tu chyba nie ma nic wspólnego.

Tu jest log z zapytania:

calibre, version 0.9.20
BŁĄD: Brak pasujących wyników: <p>Nie udało się znaleźć żadnej książki pasującej do zapytania. Spróbuj podać <b>mniej szczegółowe</b> dane. Możesz na przykład podać tylko nazwisko autora i jedno słowo z tytułu.<p>Aby zobaczyć więcej informacji kliknij przycisk Pokaż szczegóły.

Running identify query with parameters:
{u'authors': [u'Ann Goonan'], u'identifiers': {}, u'timeout': 30, u'title': u'Ko\u015bci czasu'}
Using plugins: LubimyCzytac
The log from individual plugins is below

****************************** LubimyCzytac ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 6.1; rv:6.0) Gecko/20110814 Firefox/6.0')]
Found 0 results
Downloading from LubimyCzytac took 2.40200018883
Querying: http://lubimyczytac.pl/szukaj/ksiazk...&main_search=1
No matches found with query: u'http://lubimyczytac.pl/szukaj/ksiazki?phrase=Kosci+czasu+Ann+Goonan&main_search= 1'

************************************************** ******************************
The identify phase took 2.61 seconds
The longest time (2.402000) was taken by: LubimyCzytac
Merging results from different sources and finding earliest publication dates from the worldcat.org service
We have 0 merged results, merging took: 0.00 seconds


-------------------------------------------------------------------------
Tu jest poprawiona wersja wtyczki (przez kolegę fenuks z innego forum)

Pobierz

Last edited by Ryczard; 02-23-2013 at 05:56 PM.
Ryczard is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Source Plugin] BOL.com (NL) Pr.BarnArt Plugins 505 12-14-2023 03:23 PM
[Metadata Source Plugin] Skoob rodrigoccurvo Plugins 11 06-13-2019 06:44 PM
[Metadata Source Plugin] Moly.hu [Deprecated] Daermond Plugins 7 09-23-2012 03:48 AM
[Metadata Source Plugin] Antikvarium.hu **Deprecated** Daermond Plugins 0 05-27-2011 08:06 AM
[Metadata Source Plugin] Amazon.it nandocuci Plugins 2 05-18-2011 02:36 AM


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


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