Skip to content

Commit

Permalink
Updated Spell Error
Browse files Browse the repository at this point in the history
  • Loading branch information
adityaa-codes committed Jul 15, 2022
1 parent f0375d8 commit a1b1aa2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/usage-guide/direct.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ DirectMessage(id=300775273512312312312321568, user_id=None, thread_id=3402823612
>>> video_path = cl.video_download(cl.media_pk_from_url('https://www.instagram.com/p/B3rFQPblq40/'))
>>> cl.direct_send_video(video_path, user_ids=[cl.user_id]) # or
>>> cl.direct_send_video(video_path, thread_ids=[thread.id])
Analizing video file "/.../adw0rd_2155839952940084788.mp4"
Analyzing video file "/.../adw0rd_2155839952940084788.mp4"
DirectMessage(id=300775489123123123123664, user_id=None, thread_id=34012312312312312398762, timestamp=datetime.datetime(2021, 9, 1, 14, 39, 56, 959454, tzinfo=datetime.timezone.utc), item_type=None, is_shh_mode=None, reactions=None, text=None, animated_media=None, media=None, media_share=None, reel_share=None, story_share=None, felix_share=None, clip=None, placeholder=None)

>>> cl.video_upload_to_direct(video_path, thread_ids=[thread.id])
Analizing video file "/.../adw0rd_2155839952940084788.mp4"
Analyzing video file "/.../adw0rd_2155839952940084788.mp4"
Generating thumbnail "/.../adw0rd_2155839952940084788.mp4.jpg"...
DirectMessage(id=3007123123123123664, user_id=None, thread_id=3401212312312312398762, timestamp=datetime.datetime(2021, 9, 1, 14, 39, 56, 959454, tzinfo=datetime.timezone.utc), item_type=None, is_shh_mode=None, reactions=None, text=None, animated_media=None, media=None, media_share=None, reel_share=None, story_share=None, felix_share=None, clip=None, placeholder=None)

Expand Down
2 changes: 1 addition & 1 deletion instagrapi/mixins/clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def analyze_video(path: Path, thumbnail: Path = None) -> tuple:
except ImportError:
raise Exception("Please install moviepy>=1.0.3 and retry")

print(f'Analizing CLIP file "{path}"')
print(f'Analyzing CLIP file "{path}"')
video = mp.VideoFileClip(str(path))
width, height = video.size
if not thumbnail:
Expand Down
2 changes: 1 addition & 1 deletion instagrapi/mixins/igtv.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def analyze_video(path: Path, thumbnail: Path = None) -> tuple:
except ImportError:
raise Exception("Please install moviepy>=1.0.3 and retry")

print(f'Analizing IGTV file "{path}"')
print(f'Analyzing IGTV file "{path}"')
video = mp.VideoFileClip(str(path))
width, height = video.size
if not thumbnail:
Expand Down
2 changes: 1 addition & 1 deletion instagrapi/mixins/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ def analyze_video(path: Path, thumbnail: Path = None) -> tuple:
except ImportError:
raise Exception("Please install moviepy>=1.0.3 and retry")

print(f'Analizing video file "{path}"')
print(f'Analyzing video file "{path}"')
video = mp.VideoFileClip(str(path))
width, height = video.size
if not thumbnail:
Expand Down

0 comments on commit a1b1aa2

Please sign in to comment.