Skip to content

codeallyio/pythonTask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Word Scraper Counter

A compact customizable web scraper that takes a url and word params, scrapes the URL, and extracts the words in the document.

Response should contain json with all/matching words count, sorted by the most common. Words that occur in url same number of times should be sorted alphabetically. Scraper should be case insensitive. Words in response should be in lower case.

Complete the program that will take url as first argument and not specified number of word params.

Run your program

Run in main project directory for example:

python3.7 main.py http://example.com example Domain

it should return something like:

{"domain": 4, "example": 3}

Testing candidate solution

Run in main project directory:

python3.7 test.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages