腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
4
回答
BeautifulSoup
"
AttributeError
:'
NoneType
‘
对象
没有
属性
'
text
'“
python
、
html
、
web-scraping
、
beautifulsoup
.232674.234409..234575...0.0..0.251.929.0j6j1......0....1..gws-wiz.......35i39.yu0YE6lnCms')但是这个代码失败了Desktop\weather.py&q
浏览 0
提问于2019-03-26
得票数 5
回答已采纳
1
回答
BeautifulSoup
:
AttributeError
:'
NoneType
‘
对象
没有
属性
'
text
’
python
、
python-3.x
、
web-scraping
、
beautifulsoup
使用
beautifulSoup
抓取网页时出现'
NoneType
' object has no attribute '
text
'错误。“Aak”): res = requests.get('https://www.babynamesdirect.com/baby-names/indian/boy/trending') soup =
BeautifulSoup
(res.
text
, '
浏览 131
提问于2021-11-05
得票数 0
回答已采纳
2
回答
BeautifulSoup
AttributeError
:'
NoneType
‘
对象
没有
属性
'
text
’
python
、
beautifulsoup
我正在尝试刮易趣的网站,我的脚本运行了几分钟,但由于一个错误的"
AttributeError
:'
NoneType
‘
对象
没有
属性
'
text
'“,我的脚本停止了。我做了我的尽职调查和搜索谷歌/StackOverflow的帮助,但
没有
找到任何。错误指向下面的代码,但我不知道如何修复它。total_sold_price = soup.find('span', {'class': '
浏览 2
提问于2019-12-24
得票数 1
回答已采纳
1
回答
使用
BeautifulSoup
AttributeError
进行Python抓取:'
NoneType
‘
对象
没有
属性
'
text
’
python
、
beautifulsoup
、
python-requests
我不知道为什么要收到错误消息
AttributeError
:'
NoneType
‘
对象
在使用
BeautifulSoup
在WebScraping上运行Python 2中的代码时
没有
属性
'
text
’?错误信息:在()
AttributeError
:'
NoneType
浏览 0
提问于2019-01-09
得票数 2
回答已采纳
1
回答
AttributeError
:'
NoneType
‘
对象
没有
属性
'
text
’
BeautifulSoup
解析
python
、
beautifulsoup
、
python-requests
())这是我的代码: from bs4 import
BeautifulSoup
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36requests.get(
浏览 2
提问于2020-12-12
得票数 1
2
回答
AttributeError
:“”
NoneType
“”
对象
没有
属性
“”
text
“”- Python,
BeautifulSoup
错误
python
、
beautifulsoup
我刚刚开始了一个python网络课程,在尝试使用
BeautifulSoup
解析HTML数据时,我遇到了这个错误。我研究了,但找不到任何精确和确定的解决方案。下面是这段代码: from bs4 import
BeautifulSoup
content = request.co
浏览 0
提问于2016-12-25
得票数 0
回答已采纳
1
回答
由于
AttributeError
,无法从表中获取少量数据:“
NoneType
”
对象
没有
属性
“查找”
python
、
python-3.x
、
beautifulsoup
、
request
当我运行这个片段时,它会显示
AttributeError
:'
NoneType
‘
对象
没有
属性
'find’from bs4 import
BeautifulSoup
r = requests.get(url) soup =
BeautifulSoup</
浏览 2
提问于2021-09-02
得票数 1
回答已采纳
1
回答
AttributeError
:'
NoneType
‘
对象
没有
属性
'get_
text
’。
BeautifulSoup
对象
失败
python
、
web-scraping
、
beautifulsoup
、
data-science
、
non-type
我是,用
BeautifulSoup
在亚马逊网站上搜索,但是当我运行代码时:from bs4 import
BeautifulSoup
page = requests.get(URL, headers= headers) soup =
BeautifulSoup
(page.content, 'html.parser')
浏览 5
提问于2021-08-13
得票数 1
2
回答
AttributeError
:'
NoneType
‘
对象
没有
属性
'
text
’
web-scraping
、
beautifulsoup
、
python-3.8
import requestsfrom requests_html import HTMLSession page= requests.get('https://www.fifa.com/worldcup/players.html') soup =
BeautifulSoup
(page.content,"html.parser") player_age
浏览 0
提问于2020-02-13
得票数 0
回答已采纳
3
回答
属性
错误'
NoneType
‘
对象
没有
属性
'find_all’
python
、
web-scraping
导入请求R= requests.get(')打印(soup.title)线条= s.find_all('p')爱尔兰猪肉危机准备食品
AttributeError
回溯(最近一次调用) in ()
浏览 7
提问于2022-07-19
得票数 -1
2
回答
使用
BeautifulSoup
抓取网站
python
、
beautifulsoup
我在刮擦时得到
属性
错误from bs4 import
BeautifulSoup
page = urllib2.urlopen(quote_page) name_box = soup.find('h1', attire
浏览 2
提问于2019-08-07
得票数 0
2
回答
AttributeError
:'
NoneType
‘
对象
没有
属性
'
text
’
python
、
pandas
、
xml
、
parsing
我发现我不能用.
text
来做elem。上面写着:cols = ["fieldDeviceID", "lastUpdateTime", "locStatus", ".
text
deviceStatus = elem.find("deviceStatus"
浏览 4
提问于2022-01-19
得票数 -1
1
回答
BeautifulSoup
4 -
AttributeError
:'
NoneType
‘
对象
没有
属性
get_
text
python
、
html
、
beautifulsoup
但是,我在说
AttributeError
:'
NoneType
‘
对象
没有
属性
'get_
text
’时遇到了错误。下面是HTML:这是我试过的密码。from bs4 import
BeautifulSoup
url = 'https://www.edgeprop.my/buy/kelantanChrome/100.0.4896.
浏览 5
提问于2022-04-16
得票数 0
回答已采纳
1
回答
如何在
BeautifulSoup
中捕获此异常
python
、
beautifulsoup
可能重复: for item in soup.find(id="start_dateid").find_all('option'):问题是当页面
没有
id="start_dateid“时,会生成一个错误:
A
浏览 4
提问于2012-12-09
得票数 0
回答已采纳
1
回答
使用Pandas在Python中以CSV形式显示输出
python
下面是我的代码import requestssoup =
BeautifulSoup
(source, 'lxml') headline = art
浏览 2
提问于2019-10-12
得票数 0
回答已采纳
1
回答
我一直在尝试这段代码,但是当我编译它时,我不知道该做什么
python
、
beautifulsoup
from bs4 import
BeautifulSoup
import timeimport smtplib soup1 =
BeautifulSoup
(page.content, "html.parser&quo
浏览 8
提问于2022-06-28
得票数 0
1
回答
即使python代码看起来也是正确的,但是
属性
错误会发生,不会刮到文本。
object
、
web-scraping
、
attributes
、
attributeerror
、
findall
当我使用
BeautifulSoup
在列出产品名称和价格时,类似的代码在其他网站上起作用。但是在这个网站上运行时,soup.findAll
属性
是存在的,但是
没有
刮到文本,
AttributeError
就发生了。是否有人可以帮助查看代码和网站检查?re = requests.get(url,headers=headers)soup =
BeautifulSo
浏览 0
提问于2019-09-01
得票数 1
回答已采纳
1
回答
BeautifulSoup
AttributeError
:“
NoneType
”
对象
没有
属性
“”find“”
python
、
beautifulsoup
尝试从另一个查找的结果中查找,但得到此错误的代码片段如下:gameArea = soup.find("div", {"id": "gamefileareaprestitial-running'); var noAdsReturned = function () {removeAdSwf();}; 从这里开始尝试选择
对象
元素
浏览 1
提问于2016-02-22
得票数 0
1
回答
BeautifulSoup
-
AttributeError
:'
NoneType
‘
对象
没有
属性
findAll
python
、
web-scraping
、
beautifulsoup
、
attributes
我在使用.findAll
属性
时遇到了问题。当我运行下面的代码时,它说
对象
没有
属性
findAll。import requestsimport urllib3page = requests.get(url) soup = <em
浏览 3
提问于2020-04-08
得票数 0
回答已采纳
1
回答
BeautifulSoup
AttributeError
:
NoneType
对象
没有
属性
查找
python-2.7
、
beautifulsoup
我正在使用Python中的BeuatifulSoup从报告中提取测试用例总数,并得到错误:html_report_part = open(filename, 'r')tr_total
浏览 3
提问于2016-11-04
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Python黑科技:Web Scraper(一)爬虫与甲鱼汤
BeautifulSoup常用解析库-爬虫干货系列5
大数据数据采集基础教程 五行代码爬取豆瓣电影本周排行榜 具体步骤详解
Python爬虫之BeautifulSoup详解
Python爬虫从入门到精通(3):BeautifulSoup用法总结及多线程爬虫爬取糗事百科
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券