Skip to content

Commit

Permalink
v0.1.9 bump client version & user-agent & flash
Browse files Browse the repository at this point in the history
  • Loading branch information
oczkers committed Dec 11, 2015
1 parent 3eb99b6 commit f3b885a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Changelog
---------


0.1.9 (2015-12-11)
++++++++++++++++++
* bump client version for and/ios
* bump user-agent * flash version

0.1.8 (2015-12-09)
++++++++++++++++++
* core: fix #172, fix #176 crash when skuAccessList is empty
Expand Down
2 changes: 1 addition & 1 deletion fut/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"""

__title__ = 'fut'
__version__ = '0.1.8'
__version__ = '0.1.9'
__author__ = 'Piotr Staroszczyk'
__author_email__ = 'piotr.staroszczyk@get24.org'
__license__ = 'GNU GPL v3'
Expand Down
4 changes: 2 additions & 2 deletions fut/config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# chrome 46 @ win10
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 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',
Expand Down Expand Up @@ -36,6 +36,6 @@
# 'X-Requested-With': 'com.ea.fifaultimate_row', # ultimate app identifier?
}

flash_agent = 'ShockwaveFlash/19.0.0.226'
flash_agent = 'ShockwaveFlash/20.0.0.235'

cookies_file = 'cookies.txt'
4 changes: 2 additions & 2 deletions fut/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ def __login__(self, email, passwd, secret_answer, platform='pc', code=None, emul
# emulate
if emulate == 'ios':
sku = 'FUT16IOS'
clientVersion = 15
clientVersion = 17
elif emulate == 'and':
sku = 'FUT16AND'
clientVersion = 15
clientVersion = 17
# TODO: need more info about log in procedure in game
# elif emulate == 'xbox':
# sku = 'FFA16XBX' # FFA14CAP ?
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


__title__ = 'fut'
__version__ = '0.1.8'
__version__ = '0.1.9'
__author__ = 'Piotr Staroszczyk'
__author_email__ = 'piotr.staroszczyk@get24.org'
__license__ = 'GNU GPL v3'
Expand Down

0 comments on commit f3b885a

Please sign in to comment.