I have got a url in this form - http:\\/\\/en.wikipedia.org\\/wiki\\/The_Truman_Show
. How can I make it normal url. I have tried using urllib.unquote
without much success.
I can always use regular expressions or some simple string replace stuff. But I believe that there is a better way to handle this...
urllib.unquote
is for replacing %xx
escape codes in URLs with the characters they represent. It won't be useful for this.
Your "simple string replace stuff" is probably the best solution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With