Minor formatting cleanup in mime_parsers.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user