Skip to content
Advertisement

Tag: ampersand

changing ampersands to %26

I am using Python-requests to pull data from a website. I am doing this currently : which gives me: https://someurl?query=&A=something&B=something This is all perfectly fine and great. However, the website doesn’t accept my API call. After some meddling around, I discovered that my target url is actually this: https://someurl?query=%26A=something%26B=something Hence my question : Is there a workaround for this problem?

Advertisement