@truecarry/tiktok-signature
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -41,5 +41,7 @@ const puppeteer = require("puppeteer-extra") | ||
this.page = await this.browser.newPage(); | ||
await this.page.goto('file://' + __dirname + '/index.html', { waitUntil: 'load' }); | ||
await this.page.emulate(iPhonex); | ||
await this.page.setUserAgent(this.userAgent); | ||
await this.page.goto('file://' + __dirname + '/index.html', { waitUntil: 'load' }); | ||
if (this.tac) { | ||
@@ -46,0 +48,0 @@ await this.page.evaluate((x) => { |
{ | ||
"name": "@truecarry/tiktok-signature", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Install `jsdom`", | ||
@@ -24,4 +24,3 @@ "main": "index.js", | ||
"puppeteer-extra-plugin-stealth": "^2.4.9" | ||
}, | ||
"devDependencies": {} | ||
} | ||
} |
61914
7
665