def __init__(self, session, *args, **kwargs):
self.session = session<EOL>for key, value in kwargs.items():<EOL><INDENT>setattr(self, key, value)<EOL><DEDENT>splited_url = urlsplit(self.url)<EOL>self.base_url = "<STR_LIT>".format(splited_url.scheme, splited_url.netloc)<EOL>
Initializes a Corpus class

        `session` must be `requests.Session` object with authentication data