code: def set_year(self, year):
          
          self.year = YEARS.get(year, year)
          data = {'idCursus': self.year}
          soup = self.post_soup('/~etudiant/login.php', data=data)
          return bool(soup.select('ul.rMenu-hor'))
docs: Set an user's year. This is required on magma just before the login.
          It's called by default by ``login``.