def __init__(self, site_link, auth_data): self.opener = OpenerHolder(auth_data,site_link)
class AuthDM(WaitingDM): def __init__(self, site_link, auth_data): self.opener = OpenerHolder(auth_data,site_link) def get_page(self, link): return self.opener.urlopen(link)