instauto
instauto copied to clipboard
Implement a method for uploading videos
Hi, @stanvanrooy ) Do you plan to implement video uploading?
Will be next up on the to-do list. That means it should be published to PyPI in 1-2 days.
Working on it :) If you watch this issue, you'll be notified as soon as it's published.
Sorry for the delay. I have a working version now, for videos of a small size. I'm still working on uploading longer/larger videos in phases.
Sorry for the delay. I have a working version now, for videos of a small size. I'm still working on uploading longer/larger videos in phases.
thx for this update do you have an example code for posting a video? and can you tell more about the small size? what are the limits...
The method I had already implemented will be deprecated by ig, so I'll discard that work.
I've started work on segmented video uploads, should be ready soon.
Using it will be the same as the other methods.
Possibly, but the flow for uploading a video in segments is pretty simple, but for some reason, ig doesn't accept the first request to the /media/rupload_igvideo/{uuid4}?segmented=true&phase=start
endpoint.
It always returns a 404. I'll push my code and the requests that need to be sent to a branch tonight.
Well, I found out what triggered the 404... the upload url is https://i.instagram.com/rupload_igvideo/
and not https://i.instagram.com/api/v1/rupload_igvideo/
:)
Well, I found out what triggered the 404... the upload url is
https://i.instagram.com/rupload_igvideo/
and nothttps://i.instagram.com/api/v1/rupload_igvideo/
:)
Awesome man, why are you starting a new codebase when you have ping/instagram_private_api?
I did implement one of your methods to upload images there that has been deprecated, and it works. You could tweak that client and have tons of functionalities like post search and a lot more already done.
any update ?
@stanvanrooy hi, is there any good news? any update ?
I left my bag, with my laptop, in the bus, so all of my progress is pretty much gone. I'm currently really busy, so I don't have much time anymore to spend on this project.
Once it is finally implemented, I'll let you all know in this issue :) Thanks.
Little update on this. I've did a bit more work on it this evening (https://github.com/stanvanrooy/instauto/tree/60UploadVideos) and made quite a bit of progress.
Uploading the video is currently working, I just need to finish the configuring of the video. I'll try to spend a little bit more time on it this week.
Little update on this. I've did a bit more work on it this evening (https://github.com/stanvanrooy/instauto/tree/60UploadVideos) and made quite a bit of progress.
Uploading the video is currently working, I just need to finish the configuring of the video. I'll try to spend a little bit more time on it this week.
Are you going to merge this feature with main/master at some point?
Thanks!