diezo / Ensta

🔥 Fast & Reliable Python Package For Instagram API - 2024
https://bit.ly/ensta-discord
MIT License
371 stars 44 forks source link

any fiture? #29

Closed yekayee closed 11 months ago

yekayee commented 12 months ago

can post / comment or liking post?

yekayee commented 12 months ago

or update profile

diezo commented 11 months ago

to like/unlike individual posts:

from ensta import Host

host = Host(username, password)
post = host.post("https://www.instagram.com/p/CzeSdT8oZbA/")

post.like()
post.unlike()

or to fetch posts of specific username:

from ensta import Host

host = Host(username, password)
posts = host.posts("cristiano", 10)  # replace '10' with '0' if you want to fetch all posts

for post in posts:
    caption = post.caption_text
    like_count = post.like_count

    post.like()
    post.unlike()

to update profile:

from ensta import Host

host = Host(username, password)

host.change_bio("hello")
host.change_display_name("John Smith")
yekayee commented 11 months ago

can update username or avatar and post photo ?

diezo commented 11 months ago

to post photo:

from ensta import Host

host = Host(username, password)

host.upload_post(
    photo_path="Picture.jpg",
    caption="Travelling 🌆",
)

to upload reel:

from ensta import Host

host = Host(username, password)

host.upload_reel(
    video_path="Video.mp4",
    thumbnail_path="Thumbnail.jpg",
    caption="Enjoying the winter! ⛄"
)

I'm working on posting comments, updating username and profile picture.

yekayee commented 11 months ago

what about avatar? and change username

diezo commented 11 months ago

ensta is based on instagram's web api and as far as i know, avatar is only available on the mobile version. i'll still search if there's a workaround for that.

and i'm currently working on username & profile picture. you'll see the implementation very soon.

thanks

pafke2 commented 11 months ago

Hey, can we scrap all user's reels?

diezo commented 11 months ago

you can scrape all the posts of a user. the code is given in the readme file.

then, you can check the post type to check if it's a reel or picture.

HCWcoder commented 11 months ago

@diezo Man im glad i found you, i was a dev in instapy and im back now i would like to contribute and updating helping you

HCWcoder commented 11 months ago

Yes kindly guide me for the process or maybe we can have a quick meeting

On Thu, Nov 23, 2023, 12:31 PM Deepak Soni @.***> wrote:

Closed #29 https://github.com/diezo/Ensta/issues/29 as completed.

— Reply to this email directly, view it on GitHub https://github.com/diezo/Ensta/issues/29#event-11045800088, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJE5SXQ7YWRN4WMV23IYYDYF4QZXAVCNFSM6AAAAAA6WRQQMCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGA2DKOBQGAYDQOA . You are receiving this because you were mentioned.Message ID: @.***>

diezo commented 11 months ago

@HCWcoder great to hear that you are in. are you comfortable joining my workspace on slack? we'll have rest of the conversation there. https://diezosworkspace.slack.com/

HCWcoder commented 11 months ago

jean.pierre.s.waked@gmail.com doesn’t have an account on this workspace.

diezo commented 11 months ago

@HCWcoder i've added you to the workspace. please check if you've received the invitation.