From f6254b09ba81c2892e367243f55dc4500fffe448 Mon Sep 17 00:00:00 2001 From: piair Date: Mon, 28 Mar 2022 18:31:55 +0200 Subject: [PATCH] hardware issue ? --- V4.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/V4.py b/V4.py index 6e93a9b..cc01919 100755 --- a/V4.py +++ b/V4.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/python3.10 import asyncio import configparser import os @@ -86,10 +86,10 @@ def FirefoxMobile(Headless = Headless): def FirefoxPC(Headless = Headless): - #PC_USER_AGENT = ('Mozilla/5.0 (Windows NT 10.0; Win64; x64) ' - # 'AppleWebKit/537.36 (KHTML, like Gecko) ' - # 'Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134') - #options.set_preference("general.useragent.override", PC_USER_AGENT) + PC_USER_AGENT = ('Mozilla/5.0 (Windows NT 10.0; Win64; x64) ' + 'AppleWebKit/537.36 (KHTML, like Gecko) ' + 'Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134') + options.set_preference("general.useragent.override", PC_USER_AGENT) options = Options() options.set_preference("browser.link.open_newwindow", 3)