Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Python script to check if there is any differences in responses of an application when the request comes from a search engine's crawler.

NotificationsYou must be signed in to change notification settings

p0dalirius/crawlersuseragents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub release (latest by date)YouTube Channel Subscribers

This Python script can be used to check if there is any differences in responses of an application when the request comes from a search engine's crawler.

Features

  • 30 crawler's user agent strings.
  • Multithreading.
  • JSON export with--json outputfile.json.
  • Auto-detecting responses that stands out.

Usage

$ ./crawlersuseragents.py -h[~] Access web pages as web crawlers User-Agents, v1.1usage: crawlersuseragents.py [-h] [-v] [-t THREADS] [-x PROXY] [-k] [-L] [-j JSONFILE] urlThis Python script can be used to check if there is any differences in responses of an applicationwhen the request comes from a search engine's crawler.positional arguments:  url                   e.g. https://example.com:port/pathoptional arguments:  -h, --help            show this help message and exit  -v, --verbose         arg1 help message  -t THREADS, --threads THREADS                        Number of threads (default: 5)  -x PROXY, --proxy PROXY                        Specify a proxy to use for requests (e.g., http://localhost:8080)  -k, --insecure        Allow insecure server connections when using SSL (default: False)  -L, --location        Follow redirects (default: False)  -j JSONFILE, --jsonfile JSONFILE                        Save results to specified JSON file.

Auto-detecting responses that stands out

Results are sorted by uniqueness of their response's length. This means that the results with unique response length will be on top, and results with response's length occurring multiple times at the bottom:

Two different result lengthsFour different result lengths

Contributing

Pull requests are welcome. Feel free to open an issue if you want to add other features.

References

About

Python script to check if there is any differences in responses of an application when the request comes from a search engine's crawler.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp