-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Example 1 does not work (anymore).
from ebookatty import fetch_metadata
file_path = "Romeo and Juliet - William Shakespeare.mobi"
data = fetch_metadata(file_path)
This gives this error:
from ebookatty import fetch_metadata
ImportError: cannot import name 'fetch_metadata' from 'ebookatty' (C:\ProgramData\anaconda3\lib\site-packages\ebookatty_init_.py)
Borrowing from the clip.py script, I use this for a working test from python:
from ebookatty import MetadataFetcher
file_path = "Romeo and Juliet - William Shakespeare.mobi"
fetcher = MetadataFetcher(file_path)
data = fetcher.get_metadata()
Metadata
Metadata
Assignees
Labels
No labels