extract module

Extracts entries from an Anki database and writes them to a structured JSON file.

extract.extract_definitions(def_string)

Extract definitions as a list of dicts from a string.

Extract all relevant links from the HTML soup

extract.main()

Main entry point for extracting Anki entries to JSON.

extract.parse_html(html_content)

Parse the HTML content and extract structured data