scrapeunblocker 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a9fdb57b21c1b655ba3ec6bc4c87f0907872ccdf9ad279035e028192b7f4414
4
- data.tar.gz: adfa7124cb12d1eac3aed2a818070be619a80e8a243e6d1816b34f534cb4601a
3
+ metadata.gz: 2328348f7f4055116a93870f8dd766b42c8506c958765ecb491d730dc5eb6e03
4
+ data.tar.gz: 2823821a3fad35a0793fe4c76b4e1b7859d85b396c32940462a326ee48d3dc56
5
5
  SHA512:
6
- metadata.gz: c6765faaf5a348e030ea3c102d5574b05d3f0105526b1141d4bb9b2257eb8fb3ec5c9ab96c6b934f8d0d6b2d026eaec0821a247670fb18c9382243ac32fc2206
7
- data.tar.gz: 806142bbf00967541f0a32b88afa96485416f46505266647b41ee2ed13bbbe53c0c0f50210ec53138c13118ae5df4c9afdb701b2d0e6e601311e07055c95a22b
6
+ metadata.gz: 9f58462d9225db65abcb786a0963eb7aa212d5decb2358994dea5f81cf9df583d2e0f1b81137ef0d6318bbdfc629a6d2ddfc119d9809b829ad79a6848200ed8d
7
+ data.tar.gz: 43c42381ec0ec98338acd98e09279ebe7d84e8ef4df085b06524ac929199fdf2b5f9eada943ed3e29886052d333ac57f02e8ac561199843450ba9c9a46d279ba
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.18.0 (2026-11-02)
4
+
5
+ - 6 new plugin methods on `Client` for SofaScore (live scores, fixtures, results and stats for 26 sports): `sofascore_events` (a sport's matches on a day in your time zone, or `live: true` for those in progress; `sport` defaults to football), `sofascore_match(match)` (one match with the `include:` sections: statistics, lineups, incidents, head-to-head, odds, momentum, shot map and more), `sofascore_search(query)`, `sofascore_team(team)`, `sofascore_player(player)` and `sofascore_tournament(tournament)`. Teams, players and competitions take an id, a sofascore.com link or a name. `include:` takes a comma-separated string or an array.
6
+
7
+ No breaking changes.
8
+
9
+ ## 0.17.1 (2026-10-30)
10
+
11
+ - 2 new plugin methods on `Client`: `bodegaaurrera_search(query)` and `bodegaaurrera_product` (Bodega Aurrera, Walmart de Mexico's discount chain; prices in MXN). The search's first argument is optional for calls that pass `url:` instead; the product method takes `product_id:` or `url:`.
12
+
13
+ No breaking changes.
14
+
3
15
  ## 0.17.0 (2026-10-30)
4
16
 
5
17
  - 29 new plugin methods on `Client`:
data/README.md CHANGED
@@ -154,7 +154,7 @@ jobs = su.career_site_jobs("https://jobs.ashbyhq.com/ramp", keyword: "engineer")
154
154
  | Search engines | `bing_search`, `bing_images`, `duckduckgo_search`, `yahoo_search`, `yahoo_images`, `brave_search`, `brave_images` |
155
155
  | E-commerce | `amazon_product`, `amazon_search`, `amazon_bestsellers`, `amazon_reviews`, `amazon_offers`, `amazon_seller`, `walmart_search`, `walmart_product`, `target_search`, `target_category`, `target_product`, `bestbuy_search`, `bestbuy_product`, `homedepot_search`, `costco_search`, `costco_product`, `etsy_search`, `etsy_product`, `shein_search`, `zalando_search`, `aliexpress_search`, `aliexpress_product`, `alibaba_search`, `alibaba_product`, `alibaba1688_search`, `alibaba1688_product`, `tiktok_shop_search`, `tiktok_shop_product`, `tiktok_shop_store`, `oopbuy_search`, `smyths_inventory`, `smyths_details`, `smyths_search`, `smyths_category`, `wish_search`, `wish_product`, `shopee_search`, `shopee_product`, `taobao_search`, `taobao_product`, `flipkart_search`, `flipkart_product`, `lazada_search`, `lazada_product`, `allegro_search`, `allegro_product`, `falabella_search`, `falabella_product`, `magazineluiza_search`, `magazineluiza_product`, `mediamarkt_search`, `mediamarkt_product`, `cdiscount_search`, `cdiscount_product`, `idealo_search`, `idealo_offers`, `rakuten_search`, `rakuten_product`, `indiamart_search`, `indiamart_product`, `bedbathandbeyond_search`, `bedbathandbeyond_product`, `petco_search`, `petco_product`, `neobits_product`, `lowes_search`, `lowes_product`, `menards_search`, `menards_product`, `grainger_search`, `grainger_product` |
156
156
  | Classifieds & Resale | `ebay_product`, `ebay_search`, `vinted_search`, `leboncoin_search` |
157
- | Groceries | `woolworths_search`, `woolworths_category`, `woolworths_specials`, `woolworths_product`, `coles_search`, `coles_category`, `coles_specials`, `coles_product`, `aldi_au_search`, `aldi_au_category`, `aldi_au_specials`, `aldi_au_product`, `kroger_search`, `kroger_product`, `instacart_search`, `instacart_product`, `publix_search`, `publix_product` |
157
+ | Groceries | `woolworths_search`, `woolworths_category`, `woolworths_specials`, `woolworths_product`, `coles_search`, `coles_category`, `coles_specials`, `coles_product`, `aldi_au_search`, `aldi_au_category`, `aldi_au_specials`, `aldi_au_product`, `kroger_search`, `kroger_product`, `instacart_search`, `instacart_product`, `publix_search`, `publix_product`, `bodegaaurrera_search`, `bodegaaurrera_product` |
158
158
  | Real estate | `zillow_search`, `zillow_detail`, `redfin_search`, `redfin_detail`, `rightmove_search`, `idealista_search`, `idealista_detail`, `immobilienscout24_search` |
159
159
  | Vehicles | `mobile_de`, `autoscout24_search` |
160
160
  | Jobs | `indeed_jobs`, `glassdoor_jobs`, `glassdoor_reviews`, `glassdoor_salaries`, `naukri_jobs`, `wellfound_jobs`, `wellfound_job`, `wellfound_company`, `wellfound_company_search`, `career_site_jobs`, `upwork_jobs` |
@@ -162,6 +162,7 @@ jobs = su.career_site_jobs("https://jobs.ashbyhq.com/ramp", keyword: "engineer")
162
162
  | Local & Maps | `yelp_search`, `yelp_business`, `yelp_reviews`, `naver_place_search`, `naver_place_details` |
163
163
  | Apps | `google_play_app`, `google_play_search`, `app_store_app`, `app_store_search`, `app_store_reviews` |
164
164
  | Video & Music | `youtube_channel`, `youtube_search`, `youtube_transcript`, `spotify_search`, `spotify_artist`, `spotify_album`, `spotify_track`, `spotify_playlist` |
165
+ | Sports | `sofascore_events`, `sofascore_match`, `sofascore_search`, `sofascore_team`, `sofascore_player`, `sofascore_tournament` |
165
166
  | SEO & Ads | `similarweb_overview`, `ahrefs`, `semrush_overview`, `meta_ad_library` |
166
167
  <!-- plugin-methods:end -->
167
168
 
@@ -2948,6 +2948,64 @@ module ScrapeUnblocker
2948
2948
  })
