This is a simple converter from Card2Brain to the Anki flashcard service. It is written in Python 3.9.
This library and its author(s) are not affiliated with Card2Brain or Anki in any way. This software is provided for educational purposes only, as-is and without any warranty. Use at your own risk.
- Clone this repository
- Install the required dependencies with
pip install -r requirements.txt
i) Install the additional required dependencies withpip install genanki webdriver_manager
ii) Make sure you have the Chrome browser installed - Run the main function with
set_url
anddeck_name
(optional) as arguments. If you don't input deck_name, it will default to the page title. - Import the generated deck from
data/output.apkg
into Anki
Contributions are welcome, just open a pull request.
- Create a hosted version of this converter with a simple interface
- The converter does not support images yet
- Ads are not handled elegantly and produce warnings
- Select the max number of cards to display on a page to avoid missing cards, the pagination is not handled well yet