autodl-community / autodl-irssi

A community-driven fork of autodl-irssi
https://autodl-community.github.io/autodl-irssi/
373 stars 73 forks source link

Add IMDB or TVDB/TMDB Lookup #32

Closed ghost closed 6 years ago

ghost commented 11 years ago

It would be beneficial to only autodl good movies, and not bad ones

Flexget's imdb plugin implementation is great since it includes genre, vote counts, and votes.

This is low on the list of todo, but I wanted to write ideas down.

thebigmunch commented 11 years ago

Link to the IMDB::Film perl module for future reference.

thebigmunch commented 11 years ago

Any of the 3rd-party IMDB "API"s out there are probably a better option.

thebigmunch commented 9 years ago

So, the way to do this is probably to set up our own DB and API for this; I don't want to rely on or hammer any 3rd-party services. This brings up a few issues:

Another solution would be to have the clients do it locally if they have IMDB lookups enabled. I'm not really a fan of this, but I might be convinced.

The last and possibly best way is to just use TVDB and TMDB instead and have people provide their API keys in the settings if they want to use it. This would likely be much easier, more reliable, and more secure way to provide something like this. But, I know a lot of people just prefer IMDB.

Thoughts? Interest?

ghost commented 9 years ago

I am not sure if you know about this site, OMDB Api. But, he has already done the work and the api is free. You only need an apikey if you want to download the images.

thebigmunch commented 9 years ago

Yes, I'm aware of it and some other sites like the one I linked above. But, the number of requests could get excessive for a 3rd-party service. Most of which have an requests limit or would certainly do something about excessive use. And it would be easy for them to ban all autodl requests by user agent.

Unless someone wants to arrange something or volunteer a service for IMDB lookup, I'll probably just move forward with TVDB and TMDB lookup for the time being. Interesting part would be to reliably determine if something should be a TV or movie lookup.

thebigmunch commented 9 years ago

OMDb API will be moving to API keys soon to prevent abuse by some bots. When this happens, the request limit go away. The possibility then opens up to add IMDB support using it and requiring people to enter their own API key if they want to use IMDB lookup. I'd still like it if some interested party checked with OMDb API's admin to see if they'd be against its use in something like autodl-irssi; don't feel like implementing this only to have users get banned or, wrose, the autodl-irssi user-agent get banned.

mrbeers2232 commented 6 years ago

I can only wish I was capable of helping with this. I know for a fact that this is in very high demand. Some people are scripting it so autodl only receives a list of IMDb checked movies, some are running a script that checks IMDb based on the autodl output, then adds it to the torrent client.

I don't know how easy this would be, but maybe add plugin capability? Plugin a custom .sh script that can run before or after the autodl process?