I was trying to extract data using:
urlall = url+'/'+i+'.json'+'\\?'+'page='+str(page)
r = requests.get(urlall)
I got an error 400 Client Error: Invalid URI for url: the '\?' turned out to be '%5C?'
if I use:
urlall = url+'/'+i+'.json'+'?'+'page='+str(page)
Then I got another error: can only concatenate str (not "_io.TextIOWrapper") to str
How can I set '?' as a string and get only the '?' in the url instead of %5C?
str(i)instead ofi