Releases: subzeroid/instagrapi
Releases · subzeroid/instagrapi
2.1.1
2.0.3
1.19.7
Link Sticker
Photo:
>>> from instagrapi import Client
>>> from instagrapi.types import StoryLink
>>> cl = Client(proxy='http://123.123.123.123:40007')
>>> cl.load_settings('/tmp/dump.json')
>>> cl.photo_upload_to_story("/tmp/tmpg133wsw2.mp4.jpg", "", links=[StoryLink(webUri="http://adw0rd.com")])
Video:
>>> from instagrapi import Client
>>> from instagrapi.types import StoryLink
>>> from instagrapi.story import StoryBuilder
>>> cl = Client(proxy='http://123.123.123.123:40007')
>>> cl.load_settings('/tmp/dump.json')
>>> link = StoryLink(webUri="http://adw0rd.com")
>>> buildout = StoryBuilder("/tmp/tmptsktx_j6.mp4", "Test").video(5, link=link.webUri)
Moviepy - Building video /tmp/tmpxf3x57e8.mp4.
Moviepy - Writing video /tmp/tmpxf3x57e8.mp4
Moviepy - Done !
Moviepy - video ready /tmp/tmpxf3x57e8.mp4
>>> cl.video_upload_to_story(buildout.path, "", stickers=buildout.stickers)
Analizing video file "/tmp/tmpxf3x57e8.mp4"
Generating thumbnail "/tmp/tmpxf3x57e8.mp4.jpg"...
Story(pk='2737326000305270904', id='2737326000305270904_29817608135', code='CX8736KovB4', ....
fix 2FA and reply to comment
1.15.20 No "response_to_comment" method [#365] Added replied_to_comment_id fo…
See Post
Highlights
Added HighlightMixin (highlight_info, highlight_pk_from_url, extract_highlight_v1), ClientHighlightTestCase and docs
Support TOTP 2FA
Added TOTP, TOTPMixin and TOTPTestCase
https://adw0rd.github.io/instagrapi/usage-guide/totp.html
New authorization
Support login_by_sessionid and Authorization header
Authorization header
Switched to a new authorization mechanism (from cookies to Authorization header)