JFLの速報をスクレイピング

import requests
from bs4 import BeautifulSoup

# url = 'http://www.jfl.or.jp/jfl-pc/view/s.php?a=1436&f=2019A00101_spc.html'
url = 'http://www.jfl.or.jp/jfl-pc/view/s.php?a=871&f=top_spc.html'

headers = {
    'User-Agent':
    'Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko'
}

r = requests.get(url, headers=headers)
soup = BeautifulSoup(r.content, 'html5lib')

for i in soup.select('table.score-table'):

    team = [
        'Honda FC' if 'Honda FC' in j.text else j.text
        for j in i.select('tr:nth-of-type(2) > th[class^="score-team"]')
    ]

    score = [j.text for j in i.select('tr:nth-of-type(2) > td.score-finish')]

    print(f'{team[0]: >11} {score[0]} - {score[1]} {team[1]}')