For python3 I have used
from urllib.parse import urlparse
instead of from urlparse import parse_qsl, urlparse
and it works
recommended doc : https://docs.python.org/3/library/urllib.parse.html
For python3 I have used
from urllib.parse import urlparse
instead of from urlparse import parse_qsl, urlparse
and it works
recommended doc : https://docs.python.org/3/library/urllib.parse.html