标签: python html findall
网页代码:
"caption": "~ I hate the idea of limitations ~\n
我提取评论的代码:
caption = findall('"caption": "~(.+) ~\n ',web_page_contents)
执行后我得到:
[]
我想从网页代码中获取引用。