lib/atp_scraper/get.rb in atp_scraper-0.6.2 vs lib/atp_scraper/get.rb in atp_scraper-0.6.3

- old
+ new

@@ -7,10 +7,10 @@ ranking = AtpScraper::Ranking.new(ranking_html[:html], ranking_html[:charset]) ranking.pickup_ranking_data end def self.player_activity(player_id, year) - request_uri = "/players/anything/#{player_id}/player-activity?year=#{year}" + request_uri = "/players/anything/#{player_id}/player-activity?year=#{year}&matchType=singles" activity_html = AtpScraper::Html.get(request_uri) activity = AtpScraper::Activity.new(activity_html[:html], activity_html[:charset]) activity.pickup_activity_data end end