diezo / Ensta

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

Uploading error with external file path instead of local path #71

Closed mohaimenulislamshawon closed 6 months ago

mohaimenulislamshawon commented 7 months ago

I have tried to upload reels to Instagram with the file path of an external website video path. but didn't work, showing the errors. Is it only supporting local paths? or is there any way to upload via an external path?

diezo commented 7 months ago

only local path is supported. to make it work your way, you first have to download the video using python requests or any module you prefer and then upload the local file.

diezo commented 7 months ago

@ettoreleandrotognoli can we add this feature to ensta? the post upload and reel upload methods will detect if the given path is local or remote. and if it's a remote url, it'll auto download the media from the given url and continue to upload it.

ettoreleandrotognoli commented 7 months ago

I'll start doing a simple download But I think this issue can grown in the future, what about cache, auth, and proxy?