nodeJS实现简单网页爬虫功能的实例(分享)

前端之家收集整理的这篇文章主要介绍了nodeJS实现简单网页爬虫功能的实例(分享)前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

本文将使用nodeJS实现一个简单的网页爬虫功能

网页源码

使用http.get()方法获取网页源码,以hao123网站的头条页面为例

http://tuijian.hao123.com/hotrank

获得的结果如下所示:

<Meta charset="utf-8">
<Meta http-equiv="X-UA-Compatible" content="IE=edge">
<Meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<Meta name="referrer" content="always">

<Meta name="baidu_union_verify" content="d7d644c8a5cb51b46c900d802d906116"> 热点<a href="/tag/paixingbang/" target="_blank" class="keywords">排行榜</a>-头条新闻-hao123新闻导航_hao123上网导航

@H_301_25@

window.pageId = window.pageId || "hao123-xinwen-tuijian-hotrank";
window.pageVP = window.pageVP || "hao123-xinwen-tuijian-hotrank";

@H_301_25@window.HAO=window.HAO||{};window.HAO.https = false;window.HAO.httpsTrans = function(url){return url};
<div class="mt20"><div id="tops" class="clearfix" monkey="tops"><div class="top-wrap"><div class="top first-col" monkey="ss"><h2 class="title">实时热点<div class="points"><div class="point-hd clearfix"><span class="point-rank">排名<span class="point-title">关键词<span class="point-index">搜索指数
<div class="point-bd"><div class="point clearfix"><span class="point-rank point-rank-top3">1<span class="point-title"><a href="https://www.baidu.com/s?wd=%E7%BE%8E%E5%9B%BD%E9%80%AE%E6%8D%95%E5%A5%B3%E6%96%AF%E8%AF%BA%E7%99%BB&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">美国逮捕女斯诺登<span class="point-state point-state-rise"><span class="point-index">35388<a href="https://www.baidu.com/s?wd=%E7%BE%8E%E5%9B%BD%E9%80%AE%E6%8D%95%E5%A5%B3%E6%96%AF%E8%AF%BA%E7%99%BB&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail">
<div class="point clearfix"><span class="point-rank point-rank-top3">2<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%88%90%E9%83%BD%E9%9A%90%E7%A7%98%E6%AF%8D%E4%B9%B3%E4%B9%B0%E5%8D%96&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">成都隐秘母乳买卖<span class="point-state point-state-fall"><span class="point-index">34497<a href="https://www.baidu.com/s?wd=%E6%88%90%E9%83%BD%E9%9A%90%E7%A7%98%E6%AF%8D%E4%B9%B3%E4%B9%B0%E5%8D%96&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail">
<div class="point clearfix"><span class="point-rank point-rank-top3">3<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%9B%9D%E5%91%A8%E6%9D%B0%E4%BC%A6%E9%9D%92%E6%B6%A9%E6%97%A7%E7%85%A7&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">曝周杰伦青涩旧照<span class="point-state point-state-fall"><span class="point-index">1457<a href="https://www.baidu.com/s?wd=%E6%9B%9D%E5%91%A8%E6%9D%B0%E4%BC%A6%E9%9D%92%E6%B6%A9%E6%97%A7%E7%85%A7&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail">
<div class="point clearfix"><span class="point-rank">4<span class="point-title"><a href="https://www.baidu.com/s?wd=%E8%80%81%E5%A4%B4%E5%85%AC%E4%BA%A4%E5%BC%BA%E5%90%BB%E5%A5%B3%E5%AD%A9&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">老头公交强吻女孩<span class="point-state point-state-rise"><span class="point-index">103307<a href="https://www.baidu.com/s?wd=%E8%80%81%E5%A4%B4%E5%85%AC%E4%BA%A4%E5%BC%BA%E5%90%BB%E5%A5%B3%E5%AD%A9&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail">
<div class="point clearfix"><span class="point-rank">5<span class="point-title"><a href="https://www.baidu.com/s?wd=%E7%8E%8B%E4%BC%A0%E5%90%9B%E6%81%8B%E6%83%85%E6%9B%9D%E5%85%89&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">王传君恋情曝光<span class="point-state point-state-fall"><span class="point-index">26616<a href="https://www.baidu.com/s?wd=%E7%8E%8B%E4%BC%A0%E5%90%9B%E6%81%8B%E6%83%85%E6%9B%9D%E5%85%89&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail">
<div class="point clearfix"><span class="point-rank">6<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%9D%AD%E5%B7%9E%E7%8E%B0%E5%A5%87%E8%91%A9%E7%AA%97%E5%8F%A3&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">杭州现奇葩窗口<span class="point-state point-state-rise"><span class="point-index">26837<a href="https://www.baidu.com/s?wd=%E6%9D%AD%E5%B7%9E%E7%8E%B0%E5%A5%87%E8%91%A9%E7%AA%97%E5%8F%A3&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">7<span class="point-title"><a href="https://www.baidu.com/s?wd=%E5%BF%98%E5%B8%A6%E5%85%A8%E7%8F%AD%E5%87%86%E8%80%83%E8%AF%81&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">忘带全班准考证<span class="point-state point-state-fall"><span class="point-index">125127<a href="https://www.baidu.com/s?wd=%E5%BF%98%E5%B8%A6%E5%85%A8%E7%8F%AD%E5%87%86%E8%80%83%E8%AF%81&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">8<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%9C%AA%E6%88%90%E5%B9%B4%E6%8C%81%E6%A2%B0%E6%8B%8D%E7%BD%91%E7%BA%A2&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">未成年持械拍网红<span class="point-state point-state-fall"><span class="point-index">1672<a href="https://www.baidu.com/s?wd=%E6%9C%AA%E6%88%90%E5%B9%B4%E6%8C%81%E6%A2%B0%E6%8B%8D%E7%BD%91%E7%BA%A2&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">9<span class="point-title"><a href="https://www.baidu.com/s?wd=9%E7%A7%92%E6%8F%8D%E5%84%BF%E5%AD%908%E6%8B%B3&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">9秒揍儿子8拳<span class="point-state point-state-rise"><span class="point-index">93193<a href="https://www.baidu.com/s?wd=9%E7%A7%92%E6%8F%8D%E5%84%BF%E5%AD%908%E6%8B%B3&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">10<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%88%B4%E8%80%B3%E6%9C%BA%E7%A9%BF%E8%BD%A8%E9%81%93%E8%A2%AB%E6%92%9E&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">戴耳机穿轨道被撞<span class="point-state point-state-rise"><span class="point-index">195745<a href="https://www.baidu.com/s?wd=%E6%88%B4%E8%80%B3%E6%9C%BA%E7%A9%BF%E8%BD%A8%E9%81%93%E8%A2%AB%E6%92%9E&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="top-wrap"><div class="top top-blue" monkey="jr"><h2 class="title">今日热点<div class="points"><div class="point-hd clearfix"><span class="point-rank">排名<span class="point-title">关键词<span class="point-index">搜索指数<div class="point-bd"><div class="point clearfix"><span class="point-rank point-rank-top3">1<span class="point-title"><a href="https://www.baidu.com/s?wd=%E5%8C%97%E4%BA%AC%E5%9B%9E%E9%BE%99%E8%A7%82%E5%A4%A7%E7%81%AB&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">北京回龙观大火<span class="point-state point-state-rise"><span class="point-index">174225<a href="https://www.baidu.com/s?wd=%E5%8C%97%E4%BA%AC%E5%9B%9E%E9%BE%99%E8%A7%82%E5%A4%A7%E7%81%AB&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank point-rank-top3">2<span class="point-title"><a href="https://www.baidu.com/s?wd=%E9%80%89%E7%BE%8E%E5%86%A0%E5%86%9B%E8%BD%A6%E7%A5%B8%E8%BA%AB%E4%BA%A1&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">选美冠军车祸身亡<span class="point-state point-state-rise"><span class="point-index">172447<a href="https://www.baidu.com/s?wd=%E9%80%89%E7%BE%8E%E5%86%A0%E5%86%9B%E8%BD%A6%E7%A5%B8%E8%BA%AB%E4%BA%A1&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank point-rank-top3">3<span class="point-title"><a href="https://www.baidu.com/s?wd=2017%E9%AB%98%E8%80%83&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">2017高考<span class="point-state point-state-rise"><span class="point-index">136806<a href="https://www.baidu.com/s?wd=2017%E9%AB%98%E8%80%83&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">4<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%88%90%E9%83%BD%E8%80%81%E7%81%AB%E9%94%85%E5%BA%97%E8%A2%AB%E6%9F%A5&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">成都老火锅店被查<span class="point-state point-state-rise"><span class="point-index">121729<a href="https://www.baidu.com/s?wd=%E6%88%90%E9%83%BD%E8%80%81%E7%81%AB%E9%94%85%E5%BA%97%E8%A2%AB%E6%9F%A5&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">5<span class="point-title"><a href="https://www.baidu.com/s?wd=%E9%99%88%E6%B5%A9%E6%B0%91%E5%A8%87%E5%A6%BB%E7%A7%80%E8%BA%AB%E6%9D%90&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">陈浩民娇妻秀身材<span class="point-state point-state-rise"><span class="point-index">115877<a href="https://www.baidu.com/s?wd=%E9%99%88%E6%B5%A9%E6%B0%91%E5%A8%87%E5%A6%BB%E7%A7%80%E8%BA%AB%E6%9D%90&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">6<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%B5%B7%E8%BE%B9%E7%9B%B4%E6%92%AD%E5%8F%91%E7%8E%B0%E6%B5%AE%E5%B0%B8&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">海边直播发现浮尸<span class="point-state point-state-fall"><span class="point-index">86157<a href="https://www.baidu.com/s?wd=%E6%B5%B7%E8%BE%B9%E7%9B%B4%E6%92%AD%E5%8F%91%E7%8E%B0%E6%B5%AE%E5%B0%B8&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">7<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%9B%9D%E5%8D%B0%E5%B0%8F%E5%A4%A9%E9%81%AD%E5%A6%BB%E9%AA%97%E5%A9%9A&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">曝印小天遭妻骗婚<span class="point-state point-state-fall"><span class="point-index">83749<a href="https://www.baidu.com/s?wd=%E6%9B%9D%E5%8D%B0%E5%B0%8F%E5%A4%A9%E9%81%AD%E5%A6%BB%E9%AA%97%E5%A9%9A&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">8<span class="point-title"><a href="https://www.baidu.com/s?wd=%E8%8B%B9%E6%9E%9C%E5%BC%80%E5%8F%91%E8%80%85%E5%A4%A7%E4%BC%9A&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">苹果开发者大会<span class="point-state point-state-rise"><span class="point-index">78140<a href="https://www.baidu.com/s?wd=%E8%8B%B9%E6%9E%9C%E5%BC%80%E5%8F%91%E8%80%85%E5%A4%A7%E4%BC%9A&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">9<span class="point-title"><a href="https://www.baidu.com/s?wd=6%E4%B8%87%E6%96%A4%E9%B1%BC%E7%BC%BA%E6%B0%A7%E6%AD%BB%E4%BA%A1&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">6万斤鱼缺氧死亡<span class="point-state point-state-rise"><span class="point-index">68984<a href="https://www.baidu.com/s?wd=6%E4%B8%87%E6%96%A4%E9%B1%BC%E7%BC%BA%E6%B0%A7%E6%AD%BB%E4%BA%A1&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">10<span class="point-title"><a href="https://www.baidu.com/s?wd=%E5%AE%89%E4%BB%A5%E8%BD%A9%E5%A4%8F%E5%A8%81%E5%A4%B7%E5%A4%A7%E5%A9%9A&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">安以轩夏威夷大婚<span class="point-state point-state-rise"><span class="point-index">56675<a href="https://www.baidu.com/s?wd=%E5%AE%89%E4%BB%A5%E8%BD%A9%E5%A4%8F%E5%A8%81%E5%A4%B7%E5%A4%A7%E5%A9%9A&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="top-wrap"><div class="top top-yellow" monkey="ms"><h2 class="title">民生热点<div class="points"><div class="point-hd clearfix"><span class="point-rank">排名<span class="point-title">关键词<span class="point-index">搜索指数<div class="point-bd"><div class="point clearfix"><span class="point-rank point-rank-top3">1<span class="point-title"><a href="https://www.baidu.com/s?wd=%E5%8C%97%E4%BA%AC%E5%9B%9E%E9%BE%99%E8%A7%82%E5%A4%A7%E7%81%AB&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">北京回龙观大火<span class="point-state point-state-rise"><span class="point-index">174225<a href="https://www.baidu.com/s?wd=%E5%8C%97%E4%BA%AC%E5%9B%9E%E9%BE%99%E8%A7%82%E5%A4%A7%E7%81%AB&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank point-rank-top3">2<span class="point-title"><a href="https://www.baidu.com/s?wd=2017%E9%AB%98%E8%80%83&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">2017高考<span class="point-state point-state-rise"><span class="point-index">136806<a href="https://www.baidu.com/s?wd=2017%E9%AB%98%E8%80%83&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank point-rank-top3">3<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%88%90%E9%83%BD%E8%80%81%E7%81%AB%E9%94%85%E5%BA%97%E8%A2%AB%E6%9F%A5&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">成都老火锅店被查<span class="point-state point-state-rise"><span class="point-index">121729<a href="https://www.baidu.com/s?wd=%E6%88%90%E9%83%BD%E8%80%81%E7%81%AB%E9%94%85%E5%BA%97%E8%A2%AB%E6%9F%A5&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">4<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%B5%B7%E8%BE%B9%E7%9B%B4%E6%92%AD%E5%8F%91%E7%8E%B0%E6%B5%AE%E5%B0%B8&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">海边直播发现浮尸<span class="point-state point-state-fall"><span class="point-index">86157<a href="https://www.baidu.com/s?wd=%E6%B5%B7%E8%BE%B9%E7%9B%B4%E6%92%AD%E5%8F%91%E7%8E%B0%E6%B5%AE%E5%B0%B8&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">5<span class="point-title"><a href="https://www.baidu.com/s?wd=%E8%8B%B9%E6%9E%9C%E5%BC%80%E5%8F%91%E8%80%85%E5%A4%A7%E4%BC%9A&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">苹果开发者大会<span class="point-state point-state-rise"><span class="point-index">78140<a href="https://www.baidu.com/s?wd=%E8%8B%B9%E6%9E%9C%E5%BC%80%E5%8F%91%E8%80%85%E5%A4%A7%E4%BC%9A&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">6<span class="point-title"><a href="https://www.baidu.com/s?wd=6%E4%B8%87%E6%96%A4%E9%B1%BC%E7%BC%BA%E6%B0%A7%E6%AD%BB%E4%BA%A1&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">6万斤鱼缺氧死亡<span class="point-state point-state-rise"><span class="point-index">68984<a href="https://www.baidu.com/s?wd=6%E4%B8%87%E6%96%A4%E9%B1%BC%E7%BC%BA%E6%B0%A7%E6%AD%BB%E4%BA%A1&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">7<span class="point-title"><a href="https://www.baidu.com/s?wd=%E5%8C%97%E6%8E%A7%E5%A4%96%E6%8F%B4%E8%AE%AD%E7%BB%83%E7%8C%9D%E6%AD%BB&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">北控外援训练猝死<span class="point-state point-state-rise"><span class="point-index">50687<a href="https://www.baidu.com/s?wd=%E5%8C%97%E6%8E%A7%E5%A4%96%E6%8F%B4%E8%AE%AD%E7%BB%83%E7%8C%9D%E6%AD%BB&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">8<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%AD%A6%E6%B1%89%E7%94%B7%E5%AD%90%E8%A3%B8%E4%BD%93%E6%8D%85%E4%BA%BA&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">武汉男子裸体捅人<span class="point-state point-state-fall"><span class="point-index">45810<a href="https://www.baidu.com/s?wd=%E6%AD%A6%E6%B1%89%E7%94%B7%E5%AD%90%E8%A3%B8%E4%BD%93%E6%8D%85%E4%BA%BA&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">9<span class="point-title"><a href="https://www.baidu.com/s?wd=%E5%A4%9A%E5%9B%BD%E4%B8%8E%E5%8D%A1%E5%A1%94%E5%B0%94%E6%96%AD%E4%BA%A4&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">多国与卡塔尔断交<span class="point-state point-state-fall"><span class="point-index">44475<a href="https://www.baidu.com/s?wd=%E5%A4%9A%E5%9B%BD%E4%B8%8E%E5%8D%A1%E5%A1%94%E5%B0%94%E6%96%AD%E4%BA%A4&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">10<span class="point-title"><a href="https://www.baidu.com/s?wd=%E7%BE%8E%E9%A9%BB%E5%8D%8E%E5%A4%96%E4%BA%A4%E5%AE%98%E8%BE%9E%E8%81%8C&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">美驻华外交官辞职<span class="point-state point-state-rise"><span class="point-index">44394<a href="https://www.baidu.com/s?wd=%E7%BE%8E%E9%A9%BB%E5%8D%8E%E5%A4%96%E4%BA%A4%E5%AE%98%E8%BE%9E%E8%81%8C&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="top-wrap"><div class="top first-col" monkey="dy"><h2 class="title">电影<div class="points"><div class="point-hd clearfix"><span class="point-rank">排名<span class="point-title">关键词<span class="point-index">搜索指数<div class="point-bd"><div class="point clearfix"><span class="point-rank point-rank-top3">1<span class="point-title"><a href="https://www.baidu.com/s?wd=%E7%A5%9E%E5%A5%87%E5%A5%B3%E4%BE%A0&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">神奇女侠<span class="point-state point-state-fall"><span class="point-index">40981<a href="https://www.baidu.com/s?wd=%E7%A5%9E%E5%A5%87%E5%A5%B3%E4%BE%A0&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank point-rank-top3">2<span class="point-title"><a href="https://www.baidu.com/s?wd=%E5%BC%82%E6%98%9F%E8%A7%89%E9%86%92&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">异星觉醒<span class="point-state point-state-fall"><span class="point-index">15245<a href="https://www.baidu.com/s?wd=%E5%BC%82%E6%98%9F%E8%A7%89%E9%86%92&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank point-rank-top3">3<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%96%B0%E6%9C%A8%E4%B9%83%E4%BC%8A&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">新木乃伊<span class="point-state point-state-rise"><span class="point-index">7183<a href="https://www.baidu.com/s?wd=%E6%96%B0%E6%9C%A8%E4%B9%83%E4%BC%8A&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">4<span class="point-title"><a href="https://www.baidu.com/s?wd=%E4%B8%AD%E5%9B%BD%E6%8E%A8%E9%94%80%E5%91%98&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">中国推销员<span class="point-state point-state-rise"><span class="point-index">5890<a href="https://www.baidu.com/s?wd=%E4%B8%AD%E5%9B%BD%E6%8E%A8%E9%94%80%E5%91%98&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">5<span class="point-title"><a href="https://www.baidu.com/s?wd=%E8%8D%A1%E5%AF%87%E9%A3%8E%E4%BA%91&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">荡寇风云<span class="point-state point-state-fall"><span class="point-index">3006<a href="https://www.baidu.com/s?wd=%E8%8D%A1%E5%AF%87%E9%A3%8E%E4%BA%91&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">6<span class="point-title"><a href="https://www.baidu.com/s?wd=%E5%BC%82%E5%85%BD%E6%9D%A5%E8%A2%AD&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">异兽来袭<span class="point-state point-state-fall"><span class="point-index">2566<a href="https://www.baidu.com/s?wd=%E5%BC%82%E5%85%BD%E6%9D%A5%E8%A2%AD&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">7<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%9D%8E%E9%9B%B7%E5%92%8C%E9%9F%A9%E6%A2%85%E6%A2%85&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">李雷和韩梅梅<span class="point-state point-state-rise"><span class="point-index">1636<a href="https://www.baidu.com/s?wd=%E6%9D%8E%E9%9B%B7%E5%92%8C%E9%9F%A9%E6%A2%85%E6%A2%85&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">8<span class="point-title"><a href="https://www.baidu.com/s?wd=%E5%8C%97%E6%9E%81%E6%98%9F&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">北极星<span class="point-state point-state-fall"><span class="point-index">1139<a href="https://www.baidu.com/s?wd=%E5%8C%97%E6%9E%81%E6%98%9F&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">9<span class="point-title"><a href="https://www.baidu.com/s?wd=%E7%BE%8E%E5%A5%BD%E7%9A%84%E6%84%8F%E5%A4%96&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">美好的意外<span class="point-state point-state-fall"><span class="point-index">971<a href="https://www.baidu.com/s?wd=%E7%BE%8E%E5%A5%BD%E7%9A%84%E6%84%8F%E5%A4%96&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">10<span class="point-title"><a href="https://www.baidu.com/s?wd=%E5%A4%8F%E5%A4%A919%E5%B2%81%E7%9A%84%E8%82%96%E5%83%8F&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">夏天19岁的肖像<span class="point-state point-state-rise"><span class="point-index">783<a href="https://www.baidu.com/s?wd=%E5%A4%8F%E5%A4%A919%E5%B2%81%E7%9A%84%E8%82%96%E5%83%8F&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="top-wrap"><div class="top top-blue" monkey="dsj"><h2 class="title">电视剧<div class="points"><div class="point-hd clearfix"><span class="point-rank">排名<span class="point-title">关键词<span class="point-index">搜索指数<div class="point-bd"><div class="point clearfix"><span class="point-rank point-rank-top3">1<span class="point-title"><a href="https://www.baidu.com/s?wd=%E9%BE%99%E7%8F%A0%E4%BC%A0%E5%A5%87&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">龙珠传奇<span class="point-state point-state-fair"><span class="point-index">999788<a href="https://www.baidu.com/s?wd=%E9%BE%99%E7%8F%A0%E4%BC%A0%E5%A5%87&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank point-rank-top3">2<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%A5%9A%E4%B9%94%E4%BC%A0&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">楚乔传<span class="point-state point-state-rise"><span class="point-index">538848<a href="https://www.baidu.com/s?wd=%E6%A5%9A%E4%B9%94%E4%BC%A0&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank point-rank-top3">3<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%AC%A2%E4%B9%90%E9%A2%822&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">欢乐颂2<span class="point-state point-state-fall"><span class="point-index">257015<a href="https://www.baidu.com/s?wd=%E6%AC%A2%E4%B9%90%E9%A2%822&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">4<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%AC%A2%E4%B9%90%E9%A2%82&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">欢乐颂<span class="point-state point-state-fall"><span class="point-index">176799<a href="https://www.baidu.com/s?wd=%E6%AC%A2%E4%B9%90%E9%A2%82&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">5<span class="point-title"><a href="https://www.baidu.com/s?wd=%E8%81%8C%E5%9C%BA%E6%98%AF%E4%B8%AA%E6%8A%80%E6%9C%AF%E6%B4%BB&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">职场是个技术活<span class="point-state point-state-rise"><span class="point-index">73102<a href="https://www.baidu.com/s?wd=%E8%81%8C%E5%9C%BA%E6%98%AF%E4%B8%AA%E6%8A%80%E6%9C%AF%E6%B4%BB&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">6<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%8B%A9%E5%A4%A9%E8%AE%B0&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">择天记<span class="point-state point-state-fall"><span class="point-index">67290<a href="https://www.baidu.com/s?wd=%E6%8B%A9%E5%A4%A9%E8%AE%B0&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">7<span class="point-title"><a href="https://www.baidu.com/s?wd=%E7%BE%8E%E9%A3%9F%E5%A4%A7%E5%86%92%E9%99%A9&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">美食大冒险<span class="point-state point-state-rise"><span class="point-index">61792<a href="https://www.baidu.com/s?wd=%E7%BE%8E%E9%A3%9F%E5%A4%A7%E5%86%92%E9%99%A9&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">8<span class="point-title"><a href="https://www.baidu.com/s?wd=%E5%BA%9F%E6%9F%B4%E5%85%84%E5%BC%9F&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">废柴兄弟<span class="point-state point-state-rise"><span class="point-index">50419<a href="https://www.baidu.com/s?wd=%E5%BA%9F%E6%9F%B4%E5%85%84%E5%BC%9F&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">9<span class="point-title"><a href="https://www.baidu.com/s?wd=%E4%BA%BA%E6%B0%91%E7%9A%84%E5%90%8D%E4%B9%89&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">人民的名义<span class="point-state point-state-fall"><span class="point-index">46353<a href="https://www.baidu.com/s?wd=%E4%BA%BA%E6%B0%91%E7%9A%84%E5%90%8D%E4%B9%89&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">10<span class="point-title"><a href="https://www.baidu.com/s?wd=%E4%B8%89%E7%94%9F%E4%B8%89%E4%B8%96%E5%8D%81%E9%87%8C%E6%A1%83%E8%8A%B1&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">三生三世十里桃花<span class="point-state point-state-rise"><span class="point-index">24386<a href="https://www.baidu.com/s?wd=%E4%B8%89%E7%94%9F%E4%B8%89%E4%B8%96%E5%8D%81%E9%87%8C%E6%A1%83%E8%8A%B1&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="top-wrap"><div class="top top-yellow" monkey="zy"><h2 class="title">综艺<div class="points"><div class="point-hd clearfix"><span class="point-rank">排名<span class="point-title">关键词<span class="point-index">搜索指数<div class="point-bd"><div class="point clearfix"><span class="point-rank point-rank-top3">1<span class="point-title"><a href="https://www.baidu.com/s?wd=%E5%8F%98%E5%BD%A2%E8%AE%A1&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">变形计<span class="point-state point-state-fall"><span class="point-index">223319<a href="https://www.baidu.com/s?wd=%E5%8F%98%E5%BD%A2%E8%AE%A1&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank point-rank-top3">2<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%9D%A5%E5%90%A7%E5%86%A0%E5%86%9B&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">来吧冠军<span class="point-state point-state-fall"><span class="point-index">151641<a href="https://www.baidu.com/s?wd=%E6%9D%A5%E5%90%A7%E5%86%A0%E5%86%9B&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank point-rank-top3">3<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%8B%9C%E6%89%98%E4%BA%86%E5%86%B0%E7%AE%B1&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">拜托了冰箱<span class="point-state point-state-rise"><span class="point-index">149596<a href="https://www.baidu.com/s?wd=%E6%8B%9C%E6%89%98%E4%BA%86%E5%86%B0%E7%AE%B1&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">4<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%98%86%E4%BB%91%E5%86%B3&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">昆仑决<span class="point-state point-state-fall"><span class="point-index">139633<a href="https://www.baidu.com/s?wd=%E6%98%86%E4%BB%91%E5%86%B3&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">5<span class="point-title"><a href="https://www.baidu.com/s?wd=%E5%A4%A9%E7%94%9F%E6%98%AF%E4%BC%98%E6%88%91&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">天生是优我<span class="point-state point-state-fall"><span class="point-index">124472<a href="https://www.baidu.com/s?wd=%E5%A4%A9%E7%94%9F%E6%98%AF%E4%BC%98%E6%88%91&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">6<span class="point-title"><a href="https://www.baidu.com/s?wd=%E5%A7%90%E5%A7%90%E5%A5%BD%E9%A5%BF&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">姐姐好饿<span class="point-state point-state-rise"><span class="point-index">99619<a href="https://www.baidu.com/s?wd=%E5%A7%90%E5%A7%90%E5%A5%BD%E9%A5%BF&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">7<span class="point-title"><a href="https://www.baidu.com/s?wd=%E8%84%91%E5%8A%9B%E7%94%B7%E4%BA%BA%E6%97%B6%E4%BB%A3&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">脑力男人时代<span class="point-state point-state-fall"><span class="point-index">68735<a href="https://www.baidu.com/s?wd=%E8%84%91%E5%8A%9B%E7%94%B7%E4%BA%BA%E6%97%B6%E4%BB%A3&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">8<span class="point-title"><a href="https://www.baidu.com/s?wd=%E5%A5%94%E8%B7%91%E5%90%A7%E5%85%84%E5%BC%9F&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">奔跑吧兄弟<span class="point-state point-state-fall"><span class="point-index">61903<a href="https://www.baidu.com/s?wd=%E5%A5%94%E8%B7%91%E5%90%A7%E5%85%84%E5%BC%9F&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">9<span class="point-title"><a href="https://www.baidu.com/s?wd=%E6%88%91%E6%83%B3%E5%92%8C%E4%BD%A0%E5%94%B1&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">我想和你唱<span class="point-state point-state-rise"><span class="point-index">59249<a href="https://www.baidu.com/s?wd=%E6%88%91%E6%83%B3%E5%92%8C%E4%BD%A0%E5%94%B1&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail"><div class="point clearfix"><span class="point-rank">10<span class="point-title"><a href="https://www.baidu.com/s?wd=%E7%8E%AB%E7%91%B0%E4%B9%8B%E6%97%85&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-title-link">玫瑰之旅<span class="point-state point-state-rise"><span class="point-index">50425<a href="https://www.baidu.com/s?wd=%E7%8E%AB%E7%91%B0%E4%B9%8B%E6%97%85&amp;ie=utf-8&amp;tn=sitehao123_03" rel="external nofollow" rel="external nofollow" target="_blank" class="point-detail">

Feedback">
Feedbackbg">

<div class="c-footer w1190 " monkey="erji-footer"><div class="container"><div class="left-wrap clearfix"><a href="https://www.hao123.com" rel="external nofollow" rel="external nofollow" class="logo" target="_blank" monkey="logo">hao123 上网导航第一品牌<div class="bottom-nav" monkey="nav"><a href="http://www.hao123.com/abouthao123.htm" rel="external nofollow" class="item" target="_target">关于我们<a href="http://www.hao123.com/redian/problem.htm" rel="external nofollow" class="item" target="_taregt">常见问题<a href="http://www.hao123.com/feedback" rel="external nofollow" rel="external nofollow" class="item" target="_blank">反馈意见<a href="http://www.hao123.com/sitemap" rel="external nofollow" class="item" target="_blank">全站地图<span class="item">京ICP证030173号<div class="right-wrap"><div class="extend-nav clearfix" monkey="tools"><a href="http://www.hao123.com/shouji" rel="external nofollow" class="item" target="_blank"><i class="icon-phone">下载
手机端
<a href="javascript:;" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="item" target="_black" data-hook="addBookmark"><i class="icon-collect">收藏
本站

<script type="text/javascript" src="http://s0.hao123img.com/res/js/common/as.min.js?_=2434"&gt;

<script src="http://s2.hao123img.com/resource/fe/js/lib/main.5a7c104a8.js"&gt;
@H_30125@BigPipe.lazyPagelets = [];
@H
301_25@BigPipe.loadedResource(["5a7c104a8_7959","d8b3cc9ac_29e3","38645dd_f7dd","8d1d978b0_a316","6cca09af6_f07f","a0832ac19_fb25","25330c25d_ce62","deba0d4c0_c8fe","1c81d5fc6_a695","0c7877e81_8719","6e9548c75_e646","38645dd_0f3e","3f6d691_9321","4d7a174_ccfc","9e71d5b_bed3","b016c1d_d1a3","e073b71_9403","77f7c66_45f3","95a1383250731"]);@H301_25@BigPipe.hooks["__cb_0_1"]=function(){'use strict';

var $ = require('fe:widget/js/base/jquery.js');
var fixreferrer = require('fe:widget/js/base/fixreferrer.js');
HAO.https && fixreferrer.init($(document));
};
@H_301_25@BigPipe.hooks["cb_02"]=function(){'use strict';
var $ = require('fe:widget/js/base/jquery.js');$('div[data-hook="sitemap"]').on('mouseenter',function (e) {$(this).addClass('sitemap-hover');}).on('mouseleave',function (e) {$(this).removeClass('sitemap-hover');});};
@H
301_25@BigPipe.hooks["__cb_03"]=function(){'use strict';
var $ = require('fe:widget/js/base/jquery.js');var Search = require('fe:widget/js/base/search.js');var headerSearchInstance = new Search($('form[data-hook="search-form"]'));};
@H
301_25@BigPipe.hooks["
cb_04"]=function(){'use strict';
var $ = require('fe:widget/js/base/jquery.js');var events = require('fe:widget/js/lib/events.js');var login = require('fe:widget/js/base/login.js');var sethome = require('fe:widget/js/base/sethome.js');var $loginCon = $('div[data-hook="c-header-login"]');var $loginDrop = $('div[js-hook="popup-list"]');login.init();events.on('loginSuccess',function(userinfo) {$loginCon.addClass('success');$loginCon.find('.key .word').html(userinfo.userName);/ if ($loginCon.find('.key .word').width() >= 60) {$loginCon.find('.key .word').width(50);$loginDrop.outerWidth($loginCon.outerWidth());}/$('[data-hook=login]').removeAttr('data-hook');});$loginCon.mouseenter(function() {if($(this).hasClass('success')) {$(this).addClass('hover');}}).mouseleave(function() {$(this).removeClass('hover');});$('div[data-hhok="qrcode"]').on('mouseenter',function () {$(this).children('div').show();}).on('mouseleave',function () {$(this).children('div').hide();}).on('click',function (ev) {if ($(this).children('div').length > 0) {return false;}});if($('[data-hook=setHome]').length) {sethome.init();}};
@H
301_25@BigPipe.hooks["cb_05"]=function(){'use strict';
var $ = require('fe:widget/js/base/jquery.js');var popupWidth;$('div[data-hook="nav-more"]').on('mouseenter',function () {popupWidth = $(this).children('div').width();$(this).addClass('nav-more-hover');}).on('mouseleave',function () {$(this).removeClass('nav-more-hover');});};
@H
301_25@BigPipe.hooks["__cb_06"]=function(){'use strict';
var $ = require('fe:widget/js/base/jquery.js');var $v2Header = $('#erjiV2Header');var $fixedNav = $('#fixedNav');if ($v2Header.hasClass('v2-fixed') && !($.browser.msie && $.browser.version < 7)) {var offHeight = 0;$(window).scroll(function () {offHeight = $v2Header.offset().top + 60;if ($(window).scrollTop() >= offHeight) {if (!$fixedNav.hasClass('nav-v2-fixed')) {$fixedNav.addClass('nav-v2-fixed').find('li.cur').removeClass('cur').addClass('cur');}}else if ($fixedNav.hasClass('nav-v2-fixed')) {$fixedNav.removeClass('nav-v2-fixed').find('li.cur').removeClass('cur').addClass('cur');}});}};
@H
301_25@BigPipe.hooks["
cb_07"]=function(){'use strict';
var $ = require('fe:widget/js/base/jquery.js');var Slider = require('fe:widget/js/util/slider.js');new Slider($('.slider'));};
@H
301_25@BigPipe.hooks["cb_0_8"]=function(){'use strict';
if(typeof BAIDU_SS_HHRUN!='function'){var d=document;(d.getElementsByTagName('head')[0]||d.body).appendChild(d.createElement('script')).src='http://su.bdimg.com/static/dspui/js/ls.js?v='+~(-new Date()/5600e5)}else{BAIDU_SSHHRUN()}};
@H
301_25@BigPipe.hooks["__cb_09"]=function(){'use strict';
var lifttop = require('tuijian:widget/lift/lifttop.js');lifttop();};
@H
301_25@BigPipe.hooks["
cb_0_10"]=function(){'use strict';

window._bd_share_config = {
common : {
bdText : '',bdDesc : '',bdUrl : '',bdPic : ''
},share : {
"bdSize" : 24
},selectShare : [{
"bdselectMiniList" : ['tsina','weixin','qzone']
}]
};
(document.getElementsByTagName('head')[0]||document.body)
.appendChild(document.createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date());

var shareEvent = require('tuijian:widget/index/content/shareEvent.js');
shareEvent();
};
@H_301_25@BigPipe.hooks["__cb_011"]=function(){'use strict';
var addBookmark = require('fe:widget/js/base/addbookmark.js');addBookmark.init();};
@H
301_25@BigPipe.hooks["__cb_0_12"]=function(){'use strict';

(function initTrack(o){
var d = document;
var x = d.createElement("script");
x.src = HAO.httpsTrans('http://s0.hao123img.com/res/js/track.js') + '?'+~(new Date/36e5);
var a=[];
if(o){
for(var i in o){
a.push(i + ":" + (o[i]))
}
var config = a.join(";");
x.setAttribute("data-log-config",config);
var s = d.getElementsByTagName("script")[0].parentNode;
var p= s || d.head;
if(p) {
setTimeout(function() {
p.appendChild(x)
},0);
}
}
})({
pageId: window.pageId,page: window.pageId,level: 2,vp: window.pageVP || window.pageId,aid: window.aid || ''
});

window.js_track_loaded = function (success) {
if (success) {
window.js_track_loaded = null;
if (window.aid) {
/ globals Monkey /
Monkey && Monkey.set && Monkey.set('aid',window.aid);
}
}
};

// 跨站资源统计
/ (function (doc) {
var s = doc.createElement('script');
s.src = HAO.httpsTrans('http://s0.hao123img.com/res/js/fe/cspalog.js') + '?t=' + (+new Date);
var parent = doc.getElementsByTagName('script')[0].parentNode;
parent.appendChild(s);
})(document);
/
};
@H_301_25@BigPipe.hooks["__cb_0_13"]=function(){'use strict';

require.defer(["fe:widget/js/base/jquery.js","fe:widget/js/base/detect.js","tuijian:widget/index/kuaixun.js"],function ($,detect,kuaixun) {
$(document).ready(function() {
detect();
kuaixun.init();
});
});
};
@H_301_25@BigPipe.setResourceMap({"d8b3cc9ac_29e3":{"src":"http:\/\/s1.hao123img.com\/resource\/fe\/pkg\/aio-eef856ab5.231bb088c.css","type":"css","deps":[],"mods":["fe:resource\/css\/base.less"]},"38645dd_f7dd":{"src":"http:\/\/s2.hao123img.com\/resource\/tuijian\/css\/hotrank.38645dd.css","mods":["tuijian:resource\/css\/hotrank.less"]},"8d1d978b0_a316":{"src":"http:\/\/s1.hao123img.com\/resource\/fe\/widget\/ui\/header\/common\/v2\/header.8d1d978b0.css","mods":["fe:widget\/ui\/header\/common\/v2\/header.less"]},"6cca09af6_f07f":{"src":"http:\/\/s0.hao123img.com\/resource\/fe\/widget\/ui\/header\/common\/v2\/logo\/logo.6cca09af6.css","mods":["fe:widget\/ui\/header\/common\/v2\/logo\/logo.less"]},"a0832ac19_fb25":{"src":"http:\/\/s1.hao123img.com\/resource\/fe\/widget\/ui\/header\/common\/v2\/sitemap\/sitemap.a0832ac19.css","mods":["fe:widget\/ui\/header\/common\/v2\/sitemap\/sitemap.less"]},"25330c25d_ce62":{"src":"http:\/\/s2.hao123img.com\/resource\/fe\/widget\/ui\/header\/common\/v2\/adv\/adv.25330c25d.css","mods":["fe:widget\/ui\/header\/common\/v2\/adv\/adv.less"]},"deba0d4c0_c8fe":{"src":"http:\/\/s0.hao123img.com\/resource\/fe\/widget\/ui\/header\/common\/v2\/form\/form.deba0d4c0.css","mods":["fe:widget\/ui\/header\/common\/v2\/form\/form.less"]},"1c81d5fc6_a695":{"src":"http:\/\/s0.hao123img.com\/resource\/fe\/widget\/ui\/header\/common\/v2\/tools\/tools.1c81d5fc6.css","mods":["fe:widget\/ui\/header\/common\/v2\/tools\/tools.less"]},"0c7877e81_8719":{"src":"http:\/\/s2.hao123img.com\/resource\/fe\/widget\/ui\/header\/common\/v2\/nav\/nav.0c7877e81.css","mods":["fe:widget\/ui\/header\/common\/v2\/nav\/nav.less"]},"6e9548c75_e646":{"src":"http:\/\/s2.hao123img.com\/resource\/fe\/widget\/ui\/header\/common\/v2\/tuiguang\/tuiguang.6e9548c75.css","mods":["fe:widget\/ui\/header\/common\/v2\/tuiguang\/tuiguang.less"]},"38645dd_0f3e":{"src":"http:\/\/s0.hao123img.com\/resource\/tuijian\/widget\/index\/hotrank\/hotrank.38645dd.css","mods":["tuijian:widget\/index\/hotrank\/hotrank.less"]},"3f6d691_9321":{"src":"http:\/\/s2.hao123img.com\/resource\/tuijian\/widget\/index\/hotrank\/index\/slider\/slider.3f6d691.css","mods":["tuijian:widget\/index\/hotrank\/index\/slider\/slider.less"]},"4d7a174_ccfc":{"src":"http:\/\/s0.hao123img.com\/resource\/tuijian\/widget\/index\/hotrank\/common\/slider\/slider.4d7a174.css","mods":["tuijian:widget\/index\/hotrank\/common\/slider\/slider.less"]},"9e71d5b_bed3":{"src":"http:\/\/s0.hao123img.com\/resource\/tuijian\/widget\/index\/hotrank\/index\/news\/news.9e71d5b.css","mods":["tuijian:widget\/index\/hotrank\/index\/news\/news.less"]},"b016c1d_d1a3":{"src":"http:\/\/s1.hao123img.com\/resource\/tuijian\/widget\/index\/hotrank\/index\/fyb\/fyb.b016c1d.css","mods":["tuijian:widget\/index\/hotrank\/index\/fyb\/fyb.less"]},"e073b71_9403":{"src":"http:\/\/s0.hao123img.com\/resource\/tuijian\/widget\/index\/hotrank\/index\/top\/top.e073b71.css","mods":["tuijian:widget\/index\/hotrank\/index\/top\/top.less"]},"77f7c66_45f3":{"src":"http:\/\/s0.hao123img.com\/resource\/tuijian\/widget\/lift\/lift.77f7c66.css","mods":["tuijian:widget\/lift\/lift.less"]},"95a138325_0731":{"src":"http:\/\/s2.hao123img.com\/resource\/fe\/pkg\/aio-8155b5719.3dd99d32e.css","mods":["fe:widget\/ui\/footer\/common\/footer.less"]},"ed29b1dff_99f2":{"src":"http:\/\/s1.hao123img.com\/resource\/fe\/pkg\/aio-752ba7752.ed29b1dff.js","type":"js","mods":["fe:widget\/js\/base\/jquery.js"]},"499abaa0e_acda":{"src":"http:\/\/s0.hao123img.com\/resource\/fe\/pkg\/aio-eef856ab5.499abaa0e.js","deps":["ed29b1dff_99f2","15f327f0a_5d72"],"mods":["fe:widget\/js\/base\/browser.js","fe:widget\/js\/base\/fixreferrer.js"]},"15f327f0a_5d72":{"src":"http:\/\/s0.hao123img.com\/resource\/fe\/pkg\/aio-95cc3013d.15f327f0a.js","deps":["ed29b1dff_99f2"],"mods":["fe:widget\/js\/base\/cookie.js"]},"331938377_b942":{"src":"http:\/\/s0.hao123img.com\/resource\/fe\/pkg\/aio-1c2d6f9f2.2b182a527.css","mods":["fe:widget\/ui\/header\/common\/header.less"]},"2009b1512_46d0":{"src":"http:\/\/s0.hao123img.com\/resource\/fe\/pkg\/aio-1c2d6f9f2.2009b1512.js","15f327f0a_5d72","331938377_b942"],"mods":["fe:widget\/js\/base\/sethome.js","fe:widget\/js\/lib\/events.js","fe:widget\/js\/base\/login.js","fe:widget\/js\/third\/arttemplate\/template-native.js","fe:widget\/js\/base\/autocomplete.js","fe:widget\/js\/base\/search.js","fe:widget\/ui\/header\/common\/header.js"]},"9a092a7f1_2a6f":{"src":"http:\/\/s0.hao123img.com\/resource\/fe\/widget\/js\/util\/slider.9a092a7f1.js","mods":["fe:widget\/js\/util\/slider.js"]},"f271c78_c7d7":{"src":"http:\/\/s0.hao123img.com\/resource\/tuijian\/widget\/lift\/lifttop.f271c78.js","mods":["tuijian:widget\/lift\/lifttop.js"]},"4d39d64_93de":{"src":"http:\/\/s1.hao123img.com\/resource\/tuijian\/widget\/index\/content\/shareEvent.4d39d64.js","mods":["tuijian:widget\/index\/content\/shareEvent.js"]},"3ac67f28c_b365":{"src":"http:\/\/s2.hao123img.com\/resource\/fe\/pkg\/aio-8155b5719.3ac67f28c.js","mods":["fe:widget\/js\/base\/addbookmark.js"]},"67402ee5d_d72b":{"src":"http:\/\/s2.hao123img.com\/resource\/fe\/widget\/js\/base\/track.67402ee5d.js","mods":["fe:widget\/js\/base\/track.js"]},"f97e9ecfd_31c5":{"src":"http:\/\/s1.hao123img.com\/resource\/fe\/widget\/js\/base\/detect.f97e9ecfd.js","deps":["67402ee5d_d72b"],"mods":["fe:widget\/js\/base\/detect.js"]},"2e29525_fe44":{"src":"http:\/\/s1.hao123img.com\/resource\/tuijian\/widget\/index\/kuaixun.2e29525.js","mods":["tuijian:widget\/index\/kuaixun.js"]},"5a7c104a87959":{"src":"http:\/\/s2.hao123img.com\/resource\/fe\/js\/lib\/main.5a7c104a8.js","mods":["fe:resource\/js\/lib\/main.js"]}});
@H
301_25@BigPipe.onPageletArrive({"id":null,"children":[],"renderMode":"default","parent":null,"deps":{"beforedisplay":["d8b3cc9ac_29e3","95a138325_0731"],"load":["ed29b1dff_99f2","499abaa0e_acda","2009b1512_46d0","9a092a7f1_2a6f","f271c78_c7d7","4d39d64_93de","3ac67f28c_b365"]},"hooks":{"load":["cb_0_1","cb_0_2","cb_0_3","cb_0_4","cb_0_5","cb_0_6","cb_0_7","cb_0_8","cb_0_9","cb_0_10","cb_0_11","cb_0_12","__cb_0_13"]}});

@H_301_25@ var _trace_page_logid = 2434336151;

筛选数据

以网页中的综艺热点部分

相关源代码如下

  通过分析可知,‘综艺'模块与其他模块都位于

名称位于

cheerio

我们怎么从源代码获取到有用的数据呢?首先,nodeJS不支持document对象。如果要使用笨办法,只能使用正则表达式来处理

cheerio 是nodejs特别为服务端定制的,能够快速灵活的对JQuery核心进行实现。它工作于DOM模型上,且解析、操作、呈送都很高效

【安装】

@H_529_403@

【使用】

它的使用方法和jQuery相当类似,上手非常容易。以获取综艺热度前10名的节目名称为例

搜索量前10的综艺节目标题 var result = []; //将页面代码转换为$对象 var $ = cheerio.load(data); //查找每个综艺节目标题的外层div var temp_arr = $('[monkey = "zy"]').find('.point-bd').find('.point-title'); //将综艺节目标题依次保存到结果数组中 temp_arr.each(function(index,item){ result.push($(item).text()); }) //[ '变形计','来吧冠军','拜托了冰箱','昆仑决','天生是优我','姐姐好饿','脑力男人时代','奔跑吧兄弟','我想和你唱','玫瑰之旅' ] console.log(result); }

爬虫代码

