From 125948cb947b37e0d1473bc6026c9d2c762a89f4 Mon Sep 17 00:00:00 2001 From: Ruud Date: Mon, 16 Jul 2012 01:32:58 +0200 Subject: [PATCH] Exclude rottentomatoes movie subpage in userscript --- couchpotato/core/providers/userscript/rottentomatoes/main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/providers/userscript/rottentomatoes/main.py b/couchpotato/core/providers/userscript/rottentomatoes/main.py index cd869b8f..c6117790 100644 --- a/couchpotato/core/providers/userscript/rottentomatoes/main.py +++ b/couchpotato/core/providers/userscript/rottentomatoes/main.py @@ -4,7 +4,10 @@ from couchpotato.core.providers.userscript.base import UserscriptBase class RottenTomatoes(UserscriptBase): - includes = ['*://www.rottentomatoes.com/m/*'] + includes = ['*://www.rottentomatoes.com/m/*/'] + excludes = ['*://www.rottentomatoes.com/m/*/*/'] + + version = 2 def getMovie(self, url):