【发布时间】:2021-09-12 06:11:24
【问题描述】:
请帮助我抓取此链接。 链接-https://chartink.com/screener/time-pass-48 我正在尝试进行网络抓取,但它没有显示我想要的表格。请帮助我。
我已经尝试过这段代码,但它没有给我想要的结果。
import requests
from bs4 import BeautifulSoup
URL = 'https://chartink.com/screener/time-pass-48'
page = requests.get(URL)
print(page)
soup = BeautifulSoup(page.content, 'html.parser')
print(soup)
【问题讨论】:
-
看起来您可能需要使用 Selenium 来抓取该链接。
-
先生,以 JSON 格式访问或读取 Chartlink 响应是否合法?
标签: python html web web-scraping beautifulsoup