# Buggy code
def get_links(self):
    m_type = re.match(self.__pattern__, self.pyfile.url).group("TYPE")

    if m_type == "project":
        pattern = r"\n(http://www\.multiup\.org/(?:en|fr)/download/.*)"
    else:
        pattern = r'style="width:97%;text-align:left".*\n.*href="(.*)"'
        if m_type == "download":
            dl_pattern = r'href="(.*)">.*\n.*<h5>DOWNLOAD</h5>'
            miror_page = urlparse.urljoin(
                "http://www.multiup.org/", re.search(dl_pattern, self.html).group(1)
            )
            self.html = self.load(miror_page)

    return re.findall(pattern, self.html)


# Traceback (AttributeError)
18.08.2015 23:55:44 INFO      Decrypting starts: Lulu.Vroumette.S1x03_Capitaine.Lulu.avi
18.08.2015 23:55:44 DEBUG     HOOK UserAgentSwitcher: Use custom user-agent string: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
18.08.2015 23:55:44 DEBUG     CRYPTER MultiUpOrg[9]: PROCESS URL http://www.multiup.org/en/download/acc13ec3f1b1214919b55d4a70c16190/Lulu.Vroumette.S1x03_Capitaine.Lulu.avi | PLUGIN VERSION 0.04
18.08.2015 23:55:44 INFO      CRYPTER MultiUpOrg[9]: Updating file info...
18.08.2015 23:55:45 DEBUG     CRYPTER MultiUpOrg[9]: File info: {'status': 2, 'url': u'http://www.multiup.org/en/download/acc13ec3f1b1214919b55d4a70c16190/Lulu.Vroumette.S1x03_Capitaine.Lulu.avi', 'size': 0, 'name': u'Lulu.Vroumette.S1x03_Capitaine.Lulu.avi', 'pattern': {'TYPE': u'download', 'N': u'Lulu.Vroumette.S1x03_Capitaine.Lulu.avi'}}
18.08.2015 23:55:45 DEBUG     CRYPTER MultiUpOrg[9]: Previous file info: {}
18.08.2015 23:55:45 INFO      CRYPTER MultiUpOrg[9]: File name: Lulu.Vroumette.S1x03_Capitaine.Lulu.avi
18.08.2015 23:55:45 INFO      CRYPTER MultiUpOrg[9]: File size: Unknown
18.08.2015 23:55:45 INFO      CRYPTER MultiUpOrg[9]: File status: online
18.08.2015 23:55:45 DEBUG     CRYPTER MultiUpOrg[9]: Looking for direct download link...
18.08.2015 23:55:45 DEBUG     CRYPTER MultiUpOrg[9]: Redirect #0 to: http://www.multiup.org/en/download/acc13ec3f1b1214919b55d4a70c16190/Lulu.Vroumette.S1x03_Capitaine.Lulu.avi
18.08.2015 23:55:45 DEBUG     CRYPTER MultiUpOrg[9]: LOAD URL http://www.multiup.org/en/download/acc13ec3f1b1214919b55d4a70c16190/Lulu.Vroumette.S1x03_Capitaine.Lulu.avi | cookies=True | get={} | req=None | decode=True | multipart=False | post={} | ref=True | just_header=True
18.08.2015 23:55:45 ERROR     Decrypting failed: Lulu.Vroumette.S1x03_Capitaine.Lulu.avi | 'MultiUpOrg' object has no attribute 'links'
Traceback (most recent call last):
File "/home.sav/dl/pyload/module/PluginThread.py", line 363, in run
self.active.plugin.preprocessing(self)
File "/home.sav/dl/pyload/.pyload/userplugins/internal/Hoster.py", line 185, in preprocessing
return self.process(self.pyfile)
File "/home.sav/dl/pyload/module/plugins/internal/Crypter.py", line 41, in process
self.decrypt(pyfile)
File "/home.sav/dl/pyload/module/plugins/internal/SimpleCrypter.py", line 101, in decrypt
if self.link or self.links or self.urls or self.packages:
AttributeError: 'MultiUpOrg' object has no attribute 'links'

# Fixed code
def get_links(self):
    m_type = re.match(self.__pattern__, self.pyfile.url).group("TYPE")

    if m_type == "project":
        pattern = r"\n(http://www\.multiup\.org/(?:en|fr)/download/.*)"
    else:
        pattern = r'style="width:97%;text-align:left".*\n.*href="(.*)"'
        if m_type == "download":
            dl_pattern = r'href="(.*)">.*\n.*<h5>DOWNLOAD</h5>'
            mirror_page = urlparse.urljoin(
                "http://www.multiup.org/", re.search(dl_pattern, self.html).group(1)
            )
            self.html = self.load(mirror_page)

    return re.findall(pattern, self.html)