import requests
from bs4 import BeautifulSoup
URL = 'http://dansesportive.ffdanse.fr/compet-resultats.php?NumManif=1592'
soup = BeautifulSoup(requests.get(URL).content, 'lxml')
heading = soup.find_all(string='Autres comp\xc3\xa9titions')
heading
heading[0].findNext('table')
Python BeautifulSoup - Using find_next while parsing invalid HTML