diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-04-11 11:59:32 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-11 12:04:28 +0200 |
commit | 4061e76e218b82503a41af1d165e5feb7baeb283 (patch) | |
tree | c91c26df9ee48431507b365246fb69beeabcbcf5 /module/plugins/hoster | |
parent | Replace range with xrange (diff) | |
download | pyload-4061e76e218b82503a41af1d165e5feb7baeb283.tar.xz |
Fix __type__ for crypters
Merges vuolter/pyload@48af9ab
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/ChipDe.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/module/plugins/hoster/ChipDe.py b/module/plugins/hoster/ChipDe.py deleted file mode 100644 index ccad723b6..000000000 --- a/module/plugins/hoster/ChipDe.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -import re -from module.plugins.Crypter import Crypter - - -class ChipDe(Crypter): - __name__ = "ChipDe" - __type__ = "container" - __pattern__ = r"http://(?:www\.)?chip.de/video/.*\.html" - __version__ = "0.1" - __description__ = """Chip.de hoster plugin""" - __author_name__ = "4Christopher" - __author_mail__ = "4Christopher@gmx.de" - - def decrypt(self, pyfile): - self.html = self.load(pyfile.url) - try: - url = re.search(r'"(http://video.chip.de/\d+?/.*)"', self.html).group(1) - self.logDebug('The file URL is %s' % url) - except: - self.fail('Failed to find the URL') - - self.packages.append((self.pyfile.package().name, [url], self.pyfile.package().folder)) |