mirror of
https://github.com/manualdousuario/marreta.git
synced 2026-04-29 20:10:24 +00:00
removida configuração de user agent
This commit is contained in:
parent
1d1bc21ab7
commit
0514435f2a
5 changed files with 18 additions and 33 deletions
|
|
@ -1,25 +0,0 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Bot configurations
|
||||
* Configurações dos bots
|
||||
*
|
||||
* Defines user agents that can be used to make requests
|
||||
* Define os user agents que podem ser utilizados para fazer requisições
|
||||
*
|
||||
* These user agents are used to simulate legitimate web crawlers
|
||||
* Estes user agents são usados para simular crawlers web legítimos
|
||||
*/
|
||||
return [
|
||||
// Google News bot
|
||||
// Bot do Google News
|
||||
'Googlebot-News',
|
||||
|
||||
// Mobile Googlebot
|
||||
// Googlebot para dispositivos móveis
|
||||
'Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)',
|
||||
|
||||
// Desktop Googlebot
|
||||
// Googlebot para desktop
|
||||
'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/W.X.Y.Z Safari/537.36'
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue