diff options
author | Jesús <heckyel@hyperbola.info> | 2022-01-18 18:05:52 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2022-01-18 18:05:52 -0500 |
commit | 03e9329b687a3eb687badb3aa5394bca4ca8ab70 (patch) | |
tree | 85e79c8276e04f019c8a398838bc6ae5acfca68b | |
parent | 6ae495e29b82b65c6db558cf211db74f41c865f8 (diff) | |
download | libretube-03e9329b687a3eb687badb3aa5394bca4ca8ab70.tar.lz libretube-03e9329b687a3eb687badb3aa5394bca4ca8ab70.tar.xz libretube-03e9329b687a3eb687badb3aa5394bca4ca8ab70.zip |
pep8
-rw-r--r-- | plugins/tipue-search/tipue_search.py | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/plugins/tipue-search/tipue_search.py b/plugins/tipue-search/tipue_search.py index 1a032b2..d93b977 100644 --- a/plugins/tipue-search/tipue_search.py +++ b/plugins/tipue-search/tipue_search.py @@ -139,21 +139,23 @@ class Tipue_Search_JSON_Generator(object): data_tags = ['%s' % (tag) for tag in article.tags] video_tags = dict((num, tag) for num, tag in enumerate(data_tags)) - node = {'title': video_title, - 'description': video_desc_text, - 'descriptionHtml': video_desc_html, - 'videoThumbnail': url_image, - 'formatStreams': { - 'url': video_src, - }, - 'author': video_author, - 'authorUrl': video_author_url, - 'published': video_publish, - 'publishedText': video_publish_text, - 'time': video_time, - 'category': video_category, - 'keywords': video_tags, - 'url': video_url} + node = { + 'title': video_title, + 'description': video_desc_text, + 'descriptionHtml': video_desc_html, + 'videoThumbnail': url_image, + 'formatStreams': { + 'url': video_src, + }, + 'author': video_author, + 'authorUrl': video_author_url, + 'published': video_publish, + 'publishedText': video_publish_text, + 'time': video_time, + 'category': video_category, + 'keywords': video_tags, + 'url': video_url + } self.json_nodes.append(node) |