1. worker.py is irrelevant, all you need to do is subclass
https://manual.calibre-ebook.com/plu...a.sources.base and implement identify() and download_cover() methods.
2. beautifulSoup is available in calibre. from calibre.ebooks.beautifulsoup import BeautifulSoup
3. Look at any of th eexisting metadata download plugin