Skip to content

Commit

Permalink
Change the user agent to bring back previous (working) netflix UI. Re…
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewleech committed Jun 21, 2015
1 parent b899baf commit b454eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.py
Expand Up @@ -132,7 +132,7 @@ def newSession():
s = requests.Session()
s.mount('https://', SSLAdapter())
s.headers.update({
'User-Agent': 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.6 Safari/537.36',
'User-Agent': 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20130331 Firefox/21.0',
})
return s
session = newSession()
Expand Down

0 comments on commit b454eea

Please sign in to comment.