From b7c2dc5551375dfd0cd32786b25b3e1c4e3232e1 Mon Sep 17 00:00:00 2001 From: "Mikhail Andreev (adw0rd)" Date: Fri, 14 Jan 2022 18:55:15 +0100 Subject: [PATCH] Return accessibility captions in get media functions [#529] Done --- instagrapi/types.py | 1 + requirements.txt | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/instagrapi/types.py b/instagrapi/types.py index 5c51c801..b0c83e42 100644 --- a/instagrapi/types.py +++ b/instagrapi/types.py @@ -109,6 +109,7 @@ class Media(BaseModel): like_count: int has_liked: Optional[bool] caption_text: str + accessibility_caption: Optional[str] usertags: List[Usertag] video_url: Optional[HttpUrl] # for Video and IGTV view_count: Optional[int] = 0 # for Video and IGTV diff --git a/requirements.txt b/requirements.txt index 170cf50a..293d6c9c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -requests<3.0,>=2.25.1 +requests==2.26.0 PySocks==1.7.1 pydantic==1.9.0 moviepy==1.0.3 diff --git a/setup.py b/setup.py index b58ebdf8..8abbde00 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ setup( name='instagrapi', - version='1.16.11', + version='1.16.12', author='Mikhail Andreev', author_email='x11org@gmail.com', license='MIT',