Google API Update (1.5.1) (#247)

* switch to google internal api

* A bit of tidying up

* A bit more of tidying up

* A bit more of tidying up

* Pre 1.5.1

- Add proxy exclusions
- Update ReadMe
- Update config Interface

---------

Co-authored-by: TheNetsky <56271887+TheNetsky@users.noreply.github.com>
This commit is contained in:
AariaX
2025-02-24 21:49:19 +07:00
committed by GitHub
parent 82a896e83f
commit 1102f2ca94
6 changed files with 98 additions and 64 deletions

View File

@@ -5,14 +5,15 @@ export interface Config {
parallel: boolean;
runOnZeroPoints: boolean;
clusters: number;
workers: Workers;
saveFingerprint: ConfigSaveFingerprint;
workers: ConfigWorkers;
searchOnBingLocalQueries: boolean;
globalTimeout: number | string;
searchSettings: SearchSettings;
webhook: Webhook;
searchSettings: ConfigSearchSettings;
logExcludeFunc: string[];
webhooklogExcludeFunc: string[];
saveFingerprint: ConfigSaveFingerprint;
webhookLogExcludeFunc: string[];
proxy: ConfigProxy;
webhook: ConfigWebhook;
}
export interface ConfigSaveFingerprint {
@@ -20,25 +21,30 @@ export interface ConfigSaveFingerprint {
desktop: boolean;
}
export interface SearchSettings {
export interface ConfigSearchSettings {
useGeoLocaleQueries: boolean;
scrollRandomResults: boolean;
clickRandomResults: boolean;
searchDelay: SearchDelay;
searchDelay: ConfigSearchDelay;
retryMobileSearchAmount: number;
}
export interface SearchDelay {
export interface ConfigSearchDelay {
min: number | string;
max: number | string;
}
export interface Webhook {
export interface ConfigWebhook {
enabled: boolean;
url: string;
}
export interface Workers {
export interface ConfigProxy {
proxyGoogleTrends: boolean;
proxyBingTerms: boolean;
}
export interface ConfigWorkers {
doDailySet: boolean;
doMorePromotions: boolean;
doPunchCards: boolean;