Beautiful Soup is fantastic!
I'd couple it with SQLite to enter the data directly in calibre's metadata.db file.
In simple steps:
1. Import all the files in calibre (without metadata, just the title, maybe in the filename)
2. Export all those data in CSV from SQLite
3. Enrich the CSV with python/beautifulSoup
4. Load the data in the database with SQLite
|