<meta name="keywords" content="Ruby On Rails (Software), Authentication (Software Genre), Tutorial (Industry), howto, tips, tricks">
如何content
使用 PyQuery 从这个元标记中获取价值?
from pyquery import PyQuery
def get_data(myurl):
query = PyQuery(url=myurl)
title = query("title").text()
keyword = query("meta[name=keywords]").text()
...