GithubHelp home page GithubHelp logo

jaybizzle / laravel-crawler-detect Goto Github PK

View Code? Open in Web Editor NEW
302.0 13.0 29.0 236 KB

A Laravel wrapper for CrawlerDetect - the web crawler detection library

License: MIT License

PHP 100.00%
php laravel crawler spider bot detect

laravel-crawler-detect's Issues

Ahrefs is not excluded?

Why ahrefs is not included by crawler detection?

54.36.149.249 - - [29/Jun/2023:08:08:52 +0000] "GET /hr/proizvod/kratke-hlace-nike-w-pro365-short-7in-hi-rise-34457 HTTP/2.0" 200 16893 "-" "Mozilla/5.0 (compatible; AhrefsSiteAudit/6.1; +http://ahrefs.com/robot/site-audit)"

php 8.3 support

will there be support for php 8.3?

  Problem 1
    - nette/schema v1.2.2 requires php >=7.1 <8.2 -> your php version (8.3.1) does not satisfy that requirement.

Undefined type 'Crawler'.

On a fresh Laravel 8x install I followed the steps in the README like so:

Added " Jaybizzle\LaravelCrawlerDetect\LaravelCrawlerDetectServiceProvider::class," to config.app

Added " 'Crawler' => Jaybizzle\LaravelCrawlerDetect\Facades\LaravelCrawlerDetect::class," to aliases in config.app

Added "use Crawler;" at the top of a Livewire component

But when trying to use "Crawler::isCrawler()" I am getting the error: "Undefined type 'Crawler'."

Is there something I am missing?

User guide

I want to get data from other website . And i don't know how to get it with laravel-crawler-detect. Thanks

IP addresses not showing in table

Hi,
I have just installed this package, and it is not logging my users' IP to localhost, is that correct or should I do something?
Will it start logging users' IPs only after uploading files to the server?

The browser version is not correctly defined `MZ Browser`

The browser version is not correctly defined.
Device: Mobile
Platform: AndroidOS 6.0
Founded Browser: Chrome 40.0.2214.89
Real Browser: MZ Browser 6.9
User Agent: Mozilla/5.0 (Linux; U; Android 6.0; zh-CN; MZ-PRO 6 Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/40.0.2214.89 MZBrowser/6.9.511-2018012510 UWS/2.11.0.33 Mobile Safari/537.36

Can this library return false positives?

So this isn't an issue, but rather a question - is there any possibility at all this library can return a false positive, i.e. return true even if the 'user' isn't a crawler?

Update Readme

Thanks for doing the work on this, really helped me a lot.

You may want to update the readme for new users of Laravel though.

under Aliases (in 5.4) they should use:

'Crawler'   => Jaybizzle\LaravelCrawlerDetect\Facades\LaravelCrawlerDetect::class,

and under Usage they need to add:

Use Crawler;

at the top.

Great work though, thanks.

R

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.