Skip to content

Instantly share code, notes, and snippets.

View c3kay's full-sized avatar

Calvin c3kay

View GitHub Profile
@c3kay
c3kay / genshin_json_feed.py
Last active July 31, 2023 20:09
Hoyolab-RSS-Feeds no config example
# for more information, refer to hoyolabrssfeeds.models
from asyncio import run
import hoyolabrssfeeds as hrf
def generate_genshin_json_feed():
genshin_meta = hrf.models.FeedMeta(
# only "game" is required, others are optional
game=hrf.models.Game.GENSHIN,