# css 选择器
# t_list = bs.select('title')
# t_list = bs.select('a') # Tag
# t_list = bs.select('.mnav') # class
# t_list = bs.select("#u1") # id
# t_list = bs.select("a[class='cur-img']") #根据 a标签 的class 属性的取值来找对应的标签
# t_list = bs.select("head>meta")
# t_list = bs.select("a[href='http://news.baidu.com']")
# t_list = bs.select("head>title")
t_list = bs.select("div[class='nav_menustyle_1_1'] a[href='#'][target='_blank']")
# print(t_list)
for i in t_list:
print(i)