请求地址: https://www.digikey.cn/products/zh?WT.z_header=search_go&keywords=LTC4366HTS8-2
使用 Guzzlehttp 请求时时,返回内容如下:
<!DOCTYPE html>
<html>
<head>
<script>一些 js 代码</script>
</head>
<body>
<script>一些 js 代码</script>
</body>
</html>
在浏览器中响应内容是全部的 html 内容。
初步怀疑这是有什么权限之类的原因?对爬虫不是很了解,路过的帮忙看看。
