modules.dhbw.util.ImporterSession

class modules.dhbw.util.ImporterSession[source]

Bases: Importer

Base class for every importer with session handling.

auth_token: str

the string representing the authentication cookie for the created session

email: str

the email of the current user

Methods

drop_header

method to drop an header

login

logout

scrape

Attributes

auth_token

email

headers

scraped_data

drop_header(header) None

method to drop an header

header: str

the name of the header which should be dropped

None