CheshireCaat / playwright-with-fingerprints

Anonymous automation via playwright with fingerprint replacement technology.
MIT License
124 stars 8 forks source link

Service #18

Closed ATISI7 closed 1 year ago

ATISI7 commented 1 year ago

I need to download as many fingerprints as possible from your database for a thesis project, using the free version I should be able to download one every 3 minutes, however, after downloading one for the first time I always get the following message (despite the 3 minutes having passed):

"{\"valid\":false,\"message\":\"Key is empty\"}"

The code used is the following:

import { plugin } from 'playwright-with-fingerprints'; import * as fs from 'node:fs/promises';

plugin.version = 'default'; let i = 0; const fp = [];

(async () => { while( i < 3){ // Get a fingerprint from the server: const fingerprint = await plugin.fetch("",{});
fp.push(fingerprint);

    await fs.appendFile('downloadedFingerprintPROVA.json',JSON.stringify(fp[i]));

    i++;

    await waitThreeMinutes();
}

})();

function waitThreeMinutes() { return new Promise((resolve) => { setTimeout(() => { resolve(); }, 3 60 1000); // 3 minuti in millisecondi (1 minuto = 60 secondi, 1 secondo = 1000 millisecondi) }); }

bablosoft commented 1 year ago

please use following tags with free version ['Microsoft Windows', 'Chrome']

ATISI7 commented 1 year ago

Thank you, can i use only this two tags in the free version?

bablosoft commented 1 year ago

yes