Small demo project for send and parsing HTML
To setup the project initially run this and restart vscode
$ python3 -m venv .venvRun to install dependencies, run
$ pip install -r requirements.txtTo start the API, first setup trainig data for the AI
$ flask --app pyplication runYou can run test te verify everything is working.
Make sure to give execution permission to the script
$ chmod +x scripts/test.sh
$ ./scripts/test.shThe whole project is also tested. Verify by running
$ pytestTo setup training data for the AI, run the following
$ python3 ai/scrappy.pyThis will take some time depending on your internet speed, but you will end-up with training_data.csv that can be fed into a Model