code: def parse_obsolete(l1, l3):
      '''
          parse html when siren is obsolete
      '''
      return {
          'annee': l1.text.split('.')[2].split()[2],
          'siren valide': ''.join(
              l1.text.split('.')[2].split(u'\xab')[0].split()[-4:-1]),
          'categorie': ' '.join(
              l1.text.split('.')[2].split(u'\xab')[1].split()[:-1]),
          'raison sociale': l3.text.split(' : ')[1][:-1],
          'statut': 'obsolete'f parse_obsolete(l1, l3):
      '''
          parse html when siren is obsolete
      '''
      return {
          'annee': l1.text.split('.')[2].split()[2],
          'siren valide': ''.join(
              l1.text.split('.')[2].split(u'\xab')[0].split()[-4:-1]),
          'categorie': ' '.join(
              l1.text.split('.')[2].split(u'\xab')[1].split()[:-1]),
          'raison sociale': l3.text.split(' : ')[1][:-1],
          'statut': 'obsolete'}
docs: parse html when siren is obsolete