revert: allow users to still use USER_AGENT

Removed from documentation, but older users can utilize
until fully removed in 4.0.0
This commit is contained in:
Jef LeCompte
2020-12-11 02:50:04 -05:00
parent 7bfcc81fdc
commit 3386e8f50d
5 changed files with 22 additions and 5 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ async function lookup(browser: Browser, store: Store) {
await page.setRequestInterception(true);
page.setDefaultNavigationTimeout(config.page.timeout);
await page.setUserAgent(await getRandomUserAgent(browser));
await page.setUserAgent(await getRandomUserAgent());
let adBlockRequestHandler: any;
let pageProxy;