2949
2949
  end
2950
2950
 
2951
+ # Scrape Bodega Aurrera (Mexico) product search.
2952
+ #
2953
+ # Searches Bodega Aurrera (bodegaaurrera.com.mx, Walmart de Mexico) for `query` and returns
2954
+ # `products`, each with `position`, `productId`, `name`, `brand`, `url`, `price` (MXN),
2955
+ # `wasPrice` and `savings` (only on a promotion), `unitPrice`, `priceRange`, `rating`,
2956
+ # `reviewCount`, `availability` / `availabilityText` / `inStock`, `seller` / `sellerType`,
2957
+ # `salesUnit`, `department`, `category` (path), `badges`, `fulfillment` (pickup / delivery
2958
+ # labels), `sponsored` and `image`. Also `totalResults`, `storeId` (the store the prices and
2959
+ # availability are for: the one the storefront assigns a new visitor - a store or postal
2960
+ # code cannot be chosen) and `nextPage`. Sort with `sort` (relevance, price_low,
2961
+ # price_high), start at `page` and collect up to `max_results` across pages (about 40 per
2962
+ # page, each page billed as one request, see `pagesFetched`). `url` takes a Bodega Aurrera
2963
+ # search link instead of `query`. A results page usually takes 1-3 s; a page that has to be
2964
+ # rendered in a browser takes 20-60 s.
2965
+ #
2966
+ # @param query [String] What to search, e.g. 'leche', 'arroz', 'detergente' or 'pañales'.
2967
+ # @param sort [String] Order: relevance, price_low, price_high. API default: relevance.
2968
+ # @param page [Integer] 1-based results page to start from (1-25). API default: 1.
2969
+ # @param max_results [Integer] Products to collect across pages (1-220); about 44 per page,
2970
+ # and each page read is billed as one request. API default: 44.
2971
+ # @param url [String] Instead of `query`: a Bodega Aurrera search link, e.g.
2972
+ # https://www.bodegaaurrera.com.mx/search?q=leche (its sort and page are used).
2973
+ # Calls POST /groceries/bodegaaurrera-search.
2974
+ def bodegaaurrera_search(query = nil, sort: nil, page: nil, max_results: nil, url: nil)
2975
+ post_json("/groceries/bodegaaurrera-search", {
2976
+ query: query,
2977
+ sort: sort,
2978
+ page: page,
2979
+ max_results: max_results,
2980
+ url: url,
2981
+ })
2982
+ end
2983
+
2984
+ # Scrape one Bodega Aurrera (Mexico) product.
2985
+ #
2986
+ # Fetches one Bodega Aurrera product (by `product_id` or `url`) and returns it as JSON:
2987
+ # `productId`, `name`, `brand`, `url`, `upc`, `model`, `price` (MXN), `wasPrice` / `savings`
2988
+ # (only on a promotion), `unitPrice`, `installments`, `availability` / `availabilityText` /
2989
+ # `inStock`, `orderLimit`, `orderMinimum`, `salesUnit`, `seller` / `sellerId` /
2990
+ # `sellerType`, `rating`, `reviewCount`, `ratingBreakdown` (1-5 stars), `category` (path),
2991
+ # `productType`, `shortDescription`, `description`, `ingredients`, `specifications` (name /
2992
+ # value), `badges`, `fulfillment` (pickup / delivery messages), `fulfillmentOptions`,
2993
+ # `store` (the store the price and availability are for - the one the storefront assigns a
2994
+ # new visitor) and `image` / `images`. A call usually takes 1-3 s, or 20-60 s when the page
2995
+ # has to be rendered in a browser. Companion to `/groceries/bodegaaurrera-search`.
2996
+ #
2997
+ # @param product_id [String] Bodega Aurrera item id, e.g. '00750649502153' (the number at
2998
+ # the end of an /ip/ link; search results give it as `productId`).
2999
+ # @param url [String] Instead of `product_id`: a Bodega Aurrera product link, e.g.
3000
+ # https://www.bodegaaurrera.com.mx/ip/leche-great-value-entera-1-l/00750649502153.
3001
+ # Calls POST /groceries/bodegaaurrera-product.
3002
+ def bodegaaurrera_product(product_id: nil, url: nil)
3003
+ post_json("/groceries/bodegaaurrera-product", {
3004
+ product_id: product_id,
3005
+ url: url,
3006
+ })
3007
+ end
3008
+
2951
3009
  # Smyths Toys UK product stock, price, details and listings.
