Skip to content

dsarmiento84/SearchFight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SearchFight

The application will query search engines for each entered term, showing the number of results by term and engine, the winners by engine and the total winner.

Instructions

In order to use the application, just enter the terms you want to search with the different configured search engines. Term with spaces have to be between double quotes ("java script").

C:\> searchfight.exe .net java
.net: Google: 4450000000 MSN Search: 12354420
java: Google: 966000000 MSN Search: 94381485
Google winner: .net
MSN Search winner: java
Total winner: .net

Configuration

If you want to add or change any configured search engine, you have to edit the App.config file following these instructions:

<add engineName="MyEngine"
     engineURL="https://www.myengine.com/search?q={0}"
     engineRegexPattern="&lt;span class=&quot;important_tag&quot;&gt;(.*?) results&lt;/span&gt;"/>
  • Web scraping is used on the general search engine URL and a Regex pattern of the element that holds the number of results.
  • You can change the configuration of search engines without needing to compile the application again.
  • No API keys needed!

Prerequisites

  • .NET Framework 4.6.1

Deployment

Just compile it and use it directly with the *.exe file generated.

About

Programming challenge por Cignium Technologies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages