为什么我无法按班级抓取h1标签?

我有以下代码,应该使用BeautifulSoup从网页中抓取h1(带有c-page-title类)文本:

from requests import get
from requests.exceptions import RequestException
from contextlib import closing
from bs4 import BeautifulSoup


def simple_get(url):
    try:
        with closing(get(url, stream=True)) as resp:
            if is_good_response(resp):
                return resp.content
            else:
                return None

    except RequestException as e:
        log_error('Error during requests to {0} : {1}'.format(url, str(e)))
        return None


def is_good_response(resp):
    content_type = resp.headers['Content-Type'].lower()
    return (resp.status_code == 200
            and content_type is not None
            and content_type.find('html') > -1)


def log_error(e):
    print(e)


raw_html = simple_get('https://www.sonicsrising.com/2020/4/1/21201616/sonics-rising-is-on-hiatus')

html = BeautifulSoup(raw_html, 'html.parser')

for h1 in html.select('h1'):
    if h1['class'] == 'c-page-title':
        print(h1.text)

for p in html.select('p'):
    print(p.text)

当我运行它时,它能够从'p'标记中提取段落,但不能提取具有类名的标题。

这是该页面的HTML源代码的屏幕截图,其中显示了我要提取的h1标签的类名。

enter image description here

我做错了什么,这也阻止了h1打印?

非常感谢您抽出宝贵的时间,如果有什么我可以补充的内容,请随时提出,我会补充一下。