opened
itranga
username_0
I tried to scrape http://www.nbcnews.com/health/health-news/brain-study-helps-explain-some-veterans-agony-n589916 .Then i got the below issue.

404 Client Error: Not Found for url: http://www.nbcnews.com/health/health-news/brain-study-helps-explain-some-veterans-agony-n589916%20
Scrape  issue 
issue
created
Lukasa
username_1
You left a space at the end of your URL. You need to remove it: requests will not automatically do that for you.
comment
closed
Lukasa
username_1
issue
created
itranga
username_0
Thanks for your reply. But i did't add any spaces to the url, i also saw that '%20' end of the url. how is it happened?
comment
created
Lukasa
username_1
That %20 is the urlencoding for a space, which is how I determined what happened. Where did your URL come from?
comment
created
sigmavirus24
username_2
This discussion belongs on [StackOverflow](https://stackoverflow.com/questions/tagged/python-requests).
comment