обновление для Кубка России

переделаны все парсеры на ссылки из базы
This commit is contained in:
2026-07-02 12:46:29 +03:00
parent b0fe3ad5a4
commit 57907fd86b
29 changed files with 1838 additions and 240 deletions

View File

@@ -12,6 +12,8 @@ from parsers.parser_standings import run_parser_standings
import requests
from bs4 import BeautifulSoup
from source_config import match_url
TZ = ZoneInfo("Europe/Moscow")
@@ -202,7 +204,7 @@ def parse_score(value: str) -> int | None:
def fetch_match_live_data(match_id: int) -> dict:
html = fetch_html(f"https://wfl.rfs.ru/match/{match_id}")
html = fetch_html(match_url(match_id))
soup = BeautifulSoup(html, "html.parser")
score_box = soup.find("div", class_="score__container")