Ruff
This commit is contained in:
parent
842bb5d609
commit
9a9af4287a
|
@ -1,8 +1,8 @@
|
||||||
import dataclasses
|
import dataclasses
|
||||||
|
import datetime
|
||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
from collections.abc import Iterator
|
from collections.abc import Iterator
|
||||||
import datetime
|
|
||||||
|
|
||||||
import bs4
|
import bs4
|
||||||
import requests_util
|
import requests_util
|
||||||
|
|
|
@ -49,7 +49,9 @@ class SteamAchievementScraper(Scraper):
|
||||||
appid = int(href.split('/')[-1])
|
appid = int(href.split('/')[-1])
|
||||||
yield appid
|
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(
|
url = URL_GAME_ACHIVEMENTS.format(
|
||||||
username=username,
|
username=username,
|
||||||
appid=appid,
|
appid=appid,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user