This is the brief documentation and starter kit for the hello web-crawler task. It uses flask, a lightweight Python web framework. The project contains two simple views and two simple unit tests.
- lxml
- requests
Install Flask:
pip install flask
Install lxml:
pip install lxml
Install requests:
pip install requests
Run the server:
python hello.py
Access the URL to see if the server is up:
http://127.0.0.1:5000/
To run the unit tests:
python hello_tests.py
https://cloud.githubusercontent.com/assets/7407419/9565982/06f6aa8c-4f0e-11e5-96b3-c8167b57f9ad.png
https://cloud.githubusercontent.com/assets/7407419/9565984/06fff2f4-4f0e-11e5-9d7c-26816c1e7969.png
https://cloud.githubusercontent.com/assets/7407419/9565985/07012f70-4f0e-11e5-90a4-3d24c6466e7b.png
https://cloud.githubusercontent.com/assets/7407419/9565983/06ff0416-4f0e-11e5-9f12-7116f3cf3a0e.png