2952
3010
  #
2953
3011
  # Smyths Toys UK (smythstoys.com) as JSON, in four modes. `mode=product` (the default when
@@ -5960,6 +6018,212 @@ module ScrapeUnblocker
5960
6018
  })
5961
6019
  end
5962
6020
 
6021
+ # SofaScore matches of a sport on a day, or live now.
6022
+ #
6023
+ # Lists a sport's matches from sofascore.com for one day in your time zone (or `live=true`
6024
+ # for those in progress), biggest competitions first, as JSON: `id`, `url`, `tournament`
6025
+ # (id, name, url, category / country, stage), `season`, `round`, `status` (type notstarted,
6026
+ # inprogress, finished, postponed, canceled, with its description such as '2nd half'),
6027
+ # `startTime` (ISO, UTC) and `startTimestamp`, `homeTeam` / `awayTeam` (id, name, short
6028
+ # name, code, country, url), `homeScore` / `awayScore` (current plus per-period and normal-
6029
+ # time scores), `winner`, red cards, seeds and first server (tennis), venue and referee when
6030
+ # known. Narrow with `country` (a country or category) or `tournament` (id, link or name),
6031
+ # and `status`. Pass a match `id` to `/sports/sofascore-match` for its stats and lineups.
6032
+ # Motorsport and cycling are races, not matches, and have no day list.
6033
+ #
6034
+ # @param sport [String] The sport: football, basketball, tennis, ice-hockey, american-
6035
+ # football, baseball, handball, volleyball, cricket, rugby, futsal, table-tennis, esports,
6036
+ # darts, snooker, mma, aussie-rules, waterpolo, floorball, bandy, badminton, beach-volley,
6037
+ # minifootball, padel, motorsport, cycling (soccer, hockey, nba, nfl and the like are
6038
+ # accepted). API default: football.
6039
+ # @param date [String] Day as YYYY-MM-DD, or today / yesterday / tomorrow (in `timezone`).
6040
+ # Default today.
6041
+ # @param timezone [String] Time zone the day is read in: an IANA name ('Europe/London',
6042
+ # 'America/New_York') or a UTC offset ('+02:00'). Default UTC.
6043
+ # @param live [Boolean] true for the matches in progress right now (date is then ignored).
6044
+ # API default: false.
6045
+ # @param status [String] Keep only: all, live, upcoming, finished. API default: all.
6046
+ # @param country [String] Only one country or category, by name, slug, ISO code or id:
6047
+ # 'england', 'Spain', 'US', and for tennis 'ATP', 'WTA'.
6048
+ # @param tournament [String] Only one competition: an id, a sofascore.com tournament link or
6049
+ # a name such as 'Premier League' or 'NBA'.
6050
+ # @param max_results [Integer] Matches to return (1-500), the biggest competitions first.
6051
+ # API default: 100.
6052
+ # Calls POST /sports/sofascore-events.
6053
+ def sofascore_events(sport: nil, date: nil, timezone: nil, live: nil, status: nil, country: nil, tournament: nil, max_results: nil)
6054
+ post_json("/sports/sofascore-events", {
6055
+ sport: sport,
6056
+ date: date,
6057
+ timezone: timezone,
6058
+ live: live,
6059
+ status: status,
6060
+ country: country,
6061
+ tournament: tournament,
6062
+ max_results: max_results,
6063
+ })
6064
+ end
6065
+
6066
+ # One SofaScore match with stats, lineups and incidents.
6067
+ #
6068
+ # Fetches one match from sofascore.com: `event` (teams, score by period, status, start time,
6069
+ # tournament, season, round, venue, referee) plus the `include` sections: `statistics` (per
6070
+ # period and group, e.g. possession, expected goals, shots, with home / away text and
6071
+ # numbers), `lineups` (formation, every player with position, shirt number, rating and match
6072
+ # statistics, missing players), `incidents` (goals, cards, substitutions, VAR, periods,
6073
+ # oldest first), `h2h` (team and manager records plus the last 10 meetings), `odds` (markets
6074
+ # with decimal and fractional odds), `momentum`, `pregame_form`, `votes`, `managers`,
6075
+ # `best_players` (player of the match and best rated per side), `shotmap` (every shot with
6076
+ # xG, xGOT, body part and coordinates), `commentary` and `highlights`. Sections the site
6077
+ # does not have for the match (e.g. statistics before kick-off) are named in `unavailable`.
6078
+ #
6079
+ # @param match [String] The match: its id (e.g. 16363904, from the search or events
6080
+ # endpoints) or a sofascore.com match link. A link without '#id:' names the pairing; the
6081
+ # match in progress, else the next, else the latest is used.
6082
+ # @param include [String, Array<String>] Sections to add, comma separated: statistics,
6083
+ # lineups, incidents, h2h, odds, momentum, pregame_form, votes, managers, best_players,
6084
+ # shotmap, commentary, highlights (or all / none). Default statistics,lineups,incidents.
6085
+ # Calls POST /sports/sofascore-match.
6086
+ def sofascore_match(match, include: nil)
6087
+ post_json("/sports/sofascore-match", {
6088
+ match: match,
6089
+ include: plugin_join(include, ","),
6090
+ })
6091
+ end
6092
+
6093
+ # Search SofaScore teams, players, tournaments and matches.
6094
+ #
6095
+ # Searches sofascore.com for `query` and returns the matches as JSON, best first. Each
6096
+ # result has `rank` (its place in the list), `type` (team, player, tournament, match,
6097
+ # manager, referee or venue), `id`, `name`, `slug`, a sofascore.com `url`, `sport`,
6098
+ # `country` and `followers`; a player adds `position`, `jerseyNumber` and its `team`, a
6099
+ # tournament its `category`, a match the same fields as `/sports/sofascore-events`. `sport`
6100
+ # keeps to one sport, `type` to one kind of result. Feed an `id` to `/sports/sofascore-
6101
+ # team`, `-player`, `-tournament` or `-match`.
6102
+ #
6103
+ # @param query [String] What to look for: a team, player, competition, match, manager,
6104
+ # referee or venue name, e.g. 'real madrid', 'sinner', 'premier league', 'arsenal chelsea'.
6105
+ # @param sport [String] The sport: football, basketball, tennis, ice-hockey, american-
6106
+ # football, baseball, handball, volleyball, cricket, rugby, futsal, table-tennis, esports,
6107
+ # darts, snooker, mma, aussie-rules, waterpolo, floorball, bandy, badminton, beach-volley,
6108
+ # minifootball, padel, motorsport, cycling (soccer, hockey, nba, nfl and the like are
6109
+ # accepted). Optional; narrows the search or name lookup to one sport.
6110
+ # @param type [String] Kind of result: all, teams, players, tournaments, matches, managers,
6111
+ # referees, venues (all mixes them, best match first). API default: all.
6112
+ # @param page [Integer] 1-based results page to start from (1-5); the site serves 20 per
6113
+ # page. API default: 1.
6114
+ # @param max_results [Integer] Results to collect across pages (1-100). API default: 20.
6115
+ # Calls POST /sports/sofascore-search.
6116
+ def sofascore_search(query, sport: nil, type: nil, page: nil, max_results: nil)
6117
+ post_json("/sports/sofascore-search", {
6118
+ query: query,
6119
+ sport: sport,
6120
+ type: type,
6121
+ page: page,
6122
+ max_results: max_results,
6123
+ })
6124
+ end
6125
+
6126
+ # A SofaScore team with matches, squad and transfers.
6127
+ #
6128
+ # Fetches a team from sofascore.com (tennis players and other individual competitors are
6129
+ # teams there too): `team` (name, short name, code, country, category, main tournament,
6130
+ # manager, venue with capacity, foundation date, followers, url) plus the `include`
6131
+ # sections: `last_matches` (most recent first) and `next_matches` (soonest first) in the
6132
+ # events shape, `squad` (players with position, shirt number, birth date, height, foot,
6133
+ # country, market value, contract), `tournaments` the team plays and `transfers` (in and out
6134
+ # with fee and date). `team` takes an id, a link or a name.
6135
+ #
6136
+ # @param team [String] The team (or a tennis player, MMA fighter and other individual
6137
+ # competitors): its id (e.g. 2829), a sofascore.com team link, or a name such as 'Real
6138
+ # Madrid' (best search match).
6139
+ # @param sport [String] The sport: football, basketball, tennis, ice-hockey, american-
6140
+ # football, baseball, handball, volleyball, cricket, rugby, futsal, table-tennis, esports,
6141
+ # darts, snooker, mma, aussie-rules, waterpolo, floorball, bandy, badminton, beach-volley,
6142
+ # minifootball, padel, motorsport, cycling (soccer, hockey, nba, nfl and the like are
6143
+ # accepted). Optional; narrows the search or name lookup to one sport.
6144
+ # @param include [String, Array<String>] Sections to add, comma separated: last_matches,
6145
+ # next_matches, squad, tournaments, transfers (or all / none). Default
6146
+ # last_matches,next_matches.
6147
+ # Calls POST /sports/sofascore-team.
6148
+ def sofascore_team(team, sport: nil, include: nil)
6149
+ post_json("/sports/sofascore-team", {
6150
+ team: team,
6151
+ sport: sport,
6152
+ include: plugin_join(include, ","),
6153
+ })
6154
+ end
6155
+
6156
+ # A SofaScore player with season stats and matches.
6157
+ #
6158
+ # Fetches a player from sofascore.com: `player` (name, team, position and detailed
6159
+ # positions, shirt number, birth date, height, preferred foot, country, market value,
6160
+ # contract end, followers, url) plus the `include` sections: `season_stats` (every statistic
6161
+ # SofaScore keeps for one competition and season, e.g. rating, goals, expected goals,
6162
+ # assists, passes, duels, saves), `seasons` (each competition with its seasons, to pick
6163
+ # `tournament` and `season`), `last_matches` (most recent first, with the player's rating,
6164
+ # minutes and goals or assists in each), `transfers`, `attributes` (attacking, technical,
6165
+ # tactical, defending, creativity scores) and `national_team` (caps, goals, debut). `player`
6166
+ # takes an id, a link or a name.
6167
+ #
6168
+ # @param player [String] The player: id (e.g. 12994), a sofascore.com player link, or a name
6169
+ # such as 'Lionel Messi' (best search match).
6170
+ # @param sport [String] The sport: football, basketball, tennis, ice-hockey, american-
6171
+ # football, baseball, handball, volleyball, cricket, rugby, futsal, table-tennis, esports,
6172
+ # darts, snooker, mma, aussie-rules, waterpolo, floorball, bandy, badminton, beach-volley,
6173
+ # minifootball, padel, motorsport, cycling (soccer, hockey, nba, nfl and the like are
6174
+ # accepted). Optional; narrows the search or name lookup to one sport.
6175
+ # @param include [String, Array<String>] Sections to add, comma separated: seasons,
6176
+ # season_stats, last_matches, transfers, attributes, national_team (or all / none). Default
6177
+ # season_stats,last_matches.
6178
+ # @param tournament [String] For season_stats: the competition id (see the seasons section).
6179
+ # Default the player's first listed competition.
6180
+ # @param season [String] For season_stats: a season id or its year as SofaScore writes it
6181
+ # ('26/27', '2026'). Default the latest.
6182
+ # Calls POST /sports/sofascore-player.
6183
+ def sofascore_player(player, sport: nil, include: nil, tournament: nil, season: nil)
6184
+ post_json("/sports/sofascore-player", {
6185
+ player: player,
6186
+ sport: sport,
6187
+ include: plugin_join(include, ","),
6188
+ tournament: tournament,
6189
+ season: season,
6190
+ })
6191
+ end
6192
+
6193
+ # A SofaScore competition with standings and fixtures.
6194
+ #
6195
+ # Fetches a competition and season from sofascore.com: `tournament` (name, category /
6196
+ # country, tier, title holder and record holders, divisions above and below, dates,
6197
+ # followers, url) and `season`, plus the `include` sections: `standings` (every table:
6198
+ # position, team, played, won, drawn, lost, scored, conceded, difference, points, promotion
6199
+ # or relegation note), `rounds`, `last_matches` (most recent first) and `next_matches`
6200
+ # (soonest first) in the events shape, `top_players` and `top_teams` (the top 10 in each
6201
+ # statistic, e.g. rating, goals, assists, expected goals) and `seasons` (every season with
6202
+ # its id). `tournament` takes an id, a link or a name.
6203
+ #
6204
+ # @param tournament [String] The competition: id (e.g. 17), a sofascore.com tournament link
6205
+ # (its '#id:' picks the season), or a name such as 'Premier League' or 'NBA' (best search
6206
+ # match).
6207
+ # @param sport [String] The sport: football, basketball, tennis, ice-hockey, american-
6208
+ # football, baseball, handball, volleyball, cricket, rugby, futsal, table-tennis, esports,
6209
+ # darts, snooker, mma, aussie-rules, waterpolo, floorball, bandy, badminton, beach-volley,
6210
+ # minifootball, padel, motorsport, cycling (soccer, hockey, nba, nfl and the like are
6211
+ # accepted). Optional; narrows the search or name lookup to one sport.
6212
+ # @param season [String] A season id or its year as SofaScore writes it ('26/27', '2026').
6213
+ # Default the current one.
6214
+ # @param include [String, Array<String>] Sections to add, comma separated: seasons,
6215
+ # standings, rounds, last_matches, next_matches, top_players, top_teams (or all / none).
6216
+ # Default standings,last_matches,next_matches.
6217
+ # Calls POST /sports/sofascore-tournament.
6218
+ def sofascore_tournament(tournament, sport: nil, season: nil, include: nil)
6219
+ post_json("/sports/sofascore-tournament", {
6220
+ tournament: tournament,
6221
+ sport: sport,
6222
+ season: season,
6223
+ include: plugin_join(include, ","),
6224
+ })
6225
+ end
6226
+
5963
6227
  # Get a website's Similarweb traffic overview.
5964
6228
  #
5965
6229
  # Returns Similarweb's public traffic overview for `domain` as JSON: `globalRank`,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ScrapeUnblocker
4
- VERSION = "0.17.0"
4
+ VERSION = "0.18.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrapeunblocker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ScrapeUnblocker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-29 00:00:00.000000000 Z
11
+ date: 2026-11-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: JS-rendered pages that bypass Cloudflare, DataDome, PerimeterX and Akamai,
14
14
  plus Google SERP and 100+ ready-made site plugins (Amazon, Walmart, Zillow, Google