baidu 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/baidu.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52b9cd5797526c064fbc02c78c64e1065fa0c8aa
4
- data.tar.gz: bc4ad98a35ed10d2a37f0d152257807a292f2f1a
3
+ metadata.gz: a0768a46d047958a319217e93287ae6447e2096f
4
+ data.tar.gz: 60c1c2ddb45e5f19f399563c7be4a2700dd68b46
5
5
  SHA512:
6
- metadata.gz: e073bc2876edaf4f7fc5abe13f986cb8d5b49ae31c797d21e246230cd004470c8a51accea5d63d9b97502f6e9e0d4b94d4c8f326f90e20885a743aa39fe70dd3
7
- data.tar.gz: ba35086716501e36a2b026e65a2632daab8db3ed0301fd36b3f72796edc838032f611842d0350e972999c364f0d9426c83771b45bce43a100764814a1e4040e7
6
+ metadata.gz: 277b7e0ad48bbfd062849c32dc12f1d6aa7e53b1bc05bf903cebf7e8471b4301fddcf70e77b10fe01103a3e8530d00504eb466d8d9ca0165747c9e6d548a7535
7
+ data.tar.gz: f978c496e06b9b80361658e9450c91d32c68fcf899d8a62f83a7d76697f17548f0928524201a3d3e72b8b6f697dda9ab9a1d16a219b58322be1b29b72fba9ee8
@@ -340,7 +340,7 @@ class BaiduResult < SearchResult
340
340
  @ranks
341
341
  end
342
342
 
343
- def ads_top
343
+ def ads_bottom
344
344
  ads = {}
345
345
  id=0
346
346
  @page.search("//table[@class='EC_mr15']|//table[@class='ec_pp_f']").each do |table|
@@ -353,7 +353,7 @@ class BaiduResult < SearchResult
353
353
  end
354
354
  ads
355
355
  end
356
- def ads_bottom
356
+ def ads_top
357
357
  ads = {}
358
358
  @page.search("//table[@class='EC_mr15']|//table[@class='ec_pp_f']").each do |table|
359
359
  id = table['id']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: baidu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - seoaqua