Git Product home page Git Product logo

Comments (15)

oo11o avatar oo11o commented on June 30, 2024

Fixed. Similars movie of tt0064624 (https://www.imdb.com/title/tt14478264) doesn't have movie time.

from imdber.

daomengRen avatar daomengRen commented on June 30, 2024

(https://www.imdb.com/title/tt0064624/) this movie

from imdber.

oo11o avatar oo11o commented on June 30, 2024

(https://www.imdb.com/title/tt0064624/) this movie

Yes. This movie (https://www.imdb.com/title/tt0064624/) has a similar movie (https://www.imdb.com/title/tt14478264) which caused the error because doesn't have movie time

from imdber.

daomengRen avatar daomengRen commented on June 30, 2024

can that fix the situation

from imdber.

daomengRen avatar daomengRen commented on June 30, 2024

If the situation with similar movies is more complicated, can it be configured to ignore these similar movies

from imdber.

oo11o avatar oo11o commented on June 30, 2024

If the situation with similar movies is more complicated, can it be configured to ignore these similar movies

I fixed. Try update package
{ id: 'tt0064624', title: 'Maid in Sweden', description: "Schoolgirl Inga goes to visit her sister in Stockholm and is shocked to find her living with her boyfriend, Casten. She succumbs to Casten's charms, and after having broken up her sister's love affair, returns home to her parents.", year: 1971, image: 'https://m.media-amazon.com/images/M/MV5BNjMwYTAwM2UtMzRkNy00MzllLTg5OTMtNTExZjMwNzc0ZmQwXkEyXkFqcGdeQXVyMTQxNzMzNDI@._V1_.jpg', time: 4800, rating: { imdb: 4.3, vote: 1363, metacritic: undefined }, genres: [ 'Drama' ], countries: [ { id: 'SE', text: 'Sweden' }, { id: 'US', text: 'United States' } ], actors: [

from imdber.

daomengRen avatar daomengRen commented on June 30, 2024

thanks

from imdber.

oo11o avatar oo11o commented on June 30, 2024

If the situation with similar movies is more complicated, can it be configured to ignore these similar movies

This is a greater idea about configuration. I think that I will do it. A similar situation is ignored now.

from imdber.

daomengRen avatar daomengRen commented on June 30, 2024

ok,got it

from imdber.

daomengRen avatar daomengRen commented on June 30, 2024

如果类似电影的情况比较复杂,是否可以配置忽略这些类似电影

这是关于配置的一个更好的想法。我想我会做到的。类似的情况现在被忽略了。

I suddenly thought, if I can configure the output items, whether I can reduce the time to get the data, at present, it takes a long time for me to get the data once, I want to reduce the time appropriately, I don't know how to do it

from imdber.

oo11o avatar oo11o commented on June 30, 2024

The time depends on many factors, especially the IMDb site. The beginning goes to connect to IMDb, like in a browser, wait for a response, and return the data.

For instant speed, need to develop and deploy Rest API, this will reduce the response speed many times.

I thought to deploy such a service. But if you need it now, you can find similar REST API

from imdber.

daomengRen avatar daomengRen commented on June 30, 2024

So can I configure the output item?

from imdber.

oo11o avatar oo11o commented on June 30, 2024

So can I configure the output item?

Not at the moment. I need a lot of free time for this, which I don't have right now

from imdber.

daomengRen avatar daomengRen commented on June 30, 2024

ok,i look forward to

from imdber.

oo11o avatar oo11o commented on June 30, 2024

So can I configure the output item?

Perhaps the following methods will help you

imdb.getTitle() - string | return title of movie
imdb.getYear() - string |return year of movie
imdb.getDescription() - string | return description of movie
imdb.getGenres() - array | return genres of movie

from imdber.

Related Issues (3)

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.