Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

fake-useragent error #16

@ytoaa

Description

@ytoaa

Error occurred during loading data. Trying to use cache server https://fake-useragent.herokuapp.com/browsers/0.1.11
Traceback (most recent call last):
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\site-packages\fake_useragent\utils.py", line 154, in load
for item in get_browsers(verify_ssl=verify_ssl):
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\site-packages\fake_useragent\utils.py", line 99, in get_browsers
html = html.split('

')[1]
IndexError: list index out of range
Traceback (most recent call last):
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\site-packages\fake_useragent\utils.py", line 154, in load
for item in get_browsers(verify_ssl=verify_ssl):
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\site-packages\fake_useragent\utils.py", line 99, in get_browsers
html = html.split('
')[1]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\site-packages\fake_useragent\utils.py", line 64, in get
with contextlib.closing(urlopen(
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 525, in open
response = meth(req, response)
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 634, in http_response
response = self.parent.error(
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 563, in error
return self._call_chain(*args)
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 496, in _call_chain
result = func(*args)
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\urllib\request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:\Down\Hyacinth-main\main.py", line 13, in
window = qtmodern.windows.ModernWindow(Window())
File "E:\Down\Hyacinth-main\window.py", line 57, in init
self.add_default_targets()
File "E:\Down\Hyacinth-main\window.py", line 135, in add_default_targets
self.add_target(gallery_title)
File "E:\Down\Hyacinth-main\window.py", line 168, in add_target
sweeper = DCSweeper(self, gallery_id, gallery_title)
File "E:\Down\Hyacinth-main\sweeper.py", line 20, in init
self.ua = UserAgent()
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\site-packages\fake_useragent\fake.py", line 69, in init
self.load()
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\site-packages\fake_useragent\fake.py", line 75, in load
self.data = load_cached(
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\site-packages\fake_useragent\utils.py", line 250, in load_cached
update(path, use_cache_server=use_cache_server, verify_ssl=verify_ssl)
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\site-packages\fake_useragent\utils.py", line 245, in update
write(path, load(use_cache_server=use_cache_server, verify_ssl=verify_ssl))
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\site-packages\fake_useragent\utils.py", line 187, in load
ret = json.loads(get(
File "C:\Users\nawor\AppData\Local\Programs\Python\Python310\lib\site-packages\fake_useragent\utils.py", line 84, in get
raise FakeUserAgentError('Maximum amount of retries reached')
fake_useragent.errors.FakeUserAgentError: Maximum amount of retries reached

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions