1
0
mirror of https://github.com/lancedikson/bowser synced 2026-03-02 03:40:27 +00:00

Add Facebook and IA crawler

This commit is contained in:
Lucio Martinez
2024-08-21 13:56:02 +02:00
committed by GitHub
parent e417ea29d7
commit d197a446c2

View File

@@ -18,9 +18,9 @@ export default [
}, },
}, },
/* Alexa */ /* AmazonBot */
{ {
test: [/ia_archiver/i], test: [/Amazonbot/i],
describe() { describe() {
return { return {
type: PLATFORMS_MAP.bot, type: PLATFORMS_MAP.bot,
@@ -62,13 +62,24 @@ export default [
}, },
}, },
/* Facebook */ /* Internet Archive Crawler */
{ {
test: [/facebookexternalhit/i], test: [/ia_archiver/i],
describe() { describe() {
return { return {
type: PLATFORMS_MAP.bot, type: PLATFORMS_MAP.bot,
vendor: 'Facebook', vendor: 'Internet Archive',
};
},
},
/* Meta Web Crawler */
{
test: [/facebookexternalhit/i, /facebookcatalog/i],
describe() {
return {
type: PLATFORMS_MAP.bot,
vendor: 'Meta',
}; };
}, },
}, },