import csv
headers = {'X-Requested-With': 'XMLHttpRequest'}
r = requests.get('http://www.ligue1.com/stats_arbitre?competition=D1',
    headers=headers)
Can't Scrape a Specific Table using BeautifulSoup4 (Python 3)