Add game played to item description
This commit is contained in:
		
							parent
							
								
									226c4012f8
								
							
						
					
					
						commit
						3d45961b16
					
				|  | @ -177,6 +177,8 @@ class RSSVoDServer(webapp2.RequestHandler): | ||||||
|                         item["category"] = vod['broadcast_type'] |                         item["category"] = vod['broadcast_type'] | ||||||
|                     item["link"] = link |                     item["link"] = link | ||||||
|                     item["description"] = "<a href=\"%s\"><img src=\"%s\" /></a>" % (link, vod['preview']['large']) |                     item["description"] = "<a href=\"%s\"><img src=\"%s\" /></a>" % (link, vod['preview']['large']) | ||||||
|  |                     if vod.get('game'): | ||||||
|  |                         item["description"] += "<br/>" + vod['game'] | ||||||
|                     if vod.get('description_html'): |                     if vod.get('description_html'): | ||||||
|                         item["description"] += "<br/>" + vod['description_html'] |                         item["description"] += "<br/>" + vod['description_html'] | ||||||
|                     d = datetime.datetime.strptime(vod['created_at'], '%Y-%m-%dT%H:%M:%SZ') |                     d = datetime.datetime.strptime(vod['created_at'], '%Y-%m-%dT%H:%M:%SZ') | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue