1.6.1: Updated matches.
This commit is contained in:
@@ -1100,7 +1100,11 @@ def save_match(cursor, m: MatchData):
|
|||||||
ON CONFLICT(steam_id_64) DO UPDATE SET
|
ON CONFLICT(steam_id_64) DO UPDATE SET
|
||||||
uid=excluded.uid,
|
uid=excluded.uid,
|
||||||
username=excluded.username,
|
username=excluded.username,
|
||||||
avatar_url=excluded.avatar_url,
|
avatar_url=CASE
|
||||||
|
WHEN excluded.avatar_url IS NOT NULL AND excluded.avatar_url != ''
|
||||||
|
THEN excluded.avatar_url
|
||||||
|
ELSE dim_players.avatar_url
|
||||||
|
END,
|
||||||
domain=excluded.domain,
|
domain=excluded.domain,
|
||||||
created_at=excluded.created_at,
|
created_at=excluded.created_at,
|
||||||
updated_at=excluded.updated_at,
|
updated_at=excluded.updated_at,
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ python downloader.py --url https://arena.5eplay.com/data/match/g161-202601182227
|
|||||||
批量下载(从文件读取 URL):
|
批量下载(从文件读取 URL):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python downloader/downloader.py --url-list gamelist/match_list_2026.txt -concurrent 8
|
python downloader/downloader.py --url-list gamelist/match_list_2026.txt --concurrent 4 --headless true --fetch-type iframe
|
||||||
```
|
```
|
||||||
|
|
||||||
指定输出目录:
|
指定输出目录:
|
||||||
|
|||||||
Reference in New Issue
Block a user