You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
342 B
11 lines
342 B
from couchpotato.core.event import fireEvent
|
|
from couchpotato.core.helpers.variable import getImdb
|
|
from couchpotato.core.providers.userscript.base import UserscriptBase
|
|
|
|
|
|
class IMDB(UserscriptBase):
|
|
|
|
includes = ['*://*.imdb.com/title/tt*', '*://imdb.com/title/tt*']
|
|
|
|
def getMovie(self, url):
|
|
return self.getInfo(getImdb(url))
|
|
|