We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The netloc contain port and user:password prefix of the url.
For example:
parse_domain('ftp://user:[email protected]:1234') will return 'user:[email protected]:1234'.
Is getattr(parsed,'hostname',url) better?
getattr(parsed,'hostname',url)
The text was updated successfully, but these errors were encountered:
fix lsemel#2: replace 'netloc' to 'hostname'
27eafb4
No branches or pull requests
The netloc contain port and user:password prefix of the url.
For example:
Is
getattr(parsed,'hostname',url)
better?The text was updated successfully, but these errors were encountered: