https://github.com/rishang/plagiarism-checker
A python snippet script based on selenium to check plagiarism using google search
https://github.com/rishang/plagiarism-checker
plagiarism-detection python selenium
Last synced: 9 months ago
JSON representation
A python snippet script based on selenium to check plagiarism using google search
- Host: GitHub
- URL: https://github.com/rishang/plagiarism-checker
- Owner: Rishang
- Created: 2020-09-29T06:28:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-09T12:12:29.000Z (about 5 years ago)
- Last Synced: 2025-04-15T04:17:05.253Z (about 1 year ago)
- Topics: plagiarism-detection, python, selenium
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://medium.com/swlh/this-way-i-checked-hundreds-of-plagiarized-answers-in-seconds-50ef0354fdfa?source=friends_link&sk=6dc250097d03100e5ea9a10983e24f6d)
**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.