自己敲了一遍代码,运行无结果也不报错

原代码:
import requests
from fake_useragent import UserAgent
from bs4 import BeautifulSoup
url = "https://www.maoyan.com/films?showType=3"
headers = {"User-Agent":UserAgent().edge}
resp = requests.get(url,headers=headers)
bs = BeautifulSoup(resp.text,"lxml")
names = bs.select("dl.movie-list > div.channel-detail.movie-item-title > a")
scores = bs.select("dl.movie-list > div.channel-detail.channel-detail-orange > i")
for n,s in zip(names,scores):
print(f"电影名称:{n}---评分:{s}")
然后按照视频中的内容复制一份运行也没结果,不报错

原代码:
import requests
from fake_useragent import UserAgent
from bs4 import BeautifulSoup
url = "https://www.maoyan.com/films?showType=3"
headers = {"User-Agent":UserAgent().edge}
resp = requests.get(url,headers=headers)
bs = BeautifulSoup(resp.text,"lxml")
names = [div.text.strip("") for div in bs.select("div.channel-detail.movie-item-title")]
scores = [div.text.strip("") for div in bs.select(".channel-detail.channel-detail-orange")]
for n,s in zip(names,scores):
print(f"电影名称:{n}---评分:{s}")
在爬虫这一章,好几次视频操作的网站,运行结果都是这样,无结果也不报错,换百战的官网有时候试试又可以了,不知道哪儿有问题