NetCrawlerDetect 1.2.113
dotnet add package NetCrawlerDetect --version 1.2.113
NuGet\Install-Package NetCrawlerDetect -Version 1.2.113
<PackageReference Include="NetCrawlerDetect" Version="1.2.113" />
<PackageVersion Include="NetCrawlerDetect" Version="1.2.113" />
<PackageReference Include="NetCrawlerDetect" />
paket add NetCrawlerDetect --version 1.2.113
#r "nuget: NetCrawlerDetect, 1.2.113"
#:package NetCrawlerDetect@1.2.113
#addin nuget:?package=NetCrawlerDetect&version=1.2.113
#tool nuget:?package=NetCrawlerDetect&version=1.2.113
NetCrawlerDetect
A .net standard port of JayBizzle's CrawlerDetect project: https://github.com/JayBizzle/Crawler-Detect.
The source code for this project is available on GitHub: https://github.com/gplumb/NetCrawlerDetect.
About NetCrawlerDetect
NetCrawlerDetect is a .net standard class for detecting bots/crawlers/spiders via the user agent and/or http "from" header. Currently able to detect 1,000s of bots/spiders/crawlers.
Usage
Like its' originator, you can either pass in a collection of web headers (from which the user agent will be extracted) or pass in the user agent string directly.
The simplest use of this object is as follows:
// Pass in the user agent directly
var detector = new CrawlerDetect();
var result = detector.IsCrawler("Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)");
// Do we have a bot/crawler/spider?
if(result == true)
{
// Yes. Fetch the name of the bot (optional)
var bot = detector.Matches[0].Value;
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on NetCrawlerDetect:
| Package | Downloads |
|---|---|
|
AlienFruit.Web
Generic library for ASP NET |
|
|
JX.NetCoreNetFramework
Package Description |
|
|
JX
公共使用类 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.113 | 203,607 | 2/4/2023 |
| 1.2.111 | 1,489 | 8/20/2022 |
| 1.2.95 | 160,744 | 4/23/2020 |
| 1.2.94 | 730 | 3/3/2020 |
| 0.2.3 | 1,003 | 6/17/2019 |
| 0.2.2 | 841 | 6/13/2019 |
| 0.2.1 | 913 | 5/25/2019 |
| 0.2.0 | 847 | 4/30/2019 |
| 0.1.9 | 1,095 | 1/12/2019 |
| 0.1.8 | 1,067 | 1/6/2019 |
| 0.1.7 | 1,133 | 10/4/2018 |
| 0.1.6 | 1,125 | 10/1/2018 |
| 0.1.5 | 1,548 | 7/11/2018 |
| 0.1.4 | 1,683 | 5/18/2018 |
| 0.1.3 | 1,588 | 5/14/2018 |
| 0.1.2 | 1,518 | 4/2/2018 |
| 0.1.1 | 1,542 | 3/22/2018 |
| 0.1.0 | 1,308 | 3/6/2018 |
| 0.0.9 | 1,628 | 3/5/2018 |
| 0.0.8 | 1,550 | 2/24/2018 |
| 0.0.7 | 1,518 | 2/23/2018 |
| 0.0.6 | 1,537 | 2/9/2018 |
| 0.0.5 | 1,685 | 2/3/2018 |
| 0.0.4 | 1,584 | 2/1/2018 |
| 0.0.3 | 1,846 | 1/31/2018 |
| 0.0.2 | 1,754 | 1/31/2018 |
| 0.0.1 | 1,783 | 1/30/2018 |
Synchronized agents and devices to v1.2.113 of CrawlerDetect