anshulrgoyal / imdb-scrapper

This is small project it provide many good api for search ,scrapping ,trending
39 stars 32 forks source link

Support to get related movies in get total function #12

Closed anshulrgoyal closed 6 years ago

anshulrgoyal commented 6 years ago

Their is function to scrap movies details add support to get movies related to it can achieved by scrapping this a tag from the page just add the logic to scrap and take cheerio load as input https://www.imdb.com/title/tt6781982/ scrap this page

<a href="/title/tt3829266/?ref_=tt_rec_tti"
><img height="113" width="76" alt="The Predator" title="The Predator" src="https://m.media-amazon.com/images/G/01/imdb/images/nopicture/small/film-293970583._CB483525279_.png" class="loadlate hidden rec_poster_img" loadlate="https://m.media-amazon.com/images/M/MV5BMjM5MDk2NDIxMF5BMl5BanBnXkFtZTgwNjU5NDk3NTM@._V1_UY113_CR0,0,76,113_AL_.jpg" /> <br/>
</a> 
Gh05d commented 6 years ago

I cant find a getTotal function. Do you mean getFull?

anshulrgoyal commented 6 years ago

yes getfull

anshulrgoyal commented 6 years ago

should i assign the issue to @Gh05d

Gh05d commented 6 years ago

Sorry, I won't have time to work on it. It is open for somebody else to take it.

chandan1794 commented 6 years ago

Hi @anshulgoyal15, do you want a function which fetches similar movies?

anshulrgoyal commented 6 years ago

yes

chandan1794 commented 6 years ago

yes

I am on it, almost done too.