atp_scraper 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/atp_scraper/get.rb +1 -1
- data/lib/atp_scraper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad4be15dab4bf9a20f3bc851639a6a96d6ee1093
|
4
|
+
data.tar.gz: 13d2ae9d523ca92b27d829e239805ceb2c4da0b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7fd39666673c4808d2f40d5e4aafd2731a732382ee4779db3afa6748d76501c168fafa24f213b5913ce9d75f38561b35f4f306d3227a7feccc60d4e4ce7ba2b
|
7
|
+
data.tar.gz: 4095d0f996899078d1932108d88e024506eb5daeb5669bfaef06703606e92e9d375c28e0362564627d377b80712cb5f3b9ff4ef66856825aac98cfce7d14cc21
|
data/lib/atp_scraper/get.rb
CHANGED
@@ -9,7 +9,7 @@ module AtpScraper
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def self.player_activity(player_id, year)
|
12
|
-
request_uri = "/players/anything/#{player_id}/player-activity?year=#{year}"
|
12
|
+
request_uri = "/players/anything/#{player_id}/player-activity?year=#{year}&matchType=singles"
|
13
13
|
activity_html = AtpScraper::Html.get(request_uri)
|
14
14
|
activity = AtpScraper::Activity.new(activity_html[:html], activity_html[:charset])
|
15
15
|
activity.pickup_activity_data
|
data/lib/atp_scraper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atp_scraper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mosuke5
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|