From 3d45961b161107cff9d18d939ef53cc1825b0834 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 13 Jun 2018 01:35:13 +0200 Subject: [PATCH] Add game played to item description --- TwitchRSS/twitchrss.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TwitchRSS/twitchrss.py b/TwitchRSS/twitchrss.py index 267f767..bf53295 100644 --- a/TwitchRSS/twitchrss.py +++ b/TwitchRSS/twitchrss.py @@ -177,6 +177,8 @@ class RSSVoDServer(webapp2.RequestHandler): item["category"] = vod['broadcast_type'] item["link"] = link item["description"] = "" % (link, vod['preview']['large']) + if vod.get('game'): + item["description"] += "
" + vod['game'] if vod.get('description_html'): item["description"] += "
" + vod['description_html'] d = datetime.datetime.strptime(vod['created_at'], '%Y-%m-%dT%H:%M:%SZ')