pep8
This commit is contained in:
parent
6ae495e29b
commit
03e9329b68
@ -139,21 +139,23 @@ 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 = {
|
||||||
'description': video_desc_text,
|
'title': video_title,
|
||||||
'descriptionHtml': video_desc_html,
|
'description': video_desc_text,
|
||||||
'videoThumbnail': url_image,
|
'descriptionHtml': video_desc_html,
|
||||||
'formatStreams': {
|
'videoThumbnail': url_image,
|
||||||
'url': video_src,
|
'formatStreams': {
|
||||||
},
|
'url': video_src,
|
||||||
'author': video_author,
|
},
|
||||||
'authorUrl': video_author_url,
|
'author': video_author,
|
||||||
'published': video_publish,
|
'authorUrl': video_author_url,
|
||||||
'publishedText': video_publish_text,
|
'published': video_publish,
|
||||||
'time': video_time,
|
'publishedText': video_publish_text,
|
||||||
'category': video_category,
|
'time': video_time,
|
||||||
'keywords': video_tags,
|
'category': video_category,
|
||||||
'url': video_url}
|
'keywords': video_tags,
|
||||||
|
'url': video_url
|
||||||
|
}
|
||||||
|
|
||||||
self.json_nodes.append(node)
|
self.json_nodes.append(node)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user