Collection: Test M


response = requests.put(url, headers=HEADERS, json=data, verify=False)
response.raise_for_status()

# =========================
# === DELETE MAILLAGE ===
# =========================

def remove_after_last_paragraph(html):
last_p_index = html.rfind('</p>')
if last_p_index == -1:
return html, False
cleaned_html = html[:last_p_index + 4]
return cleaned_html, cleaned_html != html

# =========================
# === CHOIX UTILISATEUR ===
# =========================

def choose_collections():