mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 07:58:45 +03:00
[Extensions submodule] Add ChatGPT-User as fetcher
This commit is contained in:
parent
5328642e18
commit
6b642e2838
@ -175,8 +175,9 @@ const Emails = Object.freeze({
|
|||||||
|
|
||||||
const Fetchers = Object.freeze({
|
const Fetchers = Object.freeze({
|
||||||
browser : [
|
browser : [
|
||||||
|
// ChatGPT-User - https://platform.openai.com/docs/plugins/bot
|
||||||
// BingPreview / Mastodon / Pinterestbot / Redditbot / Telegrambot / Twitterbot
|
// BingPreview / Mastodon / Pinterestbot / Redditbot / Telegrambot / Twitterbot
|
||||||
[/(bingpreview|mastodon|(?:discord|linkedin|pinterest|reddit|telegram|twitter)bot)\/([\w\.]+)/i],
|
[/(bingpreview|chatgpt-user|mastodon|(?:discord|linkedin|pinterest|reddit|telegram|twitter)bot)\/([\w\.]+)/i],
|
||||||
[NAME, VERSION, [TYPE, FETCHER]],
|
[NAME, VERSION, [TYPE, FETCHER]],
|
||||||
|
|
||||||
// Google Bots / Snapchat
|
// Google Bots / Snapchat
|
||||||
|
@ -8,5 +8,15 @@
|
|||||||
"version" : "1.0b",
|
"version" : "1.0b",
|
||||||
"type" : "fetcher"
|
"type" : "fetcher"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "ChatGPT-User",
|
||||||
|
"ua" : "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; ChatGPT-User/1.0; +https://openai.com/bot",
|
||||||
|
"expect" :
|
||||||
|
{
|
||||||
|
"name" : "ChatGPT-User",
|
||||||
|
"version" : "1.0",
|
||||||
|
"type" : "fetcher"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
Loading…
x
Reference in New Issue
Block a user