Giter Site home page Giter Site logo

Comments (6)

jankeesvw avatar jankeesvw commented on July 17, 2024

It breaks at this line: https://github.com/richardvenneman/instagrammer/blob/master/lib/instagrammer/post.rb#L61

from instagrammer.

richardvenneman avatar richardvenneman commented on July 17, 2024

Hi @jankeesvw, thanks for the report.

It seems Instagram, for reasons unknown, doesn't expose the post metadata as a JSON+LD object on all posts (https://www.instagram.com/p/BzFv6Z5oAUX/ in this case).

For users this is also the case and I support this case by checking for the existence of this metadata before scraping. It appears we're going to have to do the same for posts as well. Will work on this asap!

from instagrammer.

jankeesvw avatar jankeesvw commented on July 17, 2024

I can also make the patch if you want?

from instagrammer.

richardvenneman avatar richardvenneman commented on July 17, 2024

@jankeesvw Sure! I'd be happy to accept a pull request 😄

from instagrammer.

richardvenneman avatar richardvenneman commented on July 17, 2024

@jankeesvw I just released 0.2.1 which resolves this issue.

from instagrammer.

jankeesvw avatar jankeesvw commented on July 17, 2024

Thanks! ✨

from instagrammer.

Related Issues (4)

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.