Giter Club home page Giter Club logo

Comments (6)

aslafy-z avatar aslafy-z commented on June 26, 2024 3

This should be re-opened @Kikobeats, sorry for that.

from unavatar.

ahmadnassri avatar ahmadnassri commented on June 26, 2024 1

FYI, I recently learned about adding /?__a=1 to instagram URLs returns the _sharedData object as JSON ... that might help, and potentially bypass the block ... though I have not tested this myself in a hosted environment (local IPs are not blocked)

from unavatar.

ZTF666 avatar ZTF666 commented on June 26, 2024

/?__a=1

yeah i tried that too and it works , it gives access to the "profile_pic_url_hd" which can be returned and displayed as the result to fix the issue

from unavatar.

Kikobeats avatar Kikobeats commented on June 26, 2024

Essentially this is failing based on the same Twitter issue, see #121

from unavatar.

Gummibeer avatar Gummibeer commented on June 26, 2024

Instagram has blocked all profile pages for unauthenticated requests.
So even HTML scraping wouldn't work as you are redirected to /login.

from unavatar.

Kikobeats avatar Kikobeats commented on June 26, 2024

Now the Instagram implementation is using Microlink service for getting the Instagram markup (residential proxy + prerendering under the hood).

Unfortunately, since those actions represent a cost, you need to supply your Microlink Pro plan API key.

Details at https://unavatar.io/#instagram

I know this is not an ideal solution, but these days there is no way to get an Instagram avatar at scale with no cost, so at least people interested in this can get it without the pain of handle the infrastructure stuff on your side.

from unavatar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.