From d793781089cae7149e5fcfc7263320cf14b59eca Mon Sep 17 00:00:00 2001 From: John Helmert Date: Tue, 18 Jun 2019 14:46:58 -0500 Subject: [PATCH] Minor formatting cleanup in mime_parsers.py --- tuir/mime_parsers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tuir/mime_parsers.py b/tuir/mime_parsers.py index d14fe7c..7d6ec12 100644 --- a/tuir/mime_parsers.py +++ b/tuir/mime_parsers.py @@ -320,6 +320,7 @@ class StreamableMIMEParser(OpenGraphMIMEParser): """ pattern = re.compile(r'https?://(www\.)?streamable\.com/[^.]+$') + class TwitchMIMEParser(BaseMIMEParser): """ Twitch videos can be streamed with vlc or downloaded with youtube-dl. @@ -331,6 +332,7 @@ class TwitchMIMEParser(BaseMIMEParser): def get_mimetype(url): return url, 'video/x-youtube' + class LiveleakMIMEParser(BaseMIMEParser): """ https://www.liveleak.com/view?i=12c_3456789