Update EpicGameStore API

This commit is contained in:
Monst.x 2022-02-18 13:11:24 +08:00 committed by GitHub
parent 14cce89a18
commit 7dac834144
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ from configs.config import NICKNAME
# 方法参考RSSHub /epicgames 路由
# https://github.com/DIYgod/RSSHub/blob/master/lib/routes/epicgames/index.js
async def get_epic_game():
epic_url = "https://www.epicgames.com/store/backend/graphql-proxy"
epic_url = "https://www.epicgames.com/graphql"
headers = {
"Referer": "https://www.epicgames.com/store/zh-CN/",
"Content-Type": "application/json; charset=utf-8",