This commit is contained in:
Jesús 2022-01-18 18:05:52 -05:00
parent 6ae495e29b
commit 03e9329b68
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -139,7 +139,8 @@ class Tipue_Search_JSON_Generator(object):
data_tags = ['%s' % (tag) for tag in article.tags] data_tags = ['%s' % (tag) for tag in article.tags]
video_tags = dict((num, tag) for num, tag in enumerate(data_tags)) video_tags = dict((num, tag) for num, tag in enumerate(data_tags))
node = {'title': video_title, node = {
'title': video_title,
'description': video_desc_text, 'description': video_desc_text,
'descriptionHtml': video_desc_html, 'descriptionHtml': video_desc_html,
'videoThumbnail': url_image, 'videoThumbnail': url_image,
@ -153,7 +154,8 @@ class Tipue_Search_JSON_Generator(object):
'time': video_time, 'time': video_time,
'category': video_category, 'category': video_category,
'keywords': video_tags, 'keywords': video_tags,
'url': video_url} 'url': video_url
}
self.json_nodes.append(node) self.json_nodes.append(node)