links.py
is a script to extract markdown links from a bot's utterance defined in the domain files.
First, install the dependencies with pip install -r requirements.txt
.
Then, read python links.py --help
.
If you want to extract the links from the bot utterances of a specific domain file:
python links.py --domain ./tests/domain.yml --out extraction_results.csv
If you want to extract the links from the bot utterances by recursively going through all the domain files in a specific folder:
python links.py --domain ./tests --out extraction_results.csv