def parse_declaration(self, i):
try:
return sgmllib.SGMLParser.parse_declaration(self, i)
except sgmllib.SGMLParseError:
# escape the doctype declaration and continue parsing
self.handle_data('<')
return i+1
feedparser.py 文件源码
python
阅读 27
收藏 0
点赞 0
评论 0
评论列表
文章目录