Skip to content

abunsen/backend_coding_challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NePa

This is a made-up project that mimics some of the real world features that we work on. The goal of this project is to give you an introduction to the kinds of problems you'll be solving on this project.

  • You should spend one hour on this.
  • After the hour is up, please push all your changes to a branch called {your-name} here on github.
  • Be prepared to present your features and discuss your code during an in-person interview.

Features to implement

  • Accepts a search term on the command line
  • Searches DuckDuckGo for given search term
  • Parses content of search result page
  • Returns parsed result in the following JSON format:
{
 "search_term": "Provided search term",
 "result_count": "Number of results returned",
 "results": [
   {
     "title": "Title of the page in the search result",
     "url": "URL of the page in the search result",
     "desc": "Description of the page in the search result"
   }
 ]
}

Additional instructions

Architecture

  • Python 2.7 or Python 3 required
  • Make sure your project is portable to another computer and list install dependencies in some way

Run the script

Your script should run when one of the following is executed via command line:

$ python scrape.py wyncode

Run tests (optional)

We rely heavily on unit tests, please add tests if you have extra time.

About

Sweet, sweet scripting challenge.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages