Created
August 19, 2021 18:45
-
-
Save elmissouri16/1ee6246ecc81f661c9e5e8df8e0dbd60 to your computer and use it in GitHub Desktop.
for set_device error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from instagrapi import Client | |
device = {'android_version': '29', | |
'android_release': '10.0', | |
'dpi': '420dpi', | |
'resolution': '1080x2340', | |
'manufacturer': 'OnePlus', | |
'device': 'GM1903', | |
'model': 'OnePlus7', | |
'cpu': 'qcom', | |
'app_version': '194.0.0.36.172', | |
'version_code': '301484483'} | |
client = Client() | |
client.set_device(device) | |
client.login('USERNAME', 'PASSWORD') | |
print(client.device_settings) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment