![]() |
#1 |
Member
![]() Posts: 11
Karma: 10
Join Date: Sep 2017
Device: Android tablet
|
Calibre Python code for fetching by asin/googleid
Is there a portion of Calibre Python code that's easy to reuse/adapted to fetch metadata using an asin or googleid, preferably with the option to specify the host? I was looking in src/calibre/ebooks/metadata/ but there's a lot more going on than this simple function.
This is for importing books into calibre using an external script. Usually use fetch-ebook-meta but that only works for isbn or name/author, whereas the Calibre interface seems to be able to fetch based on asin or googleid. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,307
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No there is no such portion. fetch-ebook-metadata uses the same code internally as the GUI, someone simply needs to command line option to it to specify identifiers.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,307
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#4 | |
Member
![]() Posts: 11
Karma: 10
Join Date: Sep 2017
Device: Android tablet
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 838
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,307
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes and it was already fixed some time ago.
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2018
Device: none
|
Moderator Notice
spam deleted Last edited by chaley; 11-16-2018 at 02:16 PM. Reason: Spam deleted |
![]() |
![]() |
![]() |
Tags |
calibre, metadata, python, script, scripting |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to force calibre to download only the Kindle ASIN? | Jake Chambers | Library Management | 12 | 06-03-2017 01:19 PM |
How to get book cover width and height in Calibre Python code? | datcha | Library Management | 3 | 02-11-2016 09:55 AM |
Fetching Lenta.ru from python script | johanp | Recipes | 0 | 01-06-2013 11:43 AM |
Running recipe error: Python function terminated unexpectedly (Error Code: 1) | jpassarella | Recipes | 0 | 10-05-2012 12:54 PM |
Proper code for fetching Print Version from WSJ and NYT? | brad382 | Calibre | 1 | 12-20-2008 01:06 PM |