1
0
This commit is contained in:
Jon Michael Aanes 2024-10-25 21:30:12 +02:00
parent 842bb5d609
commit 9a9af4287a
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA
2 changed files with 5 additions and 3 deletions

View File

@ -1,8 +1,8 @@
import dataclasses
import datetime
import logging
import re
from collections.abc import Iterator
import datetime
import bs4
import requests_util

View File

@ -49,7 +49,9 @@ class SteamAchievementScraper(Scraper):
appid = int(href.split('/')[-1])
yield appid
def _scrape_app_achievements(self, username: str, appid: int) -> Iterator[dict[str, Any]]:
def _scrape_app_achievements(
self, username: str, appid: int,
) -> Iterator[dict[str, Any]]:
url = URL_GAME_ACHIVEMENTS.format(
username=username,
appid=appid,