diff --git a/CHANGELOG.md b/CHANGELOG.md index 9faa56c0..2ba81af1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Change Log -## 1.5.2 (pending) +## 1.5.3 +- Web API: + * ``client.settings`` now includes ``user_agent`` which you should persist since ``rhx_gis`` is dependent on both the ``csrftoken`` (in cookie) and the client's ``user_agent`` + +## 1.5.2 - Web API: * Fix for new ``query_hash`` param and ``X-Instagram-GIS`` signed header requirement * You should now store the ``rhx_gis`` value returned by ``client.settings`` along with the cookie string diff --git a/instagram_web_api/client.py b/instagram_web_api/client.py index dfe7704f..96684974 100644 --- a/instagram_web_api/client.py +++ b/instagram_web_api/client.py @@ -171,6 +171,7 @@ def settings(self): 'cookie': self.opener.cookie_jar.dump(), 'created_ts': int(time.time()), 'rhx_gis': self.rhx_gis, + 'user_agent': self.user_agent, } @staticmethod