Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1st option is not working properly #11

Open
Yfgig opened this issue Oct 26, 2023 · 1 comment
Open

1st option is not working properly #11

Yfgig opened this issue Oct 26, 2023 · 1 comment

Comments

@Yfgig
Copy link

Yfgig commented Oct 26, 2023

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 "/data/data/com.termux/files/usr/lib/python3.11/site-packages/fake_useragent/utils.py", line 154, in load
for item in get_browsers(verify_ssl=verify_ssl):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/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 "/data/data/com.termux/files/usr/lib/python3.11/site-packages/fake_useragent/utils.py", line 154, in load
for item in get_browsers(verify_ssl=verify_ssl): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/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 "/data/data/com.termux/files/usr/lib/python3.11/site-packages/fake_useragent/utils.py", line 64, in get with contextlib.closing(urlopen(
^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/urllib/request.py", line 216, in urlopen return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/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 "/data/data/com.termux/files/home/Xteam/Ig_information_gathering/Core_files/Ig_information_gathering.py", line 20, in
'user-agent' : UserAgent().random
^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/fake_useragent/fake.py", line 69, in init
self.load()
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/fake_useragent/fake.py", line 75, in load
self.data = load_cached(
^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/fake_useragent/utils.py", line 250, in load_cached
update(path, use_cache_server=use_cache_server, verify_ssl=verify_ssl)
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/fake_useragent/utils.py", line 245, in update
write(path, load(use_cache_server=use_cache_server, verify_ssl=verify_ssl))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/fake_useragent/utils.py", line 187, in load
ret = json.loads(get(
^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/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

@Mu7ul
Copy link

Mu7ul commented Nov 1, 2023

Yeah bro same happening here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants