Skip to content

4061CEM-2021OCTJAN/Coding_V2

master
Switch branches/tags

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?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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



About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages