Minor formatting cleanup in mime_parsers.py

This commit is contained in:
John Helmert
2019-06-18 14:46:58 -05:00
parent ceb864825b
commit d793781089

View File

@@ -320,6 +320,7 @@ class StreamableMIMEParser(OpenGraphMIMEParser):
""" """
pattern = re.compile(r'https?://(www\.)?streamable\.com/[^.]+$') pattern = re.compile(r'https?://(www\.)?streamable\.com/[^.]+$')
class TwitchMIMEParser(BaseMIMEParser): class TwitchMIMEParser(BaseMIMEParser):
""" """
Twitch videos can be streamed with vlc or downloaded with youtube-dl. Twitch videos can be streamed with vlc or downloaded with youtube-dl.
@@ -331,6 +332,7 @@ class TwitchMIMEParser(BaseMIMEParser):
def get_mimetype(url): def get_mimetype(url):
return url, 'video/x-youtube' return url, 'video/x-youtube'
class LiveleakMIMEParser(BaseMIMEParser): class LiveleakMIMEParser(BaseMIMEParser):
""" """
https://www.liveleak.com/view?i=12c_3456789 https://www.liveleak.com/view?i=12c_3456789