08-24-2018, 07:47 AM | #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. |
08-24-2018, 11:17 PM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
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 | |
|
08-24-2018, 11:55 PM | #3 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
08-26-2018, 08:15 PM | #4 | |
Member
Posts: 11
Karma: 10
Join Date: Sep 2017
Device: Android tablet
|
Quote:
|
|
08-29-2018, 12:00 PM | #5 | |
Guru
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
Quote:
|
|
Advert | |
|
08-29-2018, 09:30 PM | #6 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes and it was already fixed some time ago.
|
11-16-2018, 06:16 AM | #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 |
|
Similar Threads | ||||
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 |