diff options
Diffstat (limited to 'module/plugins/hoster/DailymotionCom.py')
-rw-r--r-- | module/plugins/hoster/DailymotionCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/DailymotionCom.py b/module/plugins/hoster/DailymotionCom.py index 73e119c8c..051b09fc3 100644 --- a/module/plugins/hoster/DailymotionCom.py +++ b/module/plugins/hoster/DailymotionCom.py @@ -10,7 +10,7 @@ from module.plugins.internal.Hoster import Hoster def get_info(urls): result = [] - regex = re.compile(DailymotionCom.__pattern__) + regex = re.compile(DailymotionCom.__pattern) apiurl = "https://api.dailymotion.com/video/%s" request = {'fields': "access_error,status,title"} @@ -42,7 +42,7 @@ def get_info(urls): class DailymotionCom(Hoster): - __name__ = "DailymotionCom" + __name = "DailymotionCom" __type__ = "hoster" __version__ = "0.22" __status__ = "testing" @@ -121,7 +121,7 @@ class DailymotionCom(Hoster): def process(self, pyfile): self.check_info(pyfile) - id = re.match(self.__pattern__, pyfile.url).group('ID') + id = re.match(self.__pattern, pyfile.url).group('ID') self.html = self.load("http://www.dailymotion.com/embed/video/" + id) streams = self.get_streams() |