diff options
Diffstat (limited to 'pyload/plugin/hoster/DlFreeFr.py')
-rw-r--r-- | pyload/plugin/hoster/DlFreeFr.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/DlFreeFr.py b/pyload/plugin/hoster/DlFreeFr.py index 746cf732a..b0f9e7b7f 100644 --- a/pyload/plugin/hoster/DlFreeFr.py +++ b/pyload/plugin/hoster/DlFreeFr.py @@ -35,15 +35,15 @@ class CustomBrowser(Browser): class DlFreeFr(SimpleHoster): - __name = "DlFreeFr" - __type = "hoster" - __version = "0.28" + __name__ = "DlFreeFr" + __type__ = "hoster" + __version__ = "0.28" - __pattern = r'http://(?:www\.)?dl\.free\.fr/(\w+|getfile\.pl\?file=/\w+)' + __pattern__ = r'http://(?:www\.)?dl\.free\.fr/(\w+|getfile\.pl\?file=/\w+)' - __description = """Dl.free.fr hoster plugin""" - __license = "GPLv3" - __authors = [("the-razer", "daniel_ AT gmx DOT net"), + __description__ = """Dl.free.fr hoster plugin""" + __license__ = "GPLv3" + __authors__ = [("the-razer", "daniel_ AT gmx DOT net"), ("zoidberg", "zoidberg@mujmail.cz"), ("Toilal", "toilal.dev@gmail.com")] @@ -102,7 +102,7 @@ class DlFreeFr(SimpleHoster): headers = self.getLastHeaders() if headers.get("code") == 302 and "set-cookie" in headers and "location" in headers: m = re.search("(.*?)=(.*?); path=(.*?); domain=(.*?)", headers.get("set-cookie")) - cj = CookieJar(__name) + cj = CookieJar(__name__) if m: cj.setCookie(m.group(4), m.group(1), m.group(2), m.group(3)) else: |