Skip to content

A python snippet script based on selenium to check plagiarism using google search

Notifications You must be signed in to change notification settings

Rishang/plagiarism-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A python snippet script based on selenium to check plagiarism

Checkout my article on explaining about this script. medium.com/swlh/this-way-i-checked-hundreds-of-plagiarized-answers-in-seconds

checkout demo.py for seeing use case of the script

It contains Two functions

  1. googleSearch() to perform google search
  2. compareStr() to compare two strings

Example:

googleSearch("hello")

It works by searching on google the string we gave in argument and collect following items of each result.

  • domain
  • url
  • title
  • description

This items of each search result are returned if form of dictionary.

compareStr("hello world","hello you")

output: 70.0

This function returns percentage of match between 2 strings given in arguments.

About

A python snippet script based on selenium to check plagiarism using google search

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages