Giter Site home page Giter Site logo

opengraphscraperlite's People

Contributors

jshemas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

opengraphscraperlite's Issues

Typescript: "no declaration file for module"

I'm trying to use this library in react. with typescript but I'm having a "no declaration file for module" error as attached in the image.

I tried to install @types/open-graph-scraper-lite but it doesn't exist.

Any solution for this?

Captura de Pantalla

How to set request mode to 'no-cors'?

I'm getting this error:

Access to fetch at 'https://www.udemy.com/course/vector-drawing-on-the-ipad-with-affinity-designer/' from origin 'http://localhost:5604' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

TypeError: undefined has no properties

Hi
I'm trying to use this library, but can't make it work. I installed it via npm, then had to add
exclude: new RegExp('node_modules/(?!(open-graph-scraper-lite|ky))') to webpack.config.js babel-loader (otherwise it reported a syntax error). With this configuration it compiles, however the request fails with this:

image

The affected line seems to be https://github.com/jshemas/openGraphScraperLite/blob/master/lib/utils.js#L26
I suspect this has something to do with how it's transpiled, but I don't know how to fix it.

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.