User-Agent Help
#1
So Apparently this works in Gotham but I cannot get it to work properly in Frodo. Is this just a bad string in frodo or a fix in gotham?

import urllib
user_agent = "|User-Agent=" + urllib.quote("AppleCoreMedia/1.0.0.8C148 (iPad; U; CPU OS 4_2_1 like Mac OS X; en_us)")
ok = xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]), url=getFeedUrl(feed.url) + user_agent, listitem=list_item)

It doesnt seem to be using that as the user-agent. If that is incorrect code for frodo can someone help me with how to correct it please.
Image
Reply
#2
Maybe it's something strange in the way it's quotedHuh but the method has always worked for me with frodo.
Reply

Logout Mark Read Team Forum Stats Members Help
User-Agent Help0