Skip to content

Commit

Permalink
fix: updated api parser after last Blizzard pages update (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
TeKrop committed Jun 20, 2024
1 parent 17983a9 commit 7b01ba1
Show file tree
Hide file tree
Showing 53 changed files with 54 additions and 54 deletions.
2 changes: 1 addition & 1 deletion app/parsers/generics/api_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def root_tag_params(self) -> dict:
on the page which will be used for searching and hashing (for cache). We
don't want to calculate an hash and do the data parsing on all the HTML.
"""
return {"name": "div", "class_": "main-content", "recursive": False}
return {"name": "main", "class_": "main-content", "recursive": False}

async def retrieve_and_parse_data(self) -> None:
"""Method used to retrieve data from Blizzard (HTML data), parsing it
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "overfast-api"
version = "2.29.2"
version = "2.29.3"
description = "Overwatch API giving data about heroes, maps, and players statistics."
license = "MIT"
authors = ["Valentin PORCHET <valentin.porchet@proton.me>"]
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/ana.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/ashe.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/baptiste.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/bastion.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/brigitte.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/cassidy.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/doomfist.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/dva.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/echo.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/genji.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/hanzo.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/illari.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tests/fixtures/html/heroes/junker-queen.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/junkrat.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/kiriko.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/lifeweaver.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/lucio.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/mauga.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/mei.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/mercy.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/moira.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/orisa.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/pharah.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/ramattra.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/reaper.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/reinhardt.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/roadhog.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/sigma.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/sojourn.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/soldier-76.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/sombra.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/symmetra.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/torbjorn.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/tracer.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/unknown-hero.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/widowmaker.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/winston.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/wrecking-ball.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/zarya.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/heroes/zenyatta.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/home.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/players/Dekk-2677.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/players/JohnV1-1190.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/players/KIRIKO-21253.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/players/Player-1112937.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/players/TeKrop-2217.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/players/Unknown-1234.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/players/copypasting-1216.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/players/quibble-11594.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/fixtures/html/search.html

Large diffs are not rendered by default.

0 comments on commit 7b01ba1

Please sign in to comment.