diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8d73ed4..ac30a75 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -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 diff --git a/fut/__init__.py b/fut/__init__.py index 97df361..9d6e821 100644 --- a/fut/__init__.py +++ b/fut/__init__.py @@ -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' diff --git a/fut/config.py b/fut/config.py index 545d358..ec66c7b 100644 --- a/fut/config.py +++ b/fut/config.py @@ -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', @@ -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' diff --git a/fut/core.py b/fut/core.py index b61ef04..46934d9 100644 --- a/fut/core.py +++ b/fut/core.py @@ -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 ? diff --git a/setup.py b/setup.py index 6cafb87..cba7d8b 100755 --- a/setup.py +++ b/setup.py @@ -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'