# -*- coding: utf-8 -*-
import re
from module.plugins.internal.MultiAccount import MultiAccount
class MultishareCz(MultiAccount):
__name__ = "MultishareCz"
__type__ = "account"
__version__ = "0.11"
__status__ = "testing"
__config__ = [("mh_mode" , "all;listed;unlisted", "Filter hosters to use" , "all"),
("mh_list" , "str" , "Hoster list (comma separated)", "" ),
("mh_interval", "int" , "Reload interval in minutes" , 60 )]
__description__ = """Multishare.cz account plugin"""
__license__ = "GPLv3"
__authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
TRAFFIC_LEFT_PATTERN = r'Kredit:\s*(?P[\d.,]+) (?P[\w^_]+)'
ACCOUNT_INFO_PATTERN = r''
PLUGIN_PATTERN = r']*?alt="(.+?)">\s*