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

noob error im too tired cba honestly bb #3

Open
sleepytw opened this issue Aug 3, 2022 · 0 comments
Open

noob error im too tired cba honestly bb #3

sleepytw opened this issue Aug 3, 2022 · 0 comments

Comments

@sleepytw
Copy link
Owner

sleepytw commented Aug 3, 2022

"""
Traceback (most recent call last):
File "C:\Users-\Desktop\ChipBrowser\src\proxyScraper.py", line 10, in
parse()
File "C:\Users-\Desktop\ChipBrowser\src\proxyScraper.py", line 7, in parse
page=requests.get([_u for _u in r.choice(data['conns']) if not _u=="null" in data['conns']], headers=data['headers'][0]);
KeyError: 0

supposed to select a random url from a url list from the json file listed as long as the choice isnt 'null', & headers[0] from the header var
"""

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

1 participant