![]() |
#1 |
Zealot
![]() Posts: 136
Karma: 60
Join Date: Jul 2009
Location: Munich, Germany
Device: Nook Classic rooted; Galaxy S IV with Aldiko, other older devices
|
[Metadata Source Plugin] Beam eBooks
This plugin allows calibre to read metadata from Beam eBooks when you choose to download/fetch metadata. Additionally to the usual author and title information, it obtains and stored the store-specific beam ebooks id which will be used in a forthcoming plugin to automatically synchronize your local calibre installation with your private bookshelf at beam eBooks.
Special thanks to kiwidude, whose plugins were a great inspiration. Project overview is at OhLoh, and sources are available at Launchpad. Patches and pull requests very welcome ![]() Main features on v1.0.0:
Installation Notes:
Donations: If you find this or any of my other plugins useful please feel free to show your appreciation with PayPal or Flattr ![]() ![]() ![]() Version History: Spoiler:
Last edited by hakan42; 06-28-2011 at 01:19 PM. Reason: added donation methods |
![]() |
![]() |
![]() |
#2 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Dec 2011
Device: none
|
Some titles won't get found
Quote:
![]() Right now I tried to fetch all metadata for my Perry Rhodan Books, but at some of them (especially the ones after 2600) won't get data. I will show one of the error messages: Code:
calibre, version 0.8.29 ERROR: Keine Treffer gefunden: <p>Keine Bücher mit der aktuellen 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 das gesamte Log zu sehen, wählen sie Details anzeigen. Starting download Abfrage: title:PR 2604 – Die Stunde der Auguren; authors:Wim Vandemaan Running identify query with parameters: {u'authors': [u'Wim Vandemaan'], u'identifiers': {}, u'timeout': 30, u'title': u'PR 2604 \u2013 Die Stunde der Auguren'} Using plugins: Beam Ebooks, Google, Amazon.com The log from individual plugins is below ****************************** Beam Ebooks ****************************** Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/0.2.153.1 Safari/525.19')] Found 0 results Downloading from Beam Ebooks took 0.0129890441895 create_query Title: PR 2604 – Die Stunde der Auguren Authors: [u'Wim Vandemaan'] Identifiers: {} Perry Rhodan, modified title: PR 2604 – Die Stunde der Auguren Plugin Beam Ebooks failed Traceback (most recent call last): File "site-packages/calibre/ebooks/metadata/sources/identify.py", line 42, in run File "calibre_plugins.beam_ebooks_metadata.__init__", line 74, in identify File "calibre_plugins.beam_ebooks_metadata.__init__", line 168, in _create_query UnicodeEncodeError: 'latin-1' codec can't encode character u'\u2013' in position 8: ordinal not in range(256) ******************************************************************************** ****************************** Google ****************************** Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11')] Found 0 results Downloading from Google took 0.799514055252 ******************************************************************************** ****************************** Amazon.com ****************************** Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 5.2; rv:2.0.1) Gecko/20100101 Firefox/4.0.1')] Found 0 results Downloading from Amazon.com took 1.43345499039 Trying alternate results page markup No matches found with query: u'http://www.amazon.com/s/?sort=relevanceexprank&field-author=Wim+Vandemaan&field-title=PR+2604++Die+Stunde+der+Auguren&search-alias=stripbooks&unfiltered=1' ******************************************************************************** The identify phase took 1.62 seconds The longest time (1.433455) was taken by: Amazon.com Merging results from different sources and finding earliest publication dates from the xisbn service We have 0 merged results, merging took: 0.00 seconds Thanks for the help ![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Zealot
![]() Posts: 136
Karma: 60
Join Date: Jul 2009
Location: Munich, Germany
Device: Nook Classic rooted; Galaxy S IV with Aldiko, other older devices
|
Quote:
I would have guessed something with german umlauts because of: Code:
168, in _create_query UnicodeEncodeError: 'latin-1' codec can't encode character u'\u2013' in position 8: ordinal not in range(256) I'll look into this, but cannot promise anything before the weekend. Actually, make that christmas, project pressure at $PLACE_OF_WORK is horrible at the moment ![]() If you don't hear back from me by monday, would you please kindly poke me again so I don't forget to look for a fix here? |
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Dec 2011
Device: none
|
Hi Hakan,
damned, I forgot to poke you here ![]() But here it is, since I haven't heard from you yet... are you able and willing to check the code? I'd love to play betatester, but I haven't programmed in ages (and never python...), so I can't check by myself. |
![]() |
![]() |
![]() |
#5 |
Zealot
![]() Posts: 136
Karma: 60
Join Date: Jul 2009
Location: Munich, Germany
Device: Nook Classic rooted; Galaxy S IV with Aldiko, other older devices
|
I consider myself poked
![]() No, seriously, I restarted calibre programming last week. I'm working on a change to the core of calibre ( check in the developer subforum if interested ), but just about next thing on the menu are the metadata plugins... |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Zealot
![]() Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
|
Hello Folks,
i know this is a very old thread, but i found nothing newer. Is there a working version of this addon to download metadata and especially cover from Beam? Thanks Thomas |
![]() |
![]() |
![]() |
#7 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,495
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
It's in Preferences->Plugins->Get new plugins Enter 'beam' in the filter box, top right corner.
BR |
![]() |
![]() |
![]() |
#8 |
Zealot
![]() Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
|
Thanks.
Should have looked there first ![]() |
![]() |
![]() |
![]() |
#9 |
Zealot
![]() Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
|
Just installed it from the Calibre - Preferences - Plugins.
Its the same old Version like here and not working at all. |
![]() |
![]() |
![]() |
#10 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,495
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() The OP hasn't logged in since 2016, you could try sending him a PM. And post any debug messages here, someone might be able to do a quick fix. BR |
|
![]() |
![]() |
![]() |
#11 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 1530
Join Date: Nov 2011
Location: Zagreb, Croatia
Device: K2i, K3/KK WiFi, Basic (old), 2xFire, 2xPW (old), Voyage, Scribe
|
![]()
Installation of the plugin failed on Calibre 5.12. It told me to post the error message here:
Code:
calibre, version 5.12.0 ERROR: Install plugin failed: A problem occurred while installing this plugin. This plugin will now be uninstalled. Please post the error message in details below into the forum thread for this plugin and restart calibre. Traceback (most recent call last): File "calibre\gui2\dialogs\plugin_updater.py", line 709, in _install_clicked File "calibre\customize\ui.py", line 472, in add_plugin File "calibre\customize\ui.py", line 61, in load_plugin File "calibre\customize\zipplugin.py", line 293, in load File "importlib\__init__.py", line 127, in import_module File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "calibre\customize\zipplugin.py", line 192, in exec_module File "calibre_plugins.beam_ebooks_metadata.__init__", line 12, in <module> ImportError: cannot import name 'quote' from 'urllib' (C:\Program Files (x86)\Calibre2\app\bin\python-lib.bypy.frozen\urllib\__init__.pyc) Thank you! |
![]() |
![]() |
![]() |
#12 |
Weirdo
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 777
Karma: 10730860
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Tolino Shine Color, Tolino Vision 6, Kobo Clara 2E, Boox Note Air 2+
|
I think it doesn't work anymore because it wasn't updated for python3?
|
![]() |
![]() |
![]() |
#13 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Oct 2016
Location: New Jersey
Device: Samsung Galaxy Tab 4
|
Received Error on installing plugin. It requested I post the error here.
calibre, version 7.18.0
ERROR: Install plugin failed: A problem occurred while installing this plugin. This plugin will now be uninstalled. Please post the error message in details below into the forum thread for this plugin and restart calibre. Traceback (most recent call last): File "calibre\gui2\dialogs\plugin_updater.py", line 742, in _install_clicked File "calibre\customize\ui.py", line 525, in add_plugin File "calibre\customize\ui.py", line 76, in load_plugin File "calibre\customize\zipplugin.py", line 306, in load File "importlib\__init__.py", line 126, in import_module File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "calibre\customize\zipplugin.py", line 205, in exec_module File "calibre_plugins.beam_ebooks_metadata.__init__ ", line 12, in <module> ImportError: cannot import name 'quote' from 'urllib' (C:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\urllib\__init__.pyc) |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Metadata Source Plugin] Goodreads | kiwidude | Plugins | 775 | 10-05-2024 02:27 PM |
[Metadata Source Plugin] Webscription (Baen Ebooks) | kiwidude | Plugins | 74 | 09-12-2021 08:45 AM |
[Metadata Source Plugin] Libri.hu [Deprecated] | Daermond | Plugins | 5 | 10-02-2012 05:07 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 |