Skip to content

Commit 292591f

Browse files
committed
🔧 update useragent
1 parent a892207 commit 292591f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config/puppeteer.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ const puppeteerConfig = {
4949
]
5050
};
5151

52-
export const useragent = 'WhatsApp/2.2108.8 Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36';
53-
export const createUserAgent = (waVersion:string) : string => `WhatsApp/${waVersion} Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36`;
52+
export const createUserAgent = (waVersion:string) : string => `WhatsApp/${waVersion} Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36`;
53+
export const useragent = createUserAgent('2.2144.11')
5454
export { puppeteerConfig };
5555

5656
export const width = puppeteerConfig.width;

0 commit comments

Comments
 (0)