Add BingPreview to bot checker (#162)
* Add BingPreview to bot checker
James Waters authored 5 years ago
Olaf Alders committed 5 years ago
1059 | 1059 |
$robot_fragment = 'msnbot';
|
1060 | 1060 |
}
|
1061 | 1061 |
elsif (index( $ua, 'binglocalsearch' ) != -1
|
1062 | |
|| index( $ua, 'bingbot' ) != -1 ) {
|
|
1062 |
|| index( $ua, 'bingbot' ) != -1
|
|
1063 |
|| index( $ua, 'bingpreview' ) != -1) {
|
1063 | 1064 |
$r = 'bingbot';
|
1064 | 1065 |
$robot_tests->{bingbot} = 1;
|
1065 | 1066 |
$robot_fragment = 'bingbot';
|
12779 | 12779 |
"win32",
|
12780 | 12780 |
"win7",
|
12781 | 12781 |
"safari",
|
12782 | |
"webkit"
|
|
12782 |
"webkit",
|
|
12783 |
"robot",
|
|
12784 |
"bingbot"
|
12783 | 12785 |
],
|
12784 | 12786 |
"os" : "windows",
|
12785 | 12787 |
"os_string" : "Win7",
|
12786 | |
"robot" : null
|
|
12788 |
"robot" : "bingbot",
|
|
12789 |
"robot_name" : "Bingbot"
|
12787 | 12790 |
},
|
12788 | 12791 |
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML like Gecko) Chrome/13.0.782.112 Safari/535.1" : {
|
12789 | 12792 |
"browser" : "chrome",
|