diff --git a/settings.py b/settings.py index 68f25d6..391dd4d 100644 --- a/settings.py +++ b/settings.py @@ -9,6 +9,10 @@ subtitles_mode = 0 # ISO 639 language code: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes subtitles_language = "en" + +enable_related_videos = True +enable_comments = True +enable_comment_avatars = True ''' exec(default_settings) try: diff --git a/youtube/comments.css b/youtube/comments.css index 325a433..0461a52 100644 --- a/youtube/comments.css +++ b/youtube/comments.css @@ -16,6 +16,8 @@ grid-row: 1 / span 3; align-self: start; margin-right: 5px; + height:32px; + width:32px; } .comment address{ diff --git a/youtube/comments.py b/youtube/comments.py index 4a00292..45a8f44 100644 --- a/youtube/comments.py +++ b/youtube/comments.py @@ -6,11 +6,12 @@ from string import Template import urllib.request import urllib import html +import settings comment_template = Template('''