query 0.1.13 → 0.1.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/query/engine/baidu.rb +18 -9
- data/lib/query/result/baidu.rb +8 -3
- data/lib/query/result/qihu.rb +4 -3
- data/lib/query/result/sogou.rb +3 -1
- data/lib/query/result.rb +2 -1
- data/lib/query/version.rb +1 -1
- data/lib/query.rb +6 -0
- data/spec/baidu3.rb +149 -0
- data/spec/samples/baidu3.html +79 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dc06bdb2e9ceede735de7b49f1a89fc1345e53a
|
4
|
+
data.tar.gz: 9befecea56311f4d67213a3f248a572f80d30f71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 575ca83cd88cfefe3de691e7ed65708482a3436c80993b14f41a2fe24fd910de820e4da006e6081467abaf4a891a2dfeb079e7f0726de3c21773c6d8ffefa882
|
7
|
+
data.tar.gz: 2c28dc21761d5fa6d83f85044dfe93129e4164e4ec4ade8401c2bc5ec8adb322d827960a1c3aea6ab2ae3ec0fc46100fe941f68b2130555e1e79d8660165aadd
|
data/lib/query/engine/baidu.rb
CHANGED
@@ -2,6 +2,7 @@ module Query
|
|
2
2
|
module Engine
|
3
3
|
class Baidu
|
4
4
|
include Query::Engine
|
5
|
+
Host = 'www.baidu.com'
|
5
6
|
BaseUri = 'http://www.baidu.com/s?'
|
6
7
|
Options = {
|
7
8
|
:headers => {"User-Agent" => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11'}
|
@@ -41,13 +42,17 @@ module Query
|
|
41
42
|
return HTTParty.get("http://index.baidu.com/main/word.php?word=#{URI.encode(wd.encode("GBK"))}").include?"boxFlash"
|
42
43
|
end
|
43
44
|
|
44
|
-
def self.query(wd)
|
45
|
+
def self.query(wd,params={})
|
45
46
|
q = Array.new
|
46
|
-
q << "wd=#{wd}"
|
47
|
+
q << "wd=#{URI.encode(wd)}"
|
47
48
|
q << "rn=#{@perpage.to_i}" if @perpage
|
49
|
+
params.each do |k,v|
|
50
|
+
q << "#{k.to_s}=#{v.to_s}"
|
51
|
+
end
|
48
52
|
queryStr = q.join("&")
|
49
53
|
#uri = URI.encode((BaseUri + queryStr).encode('GBK'))
|
50
|
-
uri = URI.encode((BaseUri + queryStr))
|
54
|
+
# uri = URI.encode((BaseUri + queryStr))
|
55
|
+
uri = URI::HTTP.build(:host=>Host,:path=>'/s',:query=>q.join('&'))
|
51
56
|
# begin
|
52
57
|
# @page = @a.get uri
|
53
58
|
@page = HTTParty.get(uri,Options)
|
@@ -73,18 +78,22 @@ module Query
|
|
73
78
|
end
|
74
79
|
|
75
80
|
#site:xxx.yyy.com
|
76
|
-
def
|
77
|
-
query("site:#{host}")
|
81
|
+
def self.query_within(host,query)
|
82
|
+
self.query("#{query} site:#{host}")
|
83
|
+
end
|
84
|
+
|
85
|
+
def self.pages(host)
|
86
|
+
self.query("site:#{host}")
|
78
87
|
end
|
79
88
|
|
80
89
|
#domain:xxx.yyy.com/path/file.html
|
81
|
-
def links(uri)
|
82
|
-
query("domain:\"#{uri}\"")
|
90
|
+
def self.links(uri)
|
91
|
+
self.query("domain:\"#{uri}\"")
|
83
92
|
end
|
84
93
|
|
85
94
|
#site:xxx.yyy.com inurl:zzz
|
86
|
-
def pages_with(host,string)
|
87
|
-
query("site:#{host} inurl:#{string}")
|
95
|
+
def self.pages_with(host,string)
|
96
|
+
self.query("site:#{host} inurl:#{string}")
|
88
97
|
end
|
89
98
|
end
|
90
99
|
end
|
data/lib/query/result/baidu.rb
CHANGED
@@ -4,7 +4,7 @@ module Query
|
|
4
4
|
include Query::Result
|
5
5
|
def seo_ranks
|
6
6
|
return @ranks unless @ranks.nil?
|
7
|
-
@page.search("//*[@class='result']|//*[@class='result-op']|//*[@class='result-op c-container']").map.with_index do |table,index|
|
7
|
+
@page.search("//*[@class='result']|//*[@class='result-op']|//*[@class='result-op c-container']|//*[@class='result c-container']").map.with_index do |table,index|
|
8
8
|
parse_seo(table).merge({:rank => index + 1})
|
9
9
|
end
|
10
10
|
end
|
@@ -63,7 +63,9 @@ module Query
|
|
63
63
|
end
|
64
64
|
|
65
65
|
def next_url
|
66
|
-
@page.search("//a[text()='下一页>']")
|
66
|
+
next_btn = @page.search("//a[text()='下一页>']")
|
67
|
+
return false if next_btn.empty?
|
68
|
+
next_btn.first['href']
|
67
69
|
end
|
68
70
|
|
69
71
|
private
|
@@ -91,9 +93,12 @@ module Query
|
|
91
93
|
else
|
92
94
|
host = nil
|
93
95
|
end
|
96
|
+
href = table.search('a').first['href']
|
97
|
+
href = href.strip if href
|
98
|
+
|
94
99
|
{
|
95
100
|
:text => table.search("h3").first.text.strip,
|
96
|
-
:href =>
|
101
|
+
:href => href,
|
97
102
|
:host => host
|
98
103
|
}
|
99
104
|
end
|
data/lib/query/result/qihu.rb
CHANGED
@@ -17,7 +17,8 @@ module Query
|
|
17
17
|
def ads_top
|
18
18
|
@page.search("//ul[@id='djbox']/li").map.with_index do |li,index|
|
19
19
|
a = li.search("a").first
|
20
|
-
href =
|
20
|
+
href = li.search("cite").first.text.downcase
|
21
|
+
|
21
22
|
{
|
22
23
|
:rank => index + 1,
|
23
24
|
:text => a.text,
|
@@ -34,8 +35,8 @@ module Query
|
|
34
35
|
def ads_right
|
35
36
|
@page.search("//ul[@id='rightbox']/li").map.with_index do |li,index|
|
36
37
|
a = li.search('a').first
|
37
|
-
next unless a['
|
38
|
-
href = CGI.parse(URI(a['
|
38
|
+
next unless a['e_href']
|
39
|
+
href = CGI.parse(URI(a['e_href']).query)['aurl'].first
|
39
40
|
host = Addressable::URI.parse(URI.encode(href)).host
|
40
41
|
{
|
41
42
|
:rank => index + 1,
|
data/lib/query/result/sogou.rb
CHANGED
data/lib/query/result.rb
CHANGED
@@ -31,6 +31,7 @@ module Query
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def next
|
34
|
+
return false unless next_url
|
34
35
|
@next_url = URI.join(@baseuri,next_url).to_s
|
35
36
|
next_page = HTTParty.get @next_url
|
36
37
|
next_page = self.class.new(next_page)
|
@@ -38,7 +39,7 @@ module Query
|
|
38
39
|
next_page.pagenumber = @pagenumber + 1
|
39
40
|
next_page.perpage = @perpage
|
40
41
|
r = next_page
|
41
|
-
r.baseuri = next_url
|
42
|
+
r.baseuri = @next_url
|
42
43
|
r
|
43
44
|
end
|
44
45
|
end
|
data/lib/query/version.rb
CHANGED
data/lib/query.rb
CHANGED
data/spec/baidu3.rb
ADDED
@@ -0,0 +1,149 @@
|
|
1
|
+
#coding:UTF-8
|
2
|
+
require 'spec_helper'
|
3
|
+
describe Query::Result::Baidu do
|
4
|
+
subject{Query::Result::Baidu.new(File.read($sample_baidu1))}
|
5
|
+
|
6
|
+
it "can click the next page button" do
|
7
|
+
subject.next_url.should == '/s?wd=%E5%90%8C%E7%A8%8B%E7%BD%91%E9%85%92%E5%BA%97%E9%A2%84%E8%AE%A2&pn=10&tn=baiduhome_pg&ie=utf-8&f=3&usm=2&rsv_page=1'
|
8
|
+
end
|
9
|
+
|
10
|
+
specify{subject.count.should == 69200000 }
|
11
|
+
|
12
|
+
|
13
|
+
describe '#seo_ranks' do
|
14
|
+
it "puts www.17u.cn to be on first" do
|
15
|
+
subject.seo_ranks.first[:host].should == 'www.17u.cn'
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should put 同程旅游网客服电话 to be the first title" do
|
19
|
+
subject.seo_ranks.first[:text].should == '同程旅游网客服电话'
|
20
|
+
end
|
21
|
+
|
22
|
+
it "should put 'http://www.17u.cn/' to be the second url" do
|
23
|
+
subject.seo_ranks[1][:href].should == 'http://www.17u.cn/'
|
24
|
+
end
|
25
|
+
|
26
|
+
it "should have href,text,host elements for each seo result" do
|
27
|
+
subject.seo_ranks.each do |seo_rank|
|
28
|
+
seo_rank[:href].should_not == nil
|
29
|
+
seo_rank[:text].should_not == nil
|
30
|
+
seo_rank[:host].should_not == nil
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
describe '#ads_top' do
|
36
|
+
specify{subject.ads_top.size.should == 3 }
|
37
|
+
|
38
|
+
it "should find hotel.elong.com at the first position in the top ads" do
|
39
|
+
subject.ads_top[0][:host].should == 'www.17u.cn'
|
40
|
+
end
|
41
|
+
|
42
|
+
it "has an array of hashes with the required keys as the result of ads_top" do
|
43
|
+
subject.ads_top.class.should == Array
|
44
|
+
subject.ads_top.each do |ad_top|
|
45
|
+
ad_top.should have_key(:rank)
|
46
|
+
ad_top.should have_key(:host)
|
47
|
+
ad_top.should have_key(:href)
|
48
|
+
ad_top.should have_key(:text)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe '#ads_right' do
|
54
|
+
specify{subject.ads_right.size.should == 5 }
|
55
|
+
|
56
|
+
it "has an array of hashes with the required keys as the result of ads_right" do
|
57
|
+
subject.ads_right.class.should == Array
|
58
|
+
subject.ads_right.each do |ad_right|
|
59
|
+
ad_right.should have_key(:rank)
|
60
|
+
ad_right.should have_key(:host)
|
61
|
+
ad_right.should have_key(:href)
|
62
|
+
ad_right.should have_key(:text)
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
describe '#ads_bottom' do
|
68
|
+
specify {subject.ads_bottom.size.should == 3 }
|
69
|
+
|
70
|
+
it "has an array of hashes with the required keys as the result of ads_bottom" do
|
71
|
+
subject.ads_bottom.class.should == Array
|
72
|
+
subject.ads_bottom.each do |ad_bottom|
|
73
|
+
ad_bottom.should have_key(:rank)
|
74
|
+
ad_bottom.should have_key(:host)
|
75
|
+
ad_bottom.should have_key(:href)
|
76
|
+
ad_bottom.should have_key(:text)
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
__END__
|
82
|
+
describe Query::Engine::Baidu do
|
83
|
+
page = Query::Engine::Baidu.query '百度'
|
84
|
+
|
85
|
+
it "should return Query::Result::Baidu" do
|
86
|
+
page.class.should == Query::Result::Baidu
|
87
|
+
end
|
88
|
+
|
89
|
+
it "should return 100,000,000" do
|
90
|
+
page.count.should > 100000
|
91
|
+
end
|
92
|
+
it "should return 1" do
|
93
|
+
page.rank('www.baidu.com').should == 1
|
94
|
+
end
|
95
|
+
|
96
|
+
it "should return Query::Result::Baidu" do
|
97
|
+
page.next.class.should == Query::Result::Baidu
|
98
|
+
end
|
99
|
+
|
100
|
+
it "should return true" do
|
101
|
+
bool = Query::Engine::Baidu.popular?'百度'
|
102
|
+
bool.should == true
|
103
|
+
end
|
104
|
+
|
105
|
+
it "should return false" do
|
106
|
+
bool = Query::Engine::Baidu.popular?'lavataliuming'
|
107
|
+
bool.should == false
|
108
|
+
end
|
109
|
+
|
110
|
+
it "should return over 5 words beginning with the query_word" do
|
111
|
+
query_word = '为'
|
112
|
+
suggestions = Query::Engine::Baidu.suggestions(query_word)
|
113
|
+
suggestions.size.should > 5
|
114
|
+
suggestions.each do |suggestion|
|
115
|
+
suggestion[0].should == query_word
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
it "should return 100,000,000" do
|
120
|
+
result = baidu.pages('baidu.com')
|
121
|
+
result.class.should == Query::Result::Baidu
|
122
|
+
result.count.should == 100000000
|
123
|
+
end
|
124
|
+
|
125
|
+
it "should return 100,000,000" do
|
126
|
+
result = baidu.links('baidu.com')
|
127
|
+
result.class.should == Query::Result::Baidu
|
128
|
+
result.count.should == 100000000
|
129
|
+
end
|
130
|
+
it "should return 100,000,000" do
|
131
|
+
result = baidu.pages_with('baidu.com','baidu.com')
|
132
|
+
result.class.should == Query::Result::Baidu
|
133
|
+
result.count.should == 100000000
|
134
|
+
end
|
135
|
+
it "查询已经被收录的页面收录情况时,应返回true" do
|
136
|
+
baidu.indexed?('http://www.baidu.com').should == true
|
137
|
+
end
|
138
|
+
it "查询一个不存在的页面收录情况时,应返回true" do
|
139
|
+
baidu.indexed?('http://zxv.not-exists.com').should == false
|
140
|
+
end
|
141
|
+
page1 = Query::Engine::Baidu.query('seoaqua.com')
|
142
|
+
it "查询结果应该都能拿到title,href,host" do
|
143
|
+
page1.seo_ranks.each do |id,rank|
|
144
|
+
rank['href'].should_not == nil
|
145
|
+
rank['text'].should_not == nil
|
146
|
+
rank['host'].should_not == nil
|
147
|
+
end
|
148
|
+
end
|
149
|
+
end
|
@@ -0,0 +1,79 @@
|
|
1
|
+
<!Doctype html><html xmlns=http://www.w3.org/1999/xhtml><head><meta http-equiv=Content-Type content="text/html;charset=utf-8"><title>百度一下,你就知道 </title><style id="style_super_inline">body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0}html{color:#000;overflow-y:scoll;overflow:-moz-scrollbars-vertical}body,button,input,select,textarea{font-size:12px;font-family:arial,\5b8b\4f53,sans-serif}h1,h2,h3,h4,h5,h6{font-size:100%}em{font-style:normal}small{font-size:12px}ul,ol{list-style:none}a{text-decoration:none}a:hover{text-decoration:underline}legend{color:#000}fieldset,img{border:0}button,input,select,textarea{font-size:100%}table{border-collapse:collapse;border-spacing:0}img{-ms-interpolation-mode:bicubic}textarea{resize:vertical}.left{float:left}.right{float:right}.overflow{overflow:hidden}.hide{display:none}.block{display:block}.inline{display:inline}.error{color:#F00;font-size:12px}label,button{cursor:pointer}.grid-5,.grid-30,.grid-39,.grid-42,.grid-50,.grid-56,.grid-62,.grid-71,.grid-73,.grid-92,.grid-98{overflow:hidden;margin:0 auto;padding:0}.grid-5{width:50px}.grid-30{width:300px}.grid-39{width:390px}.grid-42{width:420px}.grid-50{width:500px}.grid-56{width:560px}.grid-62{width:620px}.grid-71{width:710px}.grid-73{width:730px}.grid-92{width:920px}.grid-98{width:980px}.clearfix:after{content:'\20';display:block;height:0;clear:both}.clearfix{zoom:1}.clear{clear:both;height:0;line-height:0;font-size:0;visibility:hidden;overflow:hidden}.wordwrap{word-break:break-all;word-wrap:break-word}pre.wordwrap{white-space:pre-wrap}body{text-align:center}body,form,#s_fm{position:relative}td{text-align:left}img{border:0}#u_sp{color:#999;padding:4px 10px 5px 0;text-align:right}#u_sp a{color:#00c;text-decoration:underline;margin:0 5px}#u_sp a.last{margin-right:0}#m{width:680px;margin:0 auto}#nv{margin:0 0 5px;_margin-bottom:4px;padding:2px 0 0;text-align:left;text-indent:72px}#nv a,#nv b{margin-left:12px}#nv a,#nv b,.btn,#lk{font-size:14px}#s_fm{text-align:left;padding-left:61px;z-index:300;height:35px}#kw1,.btn,.btn_wr,#mCon1{background:url(http://su.bdimg.com/static/superpage/img/spis.png?v=md5) no-repeat #fff}#kw1{width:529px;height:22px;padding:4px 7px;padding:6px 7px 2px\9;font:16px arial;border:1px solid #cdcdcd;border-color:#9a9a9a #cdcdcd #cdcdcd #9a9a9a;vertical-align:top;outline:none}.btn{width:95px;height:32px;padding:0;padding-top:2px\9;border:0;background-position:0 -35px;background-color:#ddd;cursor:pointer}.btn_h{background-position:-100px -35px}#kw1,.btn_wr{margin:0 3px 0 0}.btn_wr{background-position:-202px -33px;width:97px;height:34px;display:inline-block;_margin-top:1px}#lk{margin:33px 0}#lk span{font:14px "\5b8b\4f53"}#lh{margin:16px 0 5px;word-spacing:3px}#mCon1{position:absolute;right:5px;top:10px;height:15px;line-height:15px;width:25px;cursor:pointer;padding:0 16px 0 0;background-position:right -206px}#mCon1 span{color:#00c;cursor:default;display:block}#mCon1 .hw{text-decoration:underline;cursor:pointer}#mMenu1{width:56px;border:1px solid #9B9B9B;list-style:none;position:absolute;right:2px;top:28px;display:none;background:#fff;box-shadow:1px 1px 2px #ccc;-moz-box-shadow:1px 1px 2px #ccc;-webkit-box-shadow:1px 1px 2px #ccc;filter:progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color="#cccccc")\9}#mMenu1 a,#mMenu1 a:visited{color:#00C;width:100%;height:100%;display:block;line-height:22px;text-indent:6px;text-decoration:none;filter:none\9}#mMenu1 a:hover{background:#ebebeb}#mMenu1 .ln{height:1px;background:#ebebeb;overflow:hidden;font-size:1px;line-height:1px;margin-top:-1px}#cp,#cp a{color:#77c}#tb_mr{color:#00C;cursor:pointer;position:relative;z-index:200}#tb_mr b{font-weight:normal}#nv a,#tb_mr b{text-decoration:underline}#nv a{color:#00C}#hwr_div,#loading{z-index:3000}#mHolder1{display:none}#mHolder1 .c-icon{right:0;top:0;position:absolute;float:right;width:15px;height:15px}.user-name-top{cursor:pointer;line-height:20px;color:#00C;font-weight:bold;padding-right:11px;background:url(http://su.bdimg.com/static/superpage/img/spis.png?v=md5) no-repeat right -221px}html{overflow:-moz-scrollbars-vertical;overflow-y:scroll}.main{display:none}#s_feed{display:none}.s-ps-sug{border:1px solid #817F82;position:absolute;top:32px;left:0}.s-ps-sug table{width:100%;background:#fff;cursor:default}.s-ps-sug td{color:#000;font:14px arial;height:25px;line-height:25px;padding:0 8px}.s-ps-sug td b{color:#000}.s-ps-sug .mo{background:#ebebeb}.s-ps-sug .ml{background:#fff}.s-ps-sug td.sug_storage{color:#7A77C8}.s-ps-sug td.sug_storage b{color:#7A77C8}.s-ps-sug .sug_del{font-size:12px;color:#666;text-decoration:underline;float:right;cursor:pointer;display:none}.s-ps-sug .sug_del{font-size:12px;color:#666;text-decoration:underline;float:right;cursor:pointer;display:none}.s-ps-sug .mo .sug_del{display:block}.s-ps-sug .sug_ala{border-bottom:1px solid #e6e6e6}.s-ps-sug td h3{line-height:14px;margin:6px 0 4px 0;font-size:12px;font-weight:normal;color:#7B7B7B;padding-left:20px;background:url(img/sug_bd.png) no-repeat left center}.s-ps-sug td p{font-size:14px;font-weight:bold;padding-left:20px}.s-ps-sug td p span{font-size:12px;font-weight:normal;color:#7B7B7B}#s_user_center{font-weight:normal;background-position:right -223px\9}#s_user_center_menu{right:131px}</style><link rel=stylesheet id=s_superpage_css_lnk type=text/css href="http://su.bdimg.com/static/superpage/css/index_min_06223bf4.css"><link href="http://su.bdimg.com/static/nav/css/nav_min_1e6fb18e.css" type=text/css rel=stylesheet><link href="http://su.bdimg.com/static/msg/css/mt_min_b0183f3f.css" type=text/css rel=stylesheet><link href="http://su.bdimg.com/static/pack/css/supercube_21342e12.css" type=text/css rel=stylesheet><link href="http://su.bdimg.com/static/skin/css/skin_ccec15c6.css" type=text/css rel=stylesheet><script>
|
2
|
+
|
3
|
+
window.sysTime=1394012747;
|
4
|
+
</script><noscript><meta http-equiv=refresh content="0; url=http://www.baidu.com/baidu.html?from=noscript"></noscript></head><body><style>.bdsug{position:absolute;width:418px;background:#fff;display:none;border:1px solid #817F82}.bdsug li{width:402px;color:#000;font:14px arial;line-height:25px;padding:0 8px;position:relative;cursor:default}.bdsug li.bdsug-s{background:#ebebeb}#form1 .bdsug{top:31px}.bdsug-store span,.bdsug-store b{color:#7A77C8}.bdsug-store-del{font-size:12px;color:#666;text-decoration:underline;position:absolute;right:8px;top:0;cursor:pointer;display:none}.bdsug-s .bdsug-store-del{display:inline-block}.bdsug-ala{display:inline-block;border-bottom:1px solid #e6e6e6}.bdsug-ala h3{line-height:14px;background:url(http://www.baidu.com/img/sug_bd.png?v=94008675.png) no-repeat left center;margin:6px 0 4px 0;font-size:12px;font-weight:normal;color:#7B7B7B;padding-left:20px}.bdsug-ala p{font-size:14px;font-weight:bold;padding-left:20px}.bdsug-store span,.bdsug-store b{color:#7A77C8}.bdsug-store-del{font-size:12px;color:#666;text-decoration:underline;position:absolute;right:8px;top:0;cursor:pointer;display:none}.bdsug-s .bdsug-store-del{display:inline-block}.bdsug-ala{display:inline-block;border-bottom:1px solid #e6e6e6}.bdsug-ala h3{line-height:14px;background:url(http://www.baidu.com/img/sug_bd.png?v=94008675.png) no-repeat left center;margin:6px 0 4px 0;font-size:12px;font-weight:normal;color:#7B7B7B;padding-left:20px}.bdsug-ala p{font-size:14px;font-weight:bold;padding-left:20px}#form1 .bdsug{width:488px}#form1 .bdsug li{width:472px}#form .bdsug{width:536px}#form .bdsug li{width:520px}#u{color:#999;white-space:nowrap;position:absolute;right:10px;top:4px;_top:0;z-index:299;font-size:12px}#u a{color:#00c;margin:0 5px}#u .reg{margin:0}#u .last{margin-right:0}#u .un{font-weight:bold;margin-right:5px}#u ul{width:100%;background:#fff;border:1px solid #9b9b9b;box-shadow:1px 1px 2px #ccc;-moz-box-shadow:1px 1px 2px #ccc;-webkit-box-shadow:1px 1px 2px #ccc;filter:progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color="#cccccc")\9}#u li{height:25px}#u li a{width:100%;height:25px;line-height:25px;display:block;text-align:left;text-decoration:none;text-indent:6px;margin:0;filter:none\9}#u li a:hover{background:#ebebeb}#u li.nl{border-top:1px solid #ebebeb}#head{display:none}#content{display:none}#ftCon{display:none}#u_sp{display:none}#u{display:none}</style><div id=wrapper> <div id=content class="s-skin-user "> <div class=s-skin-container ></div> <p id=u_sp class=s-weather-border><a class=user-name-top id=s_username_top href=http://i.baidu.com>seoaqua</a>|<a href=/gaoji/preferences.html>搜索设置</a>|<a id=s_tradditional_link class=last href="/home/page/show/classic">传统首页</a></p><div id=s_username_menu class=s-username-menu style="display:none;right:134px;+right:132px;_right:131px;"><a href=http://i.baidu.com>个人中心</a><a href="http://passport.baidu.com/">帐号设置</a><a href=/home/page/show/setting>首页设置</a><a class=sep style=overflow:hidden href="https://passport.baidu.com/?logout&u=http://www.baidu.com">退出</a></div><div class=clear></div><div id=m style=width:720px><p id=lg> <img src="http://www.baidu.com/img/bdlogo.gif" width=270 height=129 ></p><p id=nv><a href=http://news.baidu.com>新闻</a><b>网页</b><a href=http://tieba.baidu.com>贴吧</a><a href=http://zhidao.baidu.com>知道</a><a href=http://music.baidu.com>音乐</a><a href=http://image.baidu.com>图片</a><a href=http://v.baidu.com>视频</a><a href=http://map.baidu.com>地图</a><a href=http://baike.baidu.com>百科</a><a href=http://wenku.baidu.com>文库</a><a style="font-family: \5b8b\4f53;" href=http://www.baidu.com/more/>更多>></a></p><div id=s_fm><form name=f id=form1 action=http://www.baidu.com/s onsubmit="javascript:F.call('ps/sug','pssubmit');"><input type=text name=wd id=kw1 maxlength=100 style="width:474px;" autocomplete=off><input type=hidden name=rsv_spt value=1> <input type=hidden name=issp value=1><input type=hidden name=rsv_bp value=0><input type=hidden name=ie value=utf-8><input type=hidden name=tn value=baiduhome_pg ><span class=btn_wr><input type=submit value="百度一下" id=su1 class=btn onmousedown="this.className='btn btn_h'" onmouseout="this.className='btn'"></span></form><span id=mHolder1><div id=mCon1><span>输入法</span></div></span><ul id=mMenu1><li><a href="javascript:;" name=ime_hw>手写</a><li><a href="javascript:;" name=ime_py>拼音</a><li class=ln><li><a href="javascript:;" name=ime_cl>关闭</a></ul></div><div id=s_lm></div></div><div id=lm style="display:none;" ></div><p class=s-skin-lm></p><div id=s_wrap style="margin:34px auto auto;"><div id=s_main class="main mod-main-old clearfix"> <div id=s_modules> <div class=s-notify-pnl> <div class=s-pk-mod data-pkid='31'> <div class=pk-content><div class=pk-loading>正在加载中...</div></div> </div> </div> <div style="display:none;" isViewMod="" class="mod-sc s-mod mod-pk-nav" id=s_mod_nav data-modid=1><a name=shortcut class=s-mod-hida id=shortcut> </a> <div class=s-container> <div class=s-title id=s_mod_nav_titleBar style=""> <a title="隐藏" id=s_mod_nav_close class="s-mod-close-view nav-close-pack" href="javascript:;"></a> <a id=s_mod_nav_b_settings href="javascript:;" onclick="return false;" title="编辑" class=s-mod-set-view hidefocus><b id=b_edit_text>编辑</b><em id=s_b_settings_icon> </em> </a> <a id=s_mod_nav_add class=s-shortcut-add href="javascript:;" onclick="return false;" hidefocus><em>添加</em></a><em class=s-mod-nav>我的导航</em><span class=s-nav-cur-edit-tab style="display:none;"></span><div class=s-title-bg></div></div> <div class=s-content id=s_mod_nav_content style="text-align: center;"> <div id=s_ndirect_area class="s-ndirect unshown"> <div class="s-nplus s-nused" id=s_nused_area> <div id=s_ncf_99 class=s-ncf> <div id=s_ncf_name_99 class=s-ncf-name> <a href="#" onclick="return false;" class=s-ncf-name-link title="常用" hidefocus>常用</a> </div> <ul id=s_ncf_navs_99 class=s-ncf-navs> </ul> </div> </div><div class="s-nplus s-nadded unshown" id=s_nadd_area><div id=s_ncf_100 class=s-ncf> <div id=s_ncf_name_100 class=s-ncf-name><a href="#" onclick="return false;" class=s-ncf-name-link title="最近添加" hidefocus>最近添加</a> </div> <ul id=s_ncf_navs_100 class=s-ncf-navs> </ul></div></div></div><div class="s-nori" id=s_nav_area> <ul class=s-nori-navs id=s_nori_navs_0> <li id="s_nav_11444400" class=s-nori-nav > <a href="http://video.baidu.com/v?word=%D6%B0%C0%B4%D6%B0%CD%F9" class=s-nav-name target=_blank title="职来职往" hidefocus> <img width=16 height=16 data-src="http://7.su.bdimg.com/icon/2558.png" > <em class=sc-dragitem>职来职往</em></a> <li id="s_nav_1003161" class=s-nori-nav > <a href="http://www.ename.net/" class=s-nav-name target=_blank title="易名中国" hidefocus> <img width=16 height=16 data-src="http://3.su.bdimg.com/icon/81194.png" > <em class=sc-dragitem>易名中国</em></a> <li id="s_nav_5878834" class=s-nori-nav > <a href="http://video.baidu.com/v?word=%D1%FD%BE%AB%B5%C4%CE%B2%B0%CD" class=s-nav-name target=_blank title="妖精的尾巴" hidefocus> <img width=16 height=16 data-src="http://7.su.bdimg.com/icon/2558.png" > <em class=sc-dragitem>妖精的尾巴</em></a> <li id="s_nav_11652946" class=s-nori-nav > <a href="http://app.hiapk.com/" class=s-nav-name target=_blank title="安卓软件" hidefocus> <img width=16 height=16 data-src="http://6.su.bdimg.com/icon/8685.png?1" > <em class=sc-dragitem>安卓软件</em></a> <li id="s_nav_5231814" class=s-nori-nav > <a href="http://www.hiapk.com/" class=s-nav-name target=_blank title="安卓网" hidefocus> <img width=16 height=16 data-src="http://6.su.bdimg.com/icon/8685.png?1" > <em class=sc-dragitem>安卓网</em></a> <li id="s_nav_9865847" class=s-nori-nav > <a href="http://video.baidu.com/v?word=%B7%C7%B3%A3%C1%CB%B5%C3" class=s-nav-name target=_blank title="非常了得" hidefocus> <img width=16 height=16 data-src="http://7.su.bdimg.com/icon/2558.png" > <em class=sc-dragitem>非常了得</em></a> <li id="s_nav_1994363" class=s-nori-nav > <a href="http://www.appchina.com/" class=s-nav-name target=_blank title="应用汇" hidefocus> <img width=16 height=16 data-src="http://8.su.bdimg.com/icon/7615.png" > <em class=sc-dragitem>应用汇</em></a> <li id="s_nav_10629230" class=s-nori-nav > <a href="http://www.gfan.com/" class=s-nav-name target=_blank title="机锋网" hidefocus> <img width=16 height=16 data-src="http://1.su.bdimg.com/icon/80488.png?1" > <em class=sc-dragitem>机锋网</em></a> <li id="s_nav_3909695" class=s-nori-nav > <a href="http://www.ledaojia.com/" class=s-nav-name target=_blank title="乐到家" hidefocus> <img width=16 height=16 data-src="http://8.su.bdimg.com/icon/90111.png" > <em class=sc-dragitem>乐到家</em></a> <li id="s_nav_4028844" class=s-nori-nav > <a href="http://pan.baidu.com/" class=s-nav-name target=_blank title="百度网盘" hidefocus> <img width=16 height=16 data-src="http://1.su.bdimg.com/icon/7656.png" > <em class=sc-dragitem>百度网盘</em></a> <li id=s_nori_add_btn class=s-nori-add-btn><a hidefocus href="#" onclick="return false;"></a> </ul> </div><div class=clear></div> <div class=clear></div> </div> </div></div> <div style="display:none; position: relative;" id=s_mod_topsearch class="mod-sc s-mod mod-pk-hot"> <a name=topsearch class=s-mod-hida id=hithot> </a> <div class=s-container> <div class=s-title id=s_mod_topsearch_titleBar style="cursor:default;"> <span class=s-hotwords-title>我的新闻</span> <a id=s_news_tab_hot href="#" hidefocus="" onclick="return false;" class="s-news-tab s-news-tab-hot s-news-tab-hover">热点</a> <em class="s-news-tab s-news-tab-delimitor">|</em> <a id=s_news_tab_idio href="#" hidefocus="" onclick="return false;" class="s-news-tab s-news-tab-idio">猜你喜欢</a> <a title="隐藏" id=s_mod_topsearch_close class=s-mod-close-view href="#" onclick="return false;" hidefocus=""></a><a id=s_news_hot_settings class=s-news-hot-settings href="#" onclick="return false;" hidefocus=""><b class=s-news-hot-intr>设置</b><em class=s-news-hot-ring></em></a><a id=s_news_idio_settings class=s-news-idio-settings href="#" onclick="return false;" hidefocus="" style="display:none;"><b class=s-news-idio-intr>兴趣标签</b><em class=s-news-idio-ring></em></a><div class=s-title-bg></div><div class=s-title-idio-guide id=s_title_idio_guide></div></div><div id=s_news_hot_wrapper class=s-news-hot-wrapper><div id=s_mod_picnews_content> <div class=s-mod-hotnews-img-controller> <a href="#" onclick="return false;" hidefocus="" id=s-mod-hotnews-img-prev></a> <a href="#" onclick="return false;" hidefocus="" id=s-mod-hotnews-img-next></a> </div> <div id=s_mod_hotnews_img_viewer class=s-hotnews-img-viewer><a href="http://photo.china.com.cn/2014lh/2014-03/05/content_31674564.htm" target=_blank><img height=240 width=440 class=imgitem data-src="http://g.hiphotos.baidu.com/news/pic/item/7a899e510fb30f24beae30b2ca95d143ad4b034f.jpg"></a><a href="http://photo.haiwainet.cn/n/2014/0305/c346083-20363788.html" target=_blank><img height=240 width=440 class=imgitem data-src="http://f.hiphotos.baidu.com/news/pic/item/48540923dd54564e1803c68bb1de9c82d1584f19.jpg"></a><a href="http://edu.gmw.cn/2014-03/05/content_10576238.htm" target=_blank><img height=240 width=440 class=imgitem data-src="http://a.hiphotos.baidu.com/news/pic/item/d52a2834349b033b103dc16817ce36d3d439bdce.jpg"></a><a href="http://baijia.baidu.com/" target=_blank><img height=240 width=440 class=imgitem data-src="http://b.hiphotos.baidu.com/news/pic/item/37d12f2eb9389b50dcf73ae38735e5dde7116e73.jpg"></a><a href="http://pic.people.com.cn/n/2014/0305/c1016-24533778.html" target=_blank><img height=240 width=440 class=imgitem data-src="http://b.hiphotos.baidu.com/news/pic/item/060828381f30e924932b47804e086e061c95f7f0.jpg"></a><a href="http://news.qq.com/a/20140305/008066.htm" target=_blank><img height=240 width=440 class=imgitem data-src="http://e.hiphotos.baidu.com/news/pic/item/8ad4b31c8701a18baf07cdfe9c2f07082938fe97.jpg"></a><a href="http://gb.cri.cn/42071/2014/03/05/5311s4448441.htm" target=_blank><img height=240 width=440 class=imgitem data-src="http://c.hiphotos.baidu.com/news/pic/item/4ec2d5628535e5dd6492936d74c6a7efcf1b62c1.jpg"></a><a href="http://photo.haiwainet.cn/n/2014/0305/c346083-20361699.html" target=_blank><img height=240 width=440 class=imgitem data-src="http://a.hiphotos.baidu.com/news/pic/item/a044ad345982b2b755a6e47533adcbef76099b42.jpg"></a></div> <div class=s-mod-hotnews-newstitle-mask></div> <div class=s-mod-hotnews-subnav> <a href="#" hidefocus="" onclick="return false;">0</a> <a href="#" hidefocus="" onclick="return false;">1</a> <a href="#" hidefocus="" onclick="return false;">2</a> <a href="#" hidefocus="" onclick="return false;">3</a> <a href="#" hidefocus="" onclick="return false;">4</a> <a href="#" hidefocus="" onclick="return false;">5</a> <a href="#" hidefocus="" onclick="return false;">6</a> <a class=active href="#" hidefocus="" onclick="return false;">7</a> </div> <div class=s-mod-hotnews-img-title><a href="http://photo.china.com.cn/2014lh/2014-03/05/content_31674564.htm" target=_blank>李克强首次作政府工作报告</a></div> </div><div id=s_mod_todaynews_content> <div class=rollnews-desc>[滚动新闻]</div> <div id=s_mod_hot_roll_wrapper class=rollnews-wrapper> <div> <a href="http://finance.qq.com/a/20140305/013583.htm" target=_blank>解读:十年首次未提房地产调控</a><span>|</span> <a href="http://news.sina.com.cn/c/2014-03-05/165029630924.shtml?qq-pf-to=pcqq.group" target=_blank>王岐山:有时候我也看韩剧</a><span>|</span> <a href="http://news.qq.com/a/20140305/019973.htm" target=_blank>交通部长:大交通部正在落实中</a><span>|</span> <a href="http://hotashang.baijia.baidu.com/article/6070" target=_blank>唯品会百亿美元市值难长久</a><span>|</span> <a href="http://yude.baijia.baidu.com/article/6006" target=_blank>正方|唯品会的成功不可复制</a><span>|</span> </div> </div></div><div class=s-mod-hotnews-btnbar><a target=_blank href=http://top.baidu.com/buzz?b=1 class=s-news-linkout-hotbtn hidefocus="">实时热点:</a><a title="换一换" class=s-hot-news-change-btn id=s-hotnews-change-btn href="#" onclick="return false;" hidefocus="">换一换</a></div><div id=s_mod_hotword_content info=0> <div id=s_hot_waiting_tips>精彩内容即将呈现...</div></div></div><div id=s_news_idio_wrapper class=s-news-idio-wrapper style="display:none;"><div id=s_news_idio_waiting class=s-news-idio-waiting>精彩内容即将呈现...</div><div class=s-news-idio-pics style="display: none"></div><div class=s-news-idio-list style="display: none"><ul id=s_news_idio_links></ul><div class=idio-change><a id=s-news-idio-prebtn class="change-pre unavailable" href="#" hidefocus="" onclick="return false;"><em class=uparrow></em>上一页</a><em class=unavailable>|</em><a id=s-news-idio-nxtbtn class="change-nxt unavailable" href="#" hidefocus="" onclick="return false;"><em class=downarrow></em>下一页</a></div></div></div> </div></div><textarea id="hot_allnews_data" style="display:none">
|
5
|
+
{"errNo":"0","hotWords" : [{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E6%B5%81%E6%B5%AA%E6%B1%89%E4%B9%B0%E5%BD%A9%E7%A5%A8%E4%B8%AD1720%E4%B8%87%E5%A4%A7%E5%A5%96","cut":"","key":"流浪汉买彩票中1720万大奖","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E6%A1%82%E6%9E%97%E5%AE%9D%E9%A9%AC%E5%A5%B3","cut":"","key":"桂林宝马女","isnew":"true","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E8%8B%B1%E5%9B%BD%E5%B0%8F%E5%81%B7%E6%8C%91%E6%88%98%E8%B5%9B","cut":"","key":"英国小偷挑战赛","isnew":"true","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E4%BB%A3%E8%A1%A8%E5%BB%BA%E8%AE%AE%E6%92%A4%E9%94%80%E5%9C%B0%E9%9C%87%E5%B1%80","cut":"","key":"代表建议撤销地震局","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E4%B8%9C%E5%8C%97%E8%99%8E%E8%A2%AB%E6%B8%B8%E5%AE%A2%E7%A0%B8%E4%BC%A4","cut":"","key":"东北虎被游客砸伤","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E4%BC%A0%E5%85%A8%E6%99%BA%E8%B4%A4%E6%94%B6%E5%B1%B1%E7%94%9F%E5%AD%90","cut":"","key":"传全智贤收山生子","isnew":"true","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E6%99%8B%E6%B5%8E%E9%AB%98%E9%80%9F%E5%BC%95%E5%8F%91%E7%88%86%E7%82%B8","cut":"","key":"晋济高速引发爆炸","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E5%90%89%E6%9E%97%E9%80%9A%E5%8B%A4%E8%BD%A6","cut":"","key":"吉林通勤车","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E8%B4%A2%E6%94%BF%E8%B5%A4%E5%AD%97","cut":"","key":"财政赤字","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E4%BF%9E%E4%BC%98%E9%9D%99%E7%85%A7%E7%89%87","cut":"","key":"俞优静照片","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E9%BE%99%E5%85%89%E5%9C%B0%E4%BA%A7%E7%BA%AA%E6%B5%B7%E9%B9%8F","cut":"","key":"龙光地产纪海鹏","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E5%85%89%E4%BC%8F%E7%94%B5%E7%AB%99%E6%A6%82%E5%BF%B5%E8%82%A1","cut":"","key":"光伏电站概念股","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E5%B7%A5%E8%A1%8C%E5%89%8D%E8%A1%8C%E9%95%BF%E7%94%A8%E4%BD%99%E9%A2%9D%E5%AE%9D","cut":"","key":"工行前行长用余额宝","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E6%B2%B3%E5%8D%97%E5%B9%BC%E5%84%BF%E5%9B%AD%E5%9D%8D%E5%A1%8C","cut":"","key":"河南幼儿园坍塌","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E5%A4%A7%E4%BA%A4%E9%80%9A%E9%83%A8","cut":"","key":"大交通部","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E4%B8%8A%E6%B5%B7%E5%B8%82%E4%BA%A4%E9%80%9A%E5%8F%91%E5%B1%95%E7%99%BD%E7%9A%AE%E4%B9%A6","cut":"","key":"上海市交通发展白皮书","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E6%9D%8E%E5%85%8B%E5%BC%BA%E6%94%BF%E5%BA%9C%E6%8A%A5%E5%91%8A","cut":"","key":"李克强政府报告","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E5%B9%BF%E4%B9%89%E8%B4%A7%E5%B8%81m2","cut":"","key":"广义货币m2","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E7%BE%8E%E5%9B%BD%E5%86%9B%E8%B4%B9","cut":"","key":"美国军费","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E9%BE%99%E5%85%89%E9%9B%86%E5%9B%A2","cut":"","key":"龙光集团","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E5%A5%B3%E6%9A%B4%E5%BE%92%E5%B7%B2%E6%B8%85%E9%86%92%E5%B9%B6%E6%8B%9B%E4%BE%9B","cut":"","key":"女暴徒已清醒并招供","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E6%9D%8E%E5%B0%8F%E7%90%B3%E4%BD%8E%E8%B0%83%E7%8E%B0%E8%BA%AB%E4%B8%A4%E4%BC%9A","cut":"","key":"李小琳低调现身两会","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E9%A9%AC%E4%BC%8A%E7%90%8D%E4%B8%8E%E7%BD%91%E5%8F%8B%E5%8F%A3%E6%B0%B4%E6%88%98","cut":"","key":"马伊琍与网友口水战","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=jeep%E8%87%AA%E7%94%B1%E4%BE%A0","cut":"","key":"jeep自由侠","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E7%94%B7%E5%AD%90%E5%81%B7%E6%8B%8D%E5%A5%B3%E6%80%A7%E8%A3%99%E5%BA%95%E8%A2%AB%E6%8A%93","cut":"","key":"男子偷拍女性裙底被抓","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E7%BA%A2%E9%9B%B7%E7%9B%92%E5%AD%90","cut":"","key":"红雷盒子","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E6%94%BF%E5%BA%9C%E5%B7%A5%E4%BD%9C%E6%8A%A5%E5%91%8A%E7%9B%B4%E6%92%AD","cut":"","key":"政府工作报告直播","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E6%9F%94%E7%BF%BC%E6%97%A0%E4%BA%BA%E6%9C%BA","cut":"","key":"柔翼无人机","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E8%B6%85%E6%97%A5%E5%80%BA%E8%BF%9D%E7%BA%A6","cut":"","key":"超日债违约","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E5%8D%81%E4%BA%8C%E5%B1%8A%E5%85%A8%E5%9B%BD%E4%BA%BA%E5%A4%A7%E5%BC%80%E5%B9%95","cut":"","key":"十二届全国人大开幕","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E6%9C%80%E7%BE%8E%E8%B6%B3%E7%90%83%E8%A3%81%E5%88%A4","cut":"","key":"最美足球裁判","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E7%94%B7%E4%BA%BA%E5%BF%85%E5%A4%87100%E9%A1%B9%E6%8A%80%E8%83%BD","cut":"","key":"男人必备100项技能","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E7%83%AD%E7%81%ABvs%E5%B1%B1%E7%8C%AB%E5%BD%95%E5%83%8F","cut":"","key":"热火vs山猫录像","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E5%AE%9E%E5%90%8D%E5%88%B6%E7%9F%BF%E6%B3%89%E6%B0%B4","cut":"","key":"实名制矿泉水","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E5%AD%99%E6%82%A6%E5%A6%BB%E5%AD%90%E9%99%88%E9%9C%B2","cut":"","key":"孙悦妻子陈露","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E4%B8%87%E5%B9%B4%E9%99%AA%E8%B7%91","cut":"","key":"万年陪跑","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E7%89%B9%E8%AD%A615%E7%A7%92","cut":"","key":"特警15秒","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E4%BF%84%E7%BD%97%E6%96%AF%E6%92%A4%E5%86%9B","cut":"","key":"俄罗斯撤军","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E6%9D%8E%E6%80%9D%E6%8D%B7+%E8%83%A1%E6%9D%8F%E5%84%BF","cut":"","key":"李思捷 胡杏儿","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E9%BE%99%E5%85%89%E5%9C%B0%E4%BA%A7","cut":"","key":"龙光地产","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=2014%E7%A6%8F%E5%B8%83%E6%96%AF%E5%AF%8C%E8%B1%AA%E6%A6%9C","cut":"","key":"2014福布斯富豪榜","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E7%BA%A2%E9%A2%9C%E9%9C%B2%E6%B0%B4","cut":"","key":"红颜露水","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E5%AD%A6%E9%9B%B7%E9%94%8B%E6%97%A5","cut":"","key":"学雷锋日","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E7%99%BE%E9%B8%9F%E6%9C%9D%E5%87%A4","cut":"","key":"百鸟朝凤","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E8%B5%8C%E7%8E%8B%E4%BD%95%E9%B8%BF%E7%87%8A","cut":"","key":"赌王何鸿燊","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E8%83%A1%E6%9D%8F%E5%84%BF%E7%94%B7%E5%8F%8B","cut":"","key":"胡杏儿男友","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E6%98%86%E6%98%8E%E6%9A%B4%E6%81%90%E6%A1%88%E5%A5%B3%E5%AB%8C%E7%8A%AF%E6%9B%9D%E5%85%89","cut":"","key":"昆明暴恐案女嫌犯曝光","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E5%A5%B3%E5%AD%90%E5%AE%9D%E9%A9%AC%E8%BD%A6%E5%86%85%E8%A2%AB%E6%8D%85%E6%AD%BB","cut":"","key":"女子宝马车内被捅死","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E6%9E%97%E5%BF%97%E7%8E%B2%E4%B8%9C%E8%8E%9E","cut":"","key":"林志玲东莞","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E5%8D%97%E4%BA%AC%E8%A2%AB%E6%89%93%E5%A5%B3%E6%8A%A4%E5%A3%AB","cut":"","key":"南京被打女护士","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E6%9D%91%E5%B1%B1%E8%B0%88%E8%AF%9D","cut":"","key":"村山谈话","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E6%9C%80%E6%80%A7%E6%84%9F%E5%A5%B3%E6%95%99%E5%B8%88","cut":"","key":"最性感女教师","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E9%BE%99%E5%8D%B7%E9%A3%8E%E9%82%93%E7%B4%AB%E6%A3%8B","cut":"","key":"龙卷风邓紫棋","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E8%B5%B5%E6%9C%AC%E5%B1%B1%E8%A2%AB%E7%A7%BB%E6%B0%91","cut":"","key":"赵本山被移民","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E5%82%85%E8%8E%B9%E7%AD%94%E8%AE%B0%E8%80%85%E9%97%AE","cut":"","key":"傅莹答记者问","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E5%9B%9B%E5%B7%9D%E7%9F%B3%E5%8C%96%E8%80%81%E6%80%BB%E8%A2%AB%E8%B0%83%E6%9F%A5","cut":"","key":"四川石化老总被调查","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E4%B8%AD%E5%B1%B1%E9%BB%84%E6%A0%87%E6%B3%89","cut":"","key":"中山黄标泉","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E5%BF%AB%E7%9A%84%E6%89%93%E8%BD%A6%E9%99%8D%E4%BD%8E%E8%A1%A5%E8%B4%B4","cut":"","key":"快的打车降低补贴","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E7%BE%8E%E5%9B%BD%E7%AC%AC%E4%B8%80%E5%A4%AB%E4%BA%BA%E5%B0%86%E8%AE%BF%E5%8D%8E","cut":"","key":"美国第一夫人将访华","isnew":"false","isred":"0","_viewed":false,"ispm":"0"},{"detailurl":"http://www.baidu.com/baidu?cl=3&tn=baidutop10&fr=top1000&wd=%E5%B9%BF%E5%B7%9E%E5%9C%B0%E9%93%81%E8%B8%A9%E8%B8%8F","cut":"","key":"广州地铁踩踏","isnew":"false","isred":"0","_viewed":false,"ispm":"0"}],"picNews" : [ { "url":"http://photo.china.com.cn/2014lh/2014-03/05/content_31674564.htm", "title":"李克强首次作政府工作报告", "imageUrl":"http://g.hiphotos.baidu.com/news/pic/item/7a899e510fb30f24beae30b2ca95d143ad4b034f.jpg" } , { "url":"http://photo.haiwainet.cn/n/2014/0305/c346083-20363788.html", "title":"8旬老人为孙子造“航母”", "imageUrl":"http://f.hiphotos.baidu.com/news/pic/item/48540923dd54564e1803c68bb1de9c82d1584f19.jpg" } , { "url":"http://edu.gmw.cn/2014-03/05/content_10576238.htm", "title":"西安警方设钉刺带防恐怖分子进城", "imageUrl":"http://a.hiphotos.baidu.com/news/pic/item/d52a2834349b033b103dc16817ce36d3d439bdce.jpg" } , { "url":"http://baijia.baidu.com/", "title":"苹果不再想着颠覆行业了", "imageUrl":"http://b.hiphotos.baidu.com/news/pic/item/37d12f2eb9389b50dcf73ae38735e5dde7116e73.jpg" } , { "url":"http://pic.people.com.cn/n/2014/0305/c1016-24533778.html", "title":"毛新宇遭记者围堵", "imageUrl":"http://b.hiphotos.baidu.com/news/pic/item/060828381f30e924932b47804e086e061c95f7f0.jpg" } , { "url":"http://news.qq.com/a/20140305/008066.htm", "title":"乌克兰军人空手对峙俄军", "imageUrl":"http://e.hiphotos.baidu.com/news/pic/item/8ad4b31c8701a18baf07cdfe9c2f07082938fe97.jpg" } , { "url":"http://gb.cri.cn/42071/2014/03/05/5311s4448441.htm", "title":"乌克兰被困军舰“晾被子”阻俄军", "imageUrl":"http://c.hiphotos.baidu.com/news/pic/item/4ec2d5628535e5dd6492936d74c6a7efcf1b62c1.jpg" } , { "url":"http://photo.haiwainet.cn/n/2014/0305/c346083-20361699.html", "title":"美俄海军航母同时现身地中海", "imageUrl":"http://a.hiphotos.baidu.com/news/pic/item/a044ad345982b2b755a6e47533adcbef76099b42.jpg" } ],"rollNews" : [ { "url":"http://finance.qq.com/a/20140305/013583.htm", "title":"解读:十年首次未提房地产调控", "srcUrl":"http://finance.qq.com/", "srcName":"腾讯财经" } , { "url":"http://news.sina.com.cn/c/2014-03-05/165029630924.shtml?qq-pf-to=pcqq.group", "title":"王岐山:有时候我也看韩剧", "srcUrl":"http://news.sina.com.cn/", "srcName":"新京报" } , { "url":"http://news.qq.com/a/20140305/019973.htm", "title":"交通部长:大交通部正在落实中", "srcUrl":"http://news.qq.com/", "srcName":"中新网" } , { "url":"http://hotashang.baijia.baidu.com/article/6070", "title":"唯品会百亿美元市值难长久", "srcUrl":"http://hotashang.baijia.baidu.com/", "srcName":"百度百家" } , { "url":"http://yude.baijia.baidu.com/article/6006", "title":"正方|唯品会的成功不可复制", "srcUrl":"http://yude.baijia.baidu.com/", "srcName":"百度百家" } ],"dateList": [ { "date":"2014-03-05" } , { "date":"2014-03-04" } , { "date":"2014-03-03" } , { "date":"2014-03-02" } , { "date":"2014-03-01" } , { "date":"2014-02-28" } ]}</textarea> <div class=clear></div><div class='mod-pk mod-pk-old'> <div class='s-pk-col pk-old-col' style='width:auto;'> </div> <div class='left s-pk-col' style='padding-right:10px;'> </div> <div class='left s-pk-col pack-right-col' style='padding-left:10px;'> </div> <div class=clear></div> <textarea style='display:none;'>
|
6
|
+
[ { "id": "31" , "title": "天气" , "type": "天气" , "source": "2" } , { "id": "10000" , "title": "我的提醒" , "type": "消息" } , { "id": "10001" , "title": "我的提醒" , "type": "消息" } ]
|
7
|
+
</textarea></div></div><textarea id = "nav_data" style="display:none">
|
8
|
+
{"errNo":"0","data" :[{"dirId":"0","dirName":"","resPath":"","navs": [{"id":"11444400","name":"职来职往","url":"http%3A//video.baidu.com/v%3Fword%3D%25D6%25B0%25C0%25B4%25D6%25B0%25CD%25F9","iconUrl":"http://7.su.bdimg.com/icon/2558.png","type":"8","time":"1337826780","source":"s_rp","src_extra": "rp-0-103-20120522","shortname":"职来职往","score":"","clean":"","ubsSource":"s_rp_103","navPos":"1,1"},{"id":"1003161","name":"易名中国","url":"http%3A//www.ename.net/","iconUrl":"http://3.su.bdimg.com/icon/81194.png","type":"1","time":"1337826780","source":"s_rp","src_extra": "rp-0-0-20120522","shortname":"易名中国","score":"","clean":"","ubsSource":"s_rp_0","navPos":"1,2"},{"id":"5878834","name":"妖精的尾巴","url":"http%3A//video.baidu.com/v%3Fword%3D%25D1%25FD%25BE%25AB%25B5%25C4%25CE%25B2%25B0%25CD","iconUrl":"http://7.su.bdimg.com/icon/2558.png","type":"8","time":"1337826780","source":"s_rp","src_extra": "rp-0-102-20120522","shortname":"妖精的尾巴","score":"","clean":"","ubsSource":"s_rp_102","navPos":"1,3"},{"id":"11652946","name":"安卓软件","url":"http%3A//app.hiapk.com/","iconUrl":"http://6.su.bdimg.com/icon/8685.png?1","type":"1","time":"1338940098","source":"s_rp","src_extra": "rp-0-0-20120604","shortname":"安卓软件","score":"","clean":"","ubsSource":"s_rp_0","navPos":"1,4"},{"id":"5231814","name":"安卓网","url":"http%3A//www.hiapk.com/","iconUrl":"http://6.su.bdimg.com/icon/8685.png?1","type":"1","time":"1338940098","source":"s_rp","src_extra": "rp-0-0-20120604","shortname":"安卓网","score":"","clean":"","ubsSource":"s_rp_0","navPos":"1,5"},{"id":"9865847","name":"非常了得","url":"http%3A//video.baidu.com/v%3Fword%3D%25B7%25C7%25B3%25A3%25C1%25CB%25B5%25C3","iconUrl":"http://7.su.bdimg.com/icon/2558.png","type":"8","time":"1339200179","source":"s_rp","src_extra": "rp-0-103-20120607","shortname":"非常了得","score":"","clean":"","ubsSource":"s_rp_103","navPos":"2,1"},{"id":"1994363","name":"应用汇","url":"http%3A//www.appchina.com/","iconUrl":"http://8.su.bdimg.com/icon/7615.png","type":"1","time":"1339802121","source":"s_rp","src_extra": "rp-0-0-20120613","shortname":"应用汇","score":"","clean":"","ubsSource":"s_rp_0","navPos":"2,2"},{"id":"10629230","name":"机锋网","url":"http%3A//www.gfan.com/","iconUrl":"http://1.su.bdimg.com/icon/80488.png?1","type":"1","time":"1340156055","source":"s_rp","src_extra": "rp-0-0-20120618","shortname":"机锋网","score":"","clean":"","ubsSource":"s_rp_0","navPos":"2,3"},{"id":"3909695","name":"乐到家","url":"http%3A//www.ledaojia.com/","iconUrl":"http://8.su.bdimg.com/icon/90111.png","type":"1","time":"1340235580","source":"s_rp","src_extra": "rp-0-0-20120619","shortname":"乐到家","score":"","clean":"","ubsSource":"s_rp_0","navPos":"2,4"},{"id":"4028844","name":"百度网盘","url":"http%3A//pan.baidu.com/","iconUrl":"http://1.su.bdimg.com/icon/7656.png","type":"1","time":"1348654817","source":"s_rp","src_extra": "rp-0-402-20120920","shortname":"百度网盘","score":"","clean":"","ubsSource":"s_rp_402","navPos":"2,5"}] }],"state":"","isNavEmpty":"0","showCommTab":"","defaultDirId":"12"} </textarea><textarea id="s_skin_conf" style='display:none;'>
|
9
|
+
[
|
10
|
+
]
|
11
|
+
</textarea><textarea id="s_skin_custom" style='display:none;'>
|
12
|
+
""
|
13
|
+
</textarea></div><div id=bottom_container class="bottom bottom_ct1"><div id=s_seth><a onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.baidu.com/');_onS_sethClick();return false;" href="#">把百度设为主页</a></div> <div id=s_bottom_prline1 class=bottom-line1 style="padding-bottom: 9px;"><a href=http://e.baidu.com/?refer=888>加入百度推广</a> | <a href=http://top.baidu.com>搜索风云榜</a> | <a href=http://home.baidu.com>关于百度</a> | <a href=http://ir.baidu.com>About Baidu</a> | <a href=http://www.baidu.com/home/p/open target=_blank>加入开放首页</a></div><div class=bottom-line2>©2014 Baidu <a href=/duty/>使用百度前必读</a> <span>京ICP证030173号</span> <em class=s-bottom-copyright> </em></div></div></div><div id=s_tips class=tip></div><div id=s_menu class=s-menu style="display:none;"><div class=s-menu-inner></div></div> </div> <div id=u class=u style="display:none;"><span id=user><a href="/p/seoaqua?from=mn" class=un>seoaqua<i class="c-icon c-icon-triangle-down-blue"></i></a><div id=userMenu class=userMenu></div></span>|<span id=user_center><a class=user_center_btn href=http://i.baidu.com/center onmousedown="return user_c({'fm':'set','tab':'uc_center'})">个人中心<i class="c-icon c-icon-triangle-down-blue"></i></a> <div id=userCenterMenu class=userMenu> <ul> <li><a href=http://i.baidu.com/my/collect onmousedown="return user_c({'fm':'set','tab':'uc_collect'})">我的收藏</a> <li><a href=http://i.baidu.com/my/cal onmousedown="return user_c({'fm':'set','tab':'uc_cal'})">我的日历</a> <li><a href=http://i.baidu.com/my/track onmousedown="return user_c({'fm':'set','tab':'uc_track'})">搜索记录</a> </ul> </div></span>|<a href=/gaoji/preferences.html>搜索设置</a>|<a href='/' class=last>百度首页</a></div><script>
|
14
|
+
if(!location.hash.match(/[^a-zA-Z0-9]wd=/)){
|
15
|
+
document.getElementById("content").style.display='block';
|
16
|
+
document.getElementById("u_sp").style.display='block';
|
17
|
+
}
|
18
|
+
</script> <div id=head> <div class=s_nav> <a href=/ class=s_logo onmousedown="return c({'fm':'tab','tab':'logo'})"> <img src=http://www.baidu.com/img/baidu_jgylogo3.gif?v=94008675.gif width=117 height=38 border=0 alt="到百度首页" title="到百度首页"> </a> <div class=s_tab id=s_tab> <a href="http://news.baidu.com/ns?cl=2&rn=20&tn=news&word=%B9%FA%CE%F1%D4%BA" wdfield=word onmousedown="setHeadUrl(this);return c({'fm':'tab','tab':'news'})">新闻</a> <b>网页</b> <a href="http://tieba.baidu.com/f?kw=%B9%FA%CE%F1%D4%BA&fr=wwwt" wdfield=kw onmousedown="setHeadUrl(this);return c({'fm':'tab','tab':'tieba'})">贴吧</a> <a href="http://zhidao.baidu.com/q?ct=17&pn=0&tn=ikaslist&rn=10&word=%B9%FA%CE%F1%D4%BA&fr=wwwt" wdfield=word onmousedown="setHeadUrl(this);return c({'fm':'tab','tab':'zhidao'})">知道</a> <a href="http://music.baidu.com/search?fr=ps&key=%B9%FA%CE%F1%D4%BA" wdfield=key onmousedown="setHeadUrl(this);return c({'fm':'tab','tab':'music'})">音乐</a> <a href="http://image.baidu.com/i?tn=baiduimage&ct=201326592&lm=-1&cl=2&nc=1&word=%B9%FA%CE%F1%D4%BA" wdfield=word onmousedown="setHeadUrl(this);return c({'fm':'tab','tab':'pic'})">图片</a> <a href="http://v.baidu.com/v?ct=301989888&rn=20&pn=0&db=0&s=25&word=%B9%FA%CE%F1%D4%BA" wdfield=word onmousedown="setHeadUrl(this);return c({'fm':'tab','tab':'video'})">视频</a> <a href="http://map.baidu.com/m?word=%B9%FA%CE%F1%D4%BA&fr=ps01000" wdfield=word onmousedown="setHeadUrl(this);return c({'fm':'tab','tab':'map'})">地图</a> <a href="http://wenku.baidu.com/search?word=%B9%FA%CE%F1%D4%BA&lm=0&od=0" wdfield=word onmousedown="setHeadUrl(this);return c({'fm':'tab','tab':'wenku'})">文库</a> <a href=http://www.baidu.com/more/ onmousedown="return c({'fm':'tab','tab':'more'})">更多»</a> </div> </div> <form id=form name=f action="" class=fm> <input type=hidden name=ie value=utf-8> <input type=hidden name=bs value="国务院"> <input type=hidden name=f value=8> <input type=hidden name=rsv_bp value=1> <input type=hidden name=rsv_spt value=3> <span class="bg s_ipt_wr"> <input name=wd id=kw class=s_ipt value="" maxlength=100 autocomplete=off></span><span class="bg s_btn_wr"><input type=submit id=su value="百度一下" class="bg s_btn" onmousedown="this.className='bg s_btn s_btn_h'" onmouseout="this.className='bg s_btn'"></span> <span class=tools> <span id=mHolder> <div id=mCon> <span> 输入法</span> </div> <ul id=mMenu> <li> <a href="javascript:;" name=ime_hw> 手写</a> <li> <a href="javascript:;" name=ime_py> 拼音</a> <li class=ln> <li> <a href="javascript:;" name=ime_cl> 关闭</a> </ul> </span> <span class=shouji> <strong> 推荐 : </strong> <a href="http://shouji.baidu.com/baidusearch/mobisearch.html?ref=pcjg&from=1000139w" target=_blank onmousedown="return ns_c({'fm':'behs','tab':'shouji'})"> 用手机随时随地上百度</a> </span> </span> </form> </div> <div id=wrapper_wrapper> </div></div><div class=c-tips-container id=c-tips-container></div><input type=hidden id=bsToken name=bsToken value="4bc2fd3bc595d8ae1cef6a137653305d"><script>
|
19
|
+
var bds={se:{},su:{urdata:[],urSendClick:function(){},urStatic:"http://su.bdimg.com"},util:{},use:{},comm:{domain:"",ubsurl:"",tn:"",queryEnc:"",queryId:"",inter:"",sugHost:"",query:"",qid:"",cid:"",sid:"",stoken:"",serverTime:"",user:"",username:"",loginAction:[],useFavo:"",pinyin:"",favoOn:"",curResultNum:"0",rightResultExist:false,protectNum:0,zxlNum:0,pageNum:1,pageSize:10,ishome:1,newindex:1}};var name,navigate,al_arr=[];var selfOpen=window.open;eval("var open = selfOpen;");var isIE=navigator.userAgent.indexOf("MSIE")!=-1&&!window.opera;var E=bds.ecom={};bds.se.mon={loadedItems:[],load:function(){},srvt:-1};try{bds.se.mon.srvt=parseInt(document.cookie.match(new RegExp("(^| )BDSVRTM=([^;]*)(;|$)"))[2]);document.cookie="BDSVRTM=;expires=Sat, 01 Jan 2000 00:00:00 GMT"}catch(e){}var bdUser=bds.comm.user?bds.comm.user:null,bdQuery=bds.comm.query,bdUseFavo=bds.comm.useFavo,bdFavoOn=bds.comm.favoOn,bdCid=bds.comm.cid,bdSid=bds.comm.sid,bdServerTime=bds.comm.serverTime,bdQid=bds.comm.queryId,bdstoken=bds.comm.stoken,login_success=[];
|
20
|
+
</script><script src=http://s1.bdstatic.com/r/www/cache/static/jquery/jquery-1.10.2.min_f2fb5194.js></script><script>
|
21
|
+
(function(){
|
22
|
+
window._sp_async = 1;
|
23
|
+
window.__async_strategy=2;
|
24
|
+
bds.comm.indexSid="5228_5223_5378_5369_4261_4760_5402";
|
25
|
+
bds.comm.queryId="9a3c59dc99c3002c";
|
26
|
+
bds.comm.pdc=0;
|
27
|
+
bds.comm.user="seoaqua";
|
28
|
+
var index_content = $('#content');
|
29
|
+
var index_foot= $('#ftCon');
|
30
|
+
var index_css= $('#style_super_inline');
|
31
|
+
var index_css_content = index_css.html();
|
32
|
+
var index_u= $('#u_sp');
|
33
|
+
var result_u= $('#u');
|
34
|
+
window.index_links = [];
|
35
|
+
var result_head = $("#head");
|
36
|
+
window.index_on=function(){
|
37
|
+
if($('#style_super_inline').length==0){
|
38
|
+
$("head").append(index_css);
|
39
|
+
for(var i=0; i<index_links.length; i++){
|
40
|
+
$("head").append(index_links[i]);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
index_content.show();
|
44
|
+
index_foot.show();
|
45
|
+
index_u.show();
|
46
|
+
result_u.hide();
|
47
|
+
result_head.hide();
|
48
|
+
try{
|
49
|
+
$('#kw1').get(0).focus();
|
50
|
+
window.sugIndex.start();
|
51
|
+
}catch(e){}
|
52
|
+
};
|
53
|
+
window.index_off=function(){
|
54
|
+
index_links = [];
|
55
|
+
$("head").find("link").each(function(){
|
56
|
+
index_links.push(this);
|
57
|
+
$(this).remove();
|
58
|
+
});
|
59
|
+
index_css.remove();
|
60
|
+
index_content.hide();
|
61
|
+
index_foot.hide();
|
62
|
+
index_u.hide();
|
63
|
+
result_u.show();
|
64
|
+
result_head.show();
|
65
|
+
};
|
66
|
+
})();
|
67
|
+
</script><script src=http://11.ur.bdimg.com/all_async_sp_2.5.js></script><script>
|
68
|
+
initPreload({
|
69
|
+
'index_form':"#form1",
|
70
|
+
'index_kw':"#kw1",
|
71
|
+
'result_form':"#form",
|
72
|
+
'result_kw':'#kw'
|
73
|
+
});
|
74
|
+
</script><script>
|
75
|
+
var s_domain={"staticUrl":"http://su.bdimg.com/","base":"home","baseuri":"/home","passconf":"http://passport.baidu.com/ubrwsbas","logout":"https://passport.baidu.com/?logout&u=","bs":"http://www.baidu.com","login":"http://passport.baidu.com/?login&tpl=super&u=","sp":"http://hi.baidu.com/"},s_session={"logId":"3816215370","seqId":"0x9a3c59dc99c3002c","debug":false,"portrait":"7ea573656f617175619e13","userProp":{"sawVideoGuide":true,"navClean":true,"appOffline":false,"toResGuide":false,"editNavGuide":true,"backToIndexGuide":true,"customAddGuide":true,"customAddTipGuide":true,"resciteGuide":false,"resvideoGuide":true,"emptyNavGuide":true,"resreadGuide":true,"nplusGuide":true,"nplusToEditGuide":true,"nplusSortGuide":true,"nplusViewChoice":true,"nplusViewChoosed":true,"newResFuncGuide":true,"isNplus":false,"nplusExchangeGuide":true,"resGoodMusicGuide":false,"appendVideo":false,"resTiebaGuide":true,"isPhotoAlbum":false,"packRecGuide":true,"packAddMoreGuide":true,"searchAgroupGuide":false,"toNplusGuide":false},"userTips":{"rpUpdateGuide":true,"rpUpdatePack":true,"ncrGuide":true,"hideIndexLink":true,"ipadLastAccess":true,"navRecommendGuide":false,"bdKuaiJieGuide":true,"tbEncourageGuide":false,"commTab":false,"currentWebTab":"myweb","rpShowNewNavGuide":true,"resFirstAddGuide":true,"navMywebTip":true,"blowBirthday":true,"packCloseGuide":true,"isNewVersion":false,"showFmSearchGuide":true,"tbEncourageEndGuide":true,"shopingBannerGuide":true,"shopingBirdGuide":true,"shopingBirdDailyGuide":true,"shopingDefaultGuide":false,"browserPluginGuide":false,"addFromPsGuide":false,"tiebaStarPkGuide":false,"isCustomDir":false,"customFirstGuide":true,"customSecondGuide":true,"customThirdGuide":true,"rpIndividualGuide":false,"rpIndividualContentGuide":false,"nplusClean":true,"nplusCleanKey":true,"recommendGuide":true,"addToBaiduSideGuide":true,"addToBaiduBannerGuide":true,"noManualNavsGuide":"0_1358054482","msgVideoKey":false,"msgWeatherKey":true,"msgNbaKey":false,"msgLotteryKey":false,"msgStateKey":true,"msgModKey":true,"msgGuideKey":true,"msgFirstSeeKey":false,"msgHeadTipKey":true,"telephoneOpen":true,"telephoneNewYearGuide":true,"telephoneValentineGuide":true,"emptyUserGuide":false,"emptyHotNavsAdded":true,"newUserHotGuide":"1","addLayerDelTip":false,"hotChangeTip":true,"autoClassifyGuide":false,"navClfTipAdd":true,"navClfTipEdit":true,"newWeatherUser":false,"newWeatherGuide":false,"navAddHighLightTip":true,"msgCslTipKey":true,"msgCslKey":false,"msgGuoanKey":false,"msgBCKey":false,"msgFocusKey":true,"msgLocalKey":true,"footStateKey":false,"msgSetTipKey":true,"tiebaLikeGuide":true,"msgAddFocusKey":true,"navNoClickClean":false,"emptyUserFirTime":false,"msgSnsTipKey":true,"topModKey":true,"msgGameKey":false,"msgGameCtrlKey":false,"skinGuide":true,"skinLogoGuide":true,"skinLogoBackGuide":true,"skinChangeToFes":false,"msgModuleTip":true,"skinUpdateGuide":true,"bxUrFirst":true,"treasureUserGuide":false,"skinLogoHasSkined":false,"msgWeiboRebindKey":false,"skinAjustGuide":true,"newsGuideTip":true,"isNavUsed":true,"navUsedTip":true,"navUsedUpdateTip":false,"navUsedDelTip":true,"skinNewPicGuide":true,"newsIdioTip":true,"msgTagKey":true,"news2GuideTip":true,"weatherSetPolution":true,"weatherShowBear":true,"skinGuideShowType":"B","skinLayerType":"A","newsHalfVersion":false,"skinSingleColorTip":true,"definedGuideShowType":true,"skinBgAddTip":true,"travelBigGuide":true,"travelInsideGuide":true,"travelCutDownGuide":true,"isXman":true,"showIdioTab":true},"userAttr":Number("262683")|| 0,"username":"seoaqua","unametype":"1","userIsSkined":"off","userIsNewSkined":"off","userSkinName":"","userSkinOpacity":"65","userSkinUrl":"","userSkinLogo":"logo_white","userSkinDefined":"on","userLogoSrc":"http:\/\/www.baidu.com\/img\/bdlogo.gif","usertype":"26","userFirst":"","logoCode":false,"isFesLogo":false,"userNavEmpty":"0","bgUNE":"","isEmptyRpRec":"1","userBirthday":"","yuce":"","isUsedNav":"1","isRewardBox":"1","isNewMsg":"1","modules":["0","1","7"],"modules_load":["0","1","7"]};
|
76
|
+
</script><script src="http://su.bdimg.com/static/superpage/js/sbase_63684f6b.js"></script><script src="http://su.bdimg.com/static/pack/js/supercube_547b81a5.js"></script><script src="http://su.bdimg.com/static/nav/js/min_nav_fe2b047e.js"></script><script src="http://su.bdimg.com/static/msg/js/min_mt_703b2221.js"></script><script src="http://su.bdimg.com/static/skin/js/config_17be6b20.js"></script><script src="http://su.bdimg.com/static/superpage/js/min_index_3928be22.js"></script><script>
|
77
|
+
function ns_c(){};
|
78
|
+
setTimeout(function(){if(document.getElementById("s_main").offsetWidth==0 && typeof(F)=='undefined'){new Image().src=s_domain.baseuri+'/page/data/pageserver?errno=2015&msg=cdn_failed'}},2000);
|
79
|
+
</script>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: query
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- seoaqua
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -113,6 +113,7 @@ files:
|
|
113
113
|
- query.gemspec
|
114
114
|
- spec/baidu1_spec.rb
|
115
115
|
- spec/baidu2_spec.rb
|
116
|
+
- spec/baidu3.rb
|
116
117
|
- spec/baidu_result_api_spec.rb
|
117
118
|
- spec/baidu_spec.rb
|
118
119
|
- spec/mbaidu1_spec.rb
|
@@ -120,6 +121,7 @@ files:
|
|
120
121
|
- spec/qihu_spec.rb
|
121
122
|
- spec/samples/baidu1.html
|
122
123
|
- spec/samples/baidu2.html
|
124
|
+
- spec/samples/baidu3.html
|
123
125
|
- spec/samples/baidu_api.html
|
124
126
|
- spec/samples/mbaidu1.html
|
125
127
|
- spec/samples/mbaidu2.html
|
@@ -157,6 +159,7 @@ summary: I dont have time to write the document yet. Usage is almost within rspe
|
|
157
159
|
test_files:
|
158
160
|
- spec/baidu1_spec.rb
|
159
161
|
- spec/baidu2_spec.rb
|
162
|
+
- spec/baidu3.rb
|
160
163
|
- spec/baidu_result_api_spec.rb
|
161
164
|
- spec/baidu_spec.rb
|
162
165
|
- spec/mbaidu1_spec.rb
|
@@ -164,6 +167,7 @@ test_files:
|
|
164
167
|
- spec/qihu_spec.rb
|
165
168
|
- spec/samples/baidu1.html
|
166
169
|
- spec/samples/baidu2.html
|
170
|
+
- spec/samples/baidu3.html
|
167
171
|
- spec/samples/baidu_api.html
|
168
172
|
- spec/samples/mbaidu1.html
|
169
173
|
- spec/samples/mbaidu2.html
|