Merge pull request #1 from pngwjpgh/feat/category

Set feed item category to broadcast type
This commit is contained in:
Laszlo Zeke 2017-04-01 22:00:41 +02:00 committed by GitHub
commit 36aa75b967
1 changed files with 1 additions and 0 deletions

View File

@ -157,6 +157,7 @@ class RSSVoDServer(webapp2.RequestHandler):
else:
link = vod['url']
item["title"] = vod['title']
item["category"] = vod['broadcast_type']
item["link"] = link
item["description"] = "<a href=\"%s\"><img src=\"%s\" /></a>" % (link, vod['preview']['large'])
if vod.get('description_html'):