0
我做了requests.get呼叫使用下列URL工作:Requests.get不能以&字符
https://api.datasource.com/apps/ios/ranking?countries=NL&categories=Overall > Kids > 5 & Under&device=ios&ranks=1000
我得到一個錯誤消息"categories" has an illegal value "Overall
這是由於在總體上&標誌>兒童> 5 &在
什麼是逃避這個角色的最佳方法?
[url中逃逸符號]的可能的複製(https://stackoverflow.com/questions/16622504/escaping-ampersand-in-url) – Gannon