Skip to content Skip to sidebar Skip to footer

ValueError("unknown Url Type: %r" % Self.full_url)

I try to pass a string to a website which check if there is any curse words. I tried passing url to urlopen() and just like to document of urllib.request.urlopen(url, data), I tri

Solution 1:

Add the protocol part to the url.

Replace:

url = "www.wdylike.appspot.com/?q="

with:

url = "http://www.wdylike.appspot.com/?q="

Post a Comment for "ValueError("unknown Url Type: %r" % Self.full_url)"