Skip to content

Instantly share code, notes, and snippets.

@juliankoehn
Last active October 23, 2015 00:50
Show Gist options
  • Save juliankoehn/7175a2171289065dc9f6 to your computer and use it in GitHub Desktop.
Save juliankoehn/7175a2171289065dc9f6 to your computer and use it in GitHub Desktop.
User Agent
# chrome 45 @ win10
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
'Accept-Encoding': 'gzip,deflate,sdch',
'Accept-Language': 'en-US,en;q=0.8',
# 'Accept-Charset': 'utf-8, iso-8859-1, utf-16, *;q=0.1',
'Connection': 'keep-alive',
# 'Keep-Alive': '300',
'DNT': '1',
}
# android 4.2 @ nexus
headers_and = {
'User-Agent': 'Mozilla/5.0 (Linux; U; Android 4.2; en-us; Nexus 10 Build/JVP15I) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'Accept-Encoding': 'gzip,deflate',
'Accept-Language': 'en-US',
'Accept-Charset': 'utf-8, iso-8859-1, utf-16, *;q=0.7',
'Connection': 'keep-alive',
# 'Keep-Alive': '300',
# 'DNT': '1',
'X-Requested-With': 'com.ea.fifaultimate_row', # ultimate app identifier?
}
# safari 7 (ios phone)
headers_ios = {
'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'Accept-Encoding': 'gzip,deflate',
'Accept-Language': 'en-US',
'Accept-Charset': 'utf-8, iso-8859-1, utf-16, *;q=0.7',
'Connection': 'keep-alive',
# 'Keep-Alive': '300',
# 'DNT': '1',
# 'X-Requested-With': 'com.ea.fifaultimate_row', # ultimate app identifier?
}
flash_agent = 'ShockwaveFlash/19.0.0.207'
cookies_file = 'cookies.txt'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment