subzeroid / instagrapi-rest

RESTful API Wrapper for Instagram Private API
https://hikerapi.com/p/ygXxF38v
MIT License
499 stars 128 forks source link

Admit localhost or another docker container in ...upload/by_url #37

Closed FranciscoDadone closed 2 years ago

FranciscoDadone commented 2 years ago

This is to solve a bug when passing to the api a local url. (See this issue https://github.com/tiangolo/fastapi/issues/2560)

Example urls: http://localhost/public/... or http://docker-container:port/public/...

Message from fast-api: "msg": "URL host invalid, top level domain required"

FranciscoDadone commented 2 years ago

Ignore this commit, (it was just for testing): https://github.com/adw0rd/instagrapi-rest/pull/37/commits/c476b9cf7c626e9d020933261a979e486f3d055a