Skip to content

kylechadha/go-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website Searcher

Given a list of urls in urls.txt, this program fetches each page and determines whether a search term exists on the page.

Installation Instructions

  1. git clone this repository into $GOPATH/src/github.com/kylechadha/
  2. cd into the directory: cd go-search
  3. Install dependencies: go get ./...
  4. run the go-search executable with flags:
    • -search=searchTerm
    • optional flag -input specifying the location of the urls file (the default is urls.txt in the current working directory)
    • optional flag -verbose enables verbose logging

Additional Information

  • The urls file must be a CSV file with urls in the second column
  • The output will be in results.txt

About

Code challenge done for Timehop in 2016. Search utility that performs a concurrent search on an input file of URLs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages