| A Machine Learning exercise to grab images of kittens, written in Python. |
First thought was to use beautiful soup, but I think Scrapy might be the better choice after initial research. Scrapy should already be asynchronous from what I've read.
To activate venv
- from cd cspace-async-py ✗ source spidervenv/bin/activate
To run spider
- cd imagescrapy
- scrapy crawl image_spider --logfile output.log
To run flask
- cd ../
- export FLASK_APP=display.py
- flask run