我正在尝试使用php文件进行视频搜索
这是我的代码
import requests
from bs4 import BeautifulSoup
url = 'http://www.aflcio.org/Legislation-and-Politics/Legislative-Alerts'
r = requests.get(url)
plain_text = r.text
soup = BeautifulSoup(plain_text, 'html.parser')
statements = soup.findAll('div','ec_statements')
for link in statements:
print (link.contents)

视频作品,但无法寻求
答案 0 :(得分:1)
寻求要求您的服务器支持处理Content-Range:
标题