CheshireCaat / puppeteer-with-fingerprints

Anonymous automation via puppeteer with fingerprint replacement technology.
MIT License
300 stars 36 forks source link

how to select iphone #87

Open dindamb opened 8 months ago

dindamb commented 8 months ago

i bought fingerprint key from bablosoft, but when i using this tags it's error, how to do that ?

const fingerprint = await plugin.fetch(mykey, { tags: ['iPhone', 'Safari'], });

Fingerprint error : Fingerprint with tags iPhone,Safari not found 0.

bablosoft commented 8 months ago

I can't reproduce the issue, do you have more filters?

dindamb commented 8 months ago

there is no filter, when i used : tags: ['Mobile', 'Chrome'] it's running well, but when i'm using another tags like ['iPhone', 'Safari'] it's show the error. i also try tags: ['Mobile, iPhone', 'Safari'] or ['iPhone', 'Chrome'] it's also error. any suggest to use tags for iphone ?

dindamb commented 8 months ago

i'm just using your sample code,

`const { plugin } = require('puppeteer-with-fingerprints'); const fpsKey = "myApiKey";

(async () => { // Get a fingerprint from the server:

// tags: ['Microsoft Windows', 'Chrome'], // Running well

const fingerprint = await plugin.fetch(fpsKey, { tags: ['iPhone', 'Chrome'], });

// Apply fingerprint: plugin.useFingerprint(fingerprint);

// Launch the browser instance: const browser = await plugin.launch({headless:false});

// The rest of the code is the same as for a standard puppeteer library: const page = await browser.newPage(); await page.goto('https://example.com');

// Print the browser viewport size: console.log( 'Viewport:', await page.evaluate(() => ({ deviceScaleFactor: window.devicePixelRatio, width: document.documentElement.clientWidth, height: document.documentElement.clientHeight, })) );

await page.waitForTimeout(20500); await browser.close(); })();`

Error Code : bablosoft-error

dindamb commented 8 months ago

I can't reproduce the issue, do you have more filters?

how to solve this problem, sir ?