summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/DailymotionComFolder.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/DailymotionComFolder.py')
-rw-r--r--module/plugins/crypter/DailymotionComFolder.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/crypter/DailymotionComFolder.py b/module/plugins/crypter/DailymotionComFolder.py
index 8a4a0f258..3f81c0485 100644
--- a/module/plugins/crypter/DailymotionComFolder.py
+++ b/module/plugins/crypter/DailymotionComFolder.py
@@ -83,9 +83,8 @@ class DailymotionComFolder(Crypter):
def decrypt(self, pyfile):
- m = re.match(self.__pattern__, pyfile.url)
- m_id = m.group('ID')
- m_type = m.group('TYPE')
+ m_id = self.info['pattern']['ID']
+ m_type = self.info['pattern']['TYPE']
if m_type == "playlist":
self.log_debug("Url recognized as Playlist")