下面将hao123网页中的'实时热点'、'今日热点'、'民生热点'、'电影'、'电视剧'、'综艺'这6部分的排名爬下来,分别到对象名为'result'中的数组中,分别命令为'ss'、'jr'、'ms'、'dy'、'dsj'、'zy'

代码如下】

搜索量前10的名称 //对象名为榜单名,如'实时热点' //对象内容为10个标题名称组成的数组 var result = {}; //将页面代码转换为$对象 var $ = cheerio.load(data); //查找'实时热点'、'今日热点'、'民生热点'、'电影'、'电视剧'、'综艺'这6个榜单所在的div var temp_div = $('.top-wrap');

//保存榜单名称
var temp_title = [];

temp_div.each(function(index,item){
//查找榜单名,并保存到temp_title文件夹中
temp_title.push($(item).find('h2').text());

//查找每类下每个标题的外层div
var temp_arr = $(item).find('.point-bd').find('.point-title');

//将result下的每个榜单初始化为一个数组
var innerResult = result[temp_title[index]] = [];

//将节目标题依次保存到相应榜单的数组中
temp_arr.each(function(_index,_item){
innerResult.push($(_item).text())
})
})
console.log(result);
}

【结果如下】

以上这篇nodeJS实现简单网页爬虫功能的实例(分享)就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持编程之家。

nodeJS实现网页爬虫

猜你在找的Node.js相关文章