Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanchobanano committed Sep 7, 2023
1 parent 4822f26 commit 611f4a1
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions extra/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,7 @@
username = "brd-customer-hl_93b5fa1a-zone-data_center"
password = "ask3gh8zga95"

proxies = {"http": f"http://{proxy}"}
auth = HTTPProxyAuth(username, password)
session = requests.session()
session.proxies = proxies
session.auth = auth

print(session.proxies)
print(session.auth)

try:
response = session.get("https://stackoverflow.com/questions/32986228/difference-between-using-requests-get-and-requests-session-get")
print(response.status_code)
except Exception as e:
print(str(e))
print("ERROR")
pass
#proxy = username = password = None
engine = Google(proxy = proxy, username = username, password = password, language = "ES")
#engine = Google(proxy = proxy, username = username, password = password, language = "ES")

results = engine.search("MSI GT77 Titan 12UGS-008 17.3 / Nvidia GeForce RTX 3070 Ti UHD Intel Core i9-12900HX 1.5GHz / 128GB RAM / 2TB SSD", pages = 1)
#results = engine.search("Huawei Matedock 2 Blanco", pages = 1)
print(results.titles())

0 comments on commit 611f4a1

Please sign in to comment.