http_request_randomizer.requests.errors.ProxyListException.ProxyListException: list is empty

\virt\lib\site-packages\http_request_randomizer\requests\proxy\requestProxy.py",
line 86, in randomize_proxy
raise ProxyListException("list is empty")
http_request_randomizer.requests.errors.ProxyListException.ProxyListException: list is empty

Я все никак не могу понять в чем проблема?

Установил:

  • http_request_randomizer версия 1.3.2
  • Python версия 3.9.1

пытаюсь просто проверить используя обычный метод

REQ_PROXY = RequestProxy() 

выдает ошибку что лист пустой.

Кто сталкивался с такой проблемой помогите понять.

Сам файл requestProxy.py пытался менять, но не получилось решить проблему.

  • 2022-12-17 11:09:15,187 http_request_randomizer.requests.useragent.userAgent INFO Using local file for user agents: C:\Users\User\Documents\Project\smp\virt\lib\site-packages\http_request_randomizer\requests\proxy../data/user_agents.txt
  • 2022-12-17 11:09:15,188 root DEBUG === Initialized Proxy Parsers ===
  • 2022-12-17 11:09:15,188 root DEBUG FreeProxy parser of 'http://free-proxy-list.net' with required bandwidth: '150' KBs
  • 2022-12-17 11:09:15,188 root DEBUG PremProxy parser of 'https://premproxy.com/list/' with required bandwidth: '150' KBs
  • 2022-12-17 11:09:15,192 root DEBUG SslProxy parser of 'https://www.sslproxies.org' with required bandwidth: '150' KBs
  • 2022-12-17 11:09:15,192 root DEBUG =================================
  • 2022-12-17 11:09:16,286 http_request_randomizer.requests.parsers.FreeProxyParser ERROR Provider FreeProxy failed with Attribute error: 'NoneType' object has no attribute 'find'
  • 2022-12-17 11:09:16,287 root DEBUG Added 0 proxies from FreeProxy
  • 2022-12-17 11:09:17,185 http_request_randomizer.requests.parsers.PremProxyParser WARNING Proxy Provider url failed: https://premproxy.com/list/
  • 2022-12-17 11:09:17,186 http_request_randomizer.requests.parsers.PremProxyParser DEBUG Pages: set()
  • 2022-12-17 11:09:17,874 http_request_randomizer.requests.parsers.PremProxyParser WARNING Proxy Provider url failed: https://premproxy.com/list/
  • 2022-12-17 11:09:17,875 root DEBUG Added 0 proxies from PremProxy
  • 2022-12-17 11:09:19,121 http_request_randomizer.requests.parsers.SslProxyParser ERROR Provider SslProxy failed with Attribute error: 'NoneType' object has no attribute 'find'
  • 2022-12-17 11:09:19,121 root DEBUG Added 0 proxies from SslProxy
  • 2022-12-17 11:09:19,123 root DEBUG Total proxies = 0
  • 2022-12-17 11:09:19,126 root DEBUG Filtered proxies = 0
  • Traceback (most recent call last):
  • File "C:\Users\User\Documents\Project\smp\smp\main_parsing.py", line 74, in REQ_PROXY = RequestProxy()
  • File "C:\Users\User\Documents\Project\smp\virt\lib\site-packages\http_request_randomizer\requests\proxy\requestProxy.py", line 69, in init self.current_proxy = self.randomize_proxy()
  • File "C:\Users\User\Documents\Project\smp\virt\lib\site-packages\http_request_randomizer\requests\proxy\requestProxy.py", line 86, in randomize_proxy raise ProxyListException("list is empty") http_request_randomizer.requests.errors.ProxyListException.ProxyListException: list is empty

Ответы (0 шт):