diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-08-23 14:48:00 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-08-23 14:48:00 -0700 |
commit | 85572c94de77f4a51d5b64e44c6b50cbe200c946 (patch) | |
tree | 7dd9605ba1f24a32b32dbb3aadab378addc1a21a /youtube/watch.py | |
parent | 70d2cff81760a5bfd2d8f54349cd96d50df5f320 (diff) | |
download | yt-local-85572c94de77f4a51d5b64e44c6b50cbe200c946.tar.lz yt-local-85572c94de77f4a51d5b64e44c6b50cbe200c946.tar.xz yt-local-85572c94de77f4a51d5b64e44c6b50cbe200c946.zip |
Layout: refactor item system to be more maintainable, add vertical item type
Diffstat (limited to 'youtube/watch.py')
-rw-r--r-- | youtube/watch.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/youtube/watch.py b/youtube/watch.py index 5487dd4..8a08832 100644 --- a/youtube/watch.py +++ b/youtube/watch.py @@ -36,7 +36,6 @@ def watch_page_related_video_info(item): except KeyError: result['views'] = '' result['thumbnail'] = util.get_thumbnail_url(item['id']) - result['item_size'] = 'small' result['type'] = 'video' return result @@ -47,7 +46,6 @@ def watch_page_related_playlist_info(item): 'id': item['list'], 'first_video_id': item['video_id'], 'thumbnail': util.get_thumbnail_url(item['video_id']), - 'item_size': 'small', 'type': 'playlist', } |