From d8a126cac4dbb9442f7066bc8cc1e53a9888110e Mon Sep 17 00:00:00 2001 From: Ruud Date: Mon, 5 Mar 2012 10:17:30 +0100 Subject: [PATCH] Letterboxd userscript support --- .../core/providers/userscript/letterboxd/__init__.py | 6 ++++++ couchpotato/core/providers/userscript/letterboxd/main.py | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 couchpotato/core/providers/userscript/letterboxd/__init__.py create mode 100644 couchpotato/core/providers/userscript/letterboxd/main.py diff --git a/couchpotato/core/providers/userscript/letterboxd/__init__.py b/couchpotato/core/providers/userscript/letterboxd/__init__.py new file mode 100644 index 00000000..c8c17977 --- /dev/null +++ b/couchpotato/core/providers/userscript/letterboxd/__init__.py @@ -0,0 +1,6 @@ +from .main import Letterboxd + +def start(): + return Letterboxd() + +config = [] diff --git a/couchpotato/core/providers/userscript/letterboxd/main.py b/couchpotato/core/providers/userscript/letterboxd/main.py new file mode 100644 index 00000000..c0d91d79 --- /dev/null +++ b/couchpotato/core/providers/userscript/letterboxd/main.py @@ -0,0 +1,6 @@ +from couchpotato.core.providers.userscript.base import UserscriptBase + + +class Letterboxd(UserscriptBase): + + includes = ['*://letterboxd.com/film/*']