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" />
paket add NetCrawlerDetect --version 1.2.113
#r "nuget: NetCrawlerDetect, 1.2.113"
// Install NetCrawlerDetect as a Cake Addin #addin nuget:?package=NetCrawlerDetect&version=1.2.113 // Install NetCrawlerDetect as a Cake Tool #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. |
.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 (1)
Showing the top 1 NuGet packages that depend on NetCrawlerDetect:
Package | Downloads |
---|---|
AlienFruit.Web
Generic library for ASP NET |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.2.113 | 54,443 | 2/4/2023 |
1.2.111 | 1,285 | 8/20/2022 |
1.2.95 | 160,093 | 4/23/2020 |
1.2.94 | 578 | 3/3/2020 |
0.2.3 | 850 | 6/17/2019 |
0.2.2 | 685 | 6/13/2019 |
0.2.1 | 753 | 5/25/2019 |
0.2.0 | 694 | 4/30/2019 |
0.1.9 | 938 | 1/12/2019 |
0.1.8 | 874 | 1/6/2019 |
0.1.7 | 954 | 10/4/2018 |
0.1.6 | 928 | 10/1/2018 |
0.1.5 | 1,122 | 7/11/2018 |
0.1.4 | 1,270 | 5/18/2018 |
0.1.3 | 1,161 | 5/14/2018 |
0.1.2 | 1,108 | 4/2/2018 |
0.1.1 | 1,117 | 3/22/2018 |
0.1.0 | 998 | 3/6/2018 |
0.0.9 | 1,170 | 3/5/2018 |
0.0.8 | 1,121 | 2/24/2018 |
0.0.7 | 1,090 | 2/23/2018 |
0.0.6 | 1,109 | 2/9/2018 |
0.0.5 | 1,240 | 2/3/2018 |
0.0.4 | 1,153 | 2/1/2018 |
0.0.3 | 1,261 | 1/31/2018 |
0.0.2 | 1,195 | 1/31/2018 |
0.0.1 | 1,197 | 1/30/2018 |
Synchronized agents and devices to v1.2.113 of CrawlerDetect