网页内容提取错误

时间:2016-09-27 13:07:13

标签: python html findall

网页代码:

"caption": "~ I hate the idea of limitations ~\n

我提取评论的代码:

caption = findall('"caption": "~(.+) ~\n ',web_page_contents)

执行后我得到:

[]

我想从网页代码中获取引用。

0 个答案:

没有答案