Reputation: 3951
I have my url that looks like as follows:
http://me:me1234#@localhost:8080/
When I run urlparse on this url, instead of the netlocpath returning me:me1234#@localhost:8080 it only returns me:me1234.
from six.moves.urllib import parse
o=parse.urlparse('http://me:me1234#@localhost:8080/')
print o
ParseResult(scheme='http', netloc='me:me1234', path='', params='', query='', fragment='@localhost:8080/')
Any idea how why it is failing to parse #? I think this is a pretty standard url.
Upvotes: 0
Views: 71