为 Twitter 编码一些编程 url,但由于某种原因,我的 url 给了我 500 个错误。
任何人都可以注意到这有什么问题吗?我正在尝试查看是否有任何我没有注意到或产生此错误的内容。
这是代码:
response = urllib2.urlopen("http://search.twitter.com/search.json?q=" + urlinfo + "&rpp=1&page=1")
这是最终的输出:
http://search.twitter.com/search.json?q=feel%2BOR%2Bi+feel%2BOR%2Bim+feeling%2BOR%2Bi%27m+feeling%2BOR%2Bi+am+feeling%2BOR%2Bi+dont+feel%2BOR%2Bi%27m%2BOR%2Bi+am%2BOR%2Bim%2BOR%2Bmakes+me%2BOR%2Bmakes+me+feel%2BOR%2Bmade+me%2BOR%2Bmade+me+feel%2BOR%2Bmaking+me%2BOR%2Bmaking+me+feel%2BOR%2Bmy+mood%2BOR%2Bi%27m+so%2BOR%2Bim+so%2BOR%2Bi+don%27t+feel&rpp=1&page=1