search-engine-parser icon indicating copy to clipboard operation
search-engine-parser copied to clipboard

list index out of range

Open dadashzadeh opened this issue 3 years ago • 2 comments

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:\Program Files\Python39\lib\site-packages\fake_useragent\utils.py", line 154, in load for item in get_browsers(verify_ssl=verify_ssl): File "C:\Program Files\Python39\lib\site-packages\fake_useragent\utils.py", line 99, in get_browsers html = html.split('

')[1] IndexError: list index out of range <search_engine_parser.core.base.SearchResult at 0x1f402d77ac0>

dadashzadeh avatar May 05 '22 11:05 dadashzadeh

I get the same error from time to time.

Alexell avatar Oct 20 '22 04:10 Alexell

upgrade fake-useragent version to 0.1.13 worked for me.

pip3 install fake-useragent==0.1.13

moewiee avatar Dec 02 '22 04:12 moewiee