Urlopen try,except fixes

This commit is contained in:
Ruud
2011-11-11 15:47:57 +01:00
parent 0420bdeec5
commit 668b95353f
19 changed files with 116 additions and 133 deletions
@@ -42,7 +42,10 @@ class UserscriptBase(Plugin):
return
def getMovie(self, url):
data = self.urlopen(url)
try:
data = self.urlopen(url)
except:
data = ''
return self.getInfo(getImdb(data))
def getInfo(self, identifier):