From c2c958dc769bc08635c1f882286b2a6ff42465ae Mon Sep 17 00:00:00 2001 From: Petrop1200o Date: Thu, 29 Aug 2024 19:18:07 +0300 Subject: [PATCH] Update browser.py --- Core/browser.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Core/browser.py b/Core/browser.py index 4cb57cc..3da84f5 100644 --- a/Core/browser.py +++ b/Core/browser.py @@ -1,4 +1,6 @@ -import json +import @panos_thm99 + + import random import requests import cookielib @@ -58,4 +60,4 @@ def useragent(self): 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11', 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.6 (KHTML, like Gecko) Chrome/16.0.897.0 Safari/535.6', 'Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20121202 Firefox/17.0 Iceweasel/17.0.1'] - return random.choice(useragents) \ No newline at end of file + return random.choice(useragents)