Giter Site home page Giter Site logo

Comments (4)

guptaanmol184 avatar guptaanmol184 commented on May 17, 2024 1

Hi @paperboi , Sure, I can check out the issue further in the weekend and get back.

I do want to add that I had only tested with firefox, for that is the main browser that I use, and the fix did seem to resolve the issue for me. If there are any specific details on how you are testing, can you please share them as might provide more information on the steps to reproduce and the cases I might be missing to check ?

from kindle2notion.

paperboi avatar paperboi commented on May 17, 2024 1

Hi @paperboi , Sure, I can check out the issue further in the weekend and get back.

I do want to add that I had only tested with firefox, for that is the main browser that I use, and the fix did seem to resolve the issue for me. If there are any specific details on how you are testing, can you please share them as might provide more information on the steps to reproduce and the cases I might be missing to check ?

Got it working finally! Had to make some considerations in the code to fetch from any response JSON objects with an imageLinks property than just the first responses'. Books with multiple editions may have missing covers or multiple covers and the current code would only check whether the first response JSON object would have a thumbnail. Wrote a for loop to go through all possible results and fetch the first one with a thumbnail listed.

Implemented the solution in the latest release. Thanks for contributing to the repo!

from kindle2notion.

guptaanmol184 avatar guptaanmol184 commented on May 17, 2024 1

Glad to hear that, that's definately a better approach to handle adding missing book covers. Cheers!

from kindle2notion.

paperboi avatar paperboi commented on May 17, 2024

For some reason, this keeps happening on Firefox. Your solution worked for Chrome and Microsoft Edge (I assume it must be the same for all other Chromium browsers).

Wonder what could be the reason behind this. Thanks for your contribution tho @guptaanmol184. Can you please look into this too?

from kindle2notion.

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.