Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Coding_V2/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
46 lines (25 sloc)
774 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Programming Task | |
This is a simple web scraping API that will grab data from a URL and process it | |
## TASK | |
Fix the Bugs in the Webscraper.py file | |
## Install Instructions | |
For testing there is no need for a full install as the program can run locally. | |
1. Create a virtual environment | |
```$ python -m venv env ``` | |
2. Activate it | |
```$ source env/bin/activate``` | |
You will need to have the following Python libries available. You can use | |
an appropraite package manager to install them | |
- requests | |
- pytest | |
## Running the Unittests | |
You need to make sure the unit tests are all working correctly you can do this | |
with | |
``` | |
$ pytest -v | |
``` | |
## Running the Program | |
You can run the program and get the output with | |
... | |
$ python webscraper.py | |
``` | |