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

ValueError: Invalid IPv6 URL #31

Closed
JustReadingSome opened this issue Jan 9, 2023 · 3 comments
Closed

ValueError: Invalid IPv6 URL #31

JustReadingSome opened this issue Jan 9, 2023 · 3 comments

Comments

@JustReadingSome
Copy link

cat all_urls.txt | uro

Traceback (most recent call last):
File "/usr/local/bin/uro", line 11, in
load_entry_point('uro==0.0.4', 'console_scripts', 'uro')()
File "/usr/local/lib/python3.10/dist-packages/uro-0.0.4-py3.10.egg/uro/uro.py", line 124, in main
File "/usr/lib/python3.10/urllib/parse.py", line 392, in urlparse
splitresult = urlsplit(url, scheme, allow_fragments)
File "/usr/lib/python3.10/urllib/parse.py", line 483, in urlsplit
raise ValueError("Invalid IPv6 URL")
ValueError: Invalid IPv6 URL

@JustReadingSome
Copy link
Author

Hello, I don't know why I get this error. I also tried to install uro with different version of python but that didn't work.

@JustReadingSome
Copy link
Author

The problem was because of "\x1b[0m" characters at the end of URLs. So if anybody had this problem you can handle it with python and remove "\x1b[0m" from URLs.

@s0md3v
Copy link
Owner

s0md3v commented Jan 24, 2023

This has nothing to do with uro, your input is malformed.

@s0md3v s0md3v closed this as completed Jan 24, 2023
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