ashok2216 commited on
Commit
39338e3
·
verified ·
1 Parent(s): 17899fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -14,6 +14,7 @@ proxy_pool = cycle(proxy_list)
14
 
15
  for i in range(10):
16
  proxy = next(proxy_pool)
 
17
  response = requests.get(url, proxies={"http": proxy, "https": proxy}, headers=headers)
18
  print(response.status_code)
19
  time.sleep(2) # Wait for 2 seconds between requests
 
14
 
15
  for i in range(10):
16
  proxy = next(proxy_pool)
17
+ url = "https://www.amazon.in/Dell-Inspiron-i7-1255U-Processor-Platinum/product-reviews/B0C9F142V6/ref=cm_cr_dp_d_show_all_btm?ie=UTF8&revie"
18
  response = requests.get(url, proxies={"http": proxy, "https": proxy}, headers=headers)
19
  print(response.status_code)
20
  time.sleep(2) # Wait for 2 seconds between requests