Tweaked regex.

This commit is contained in:
Michael Lazar
2016-07-11 18:03:59 -07:00
parent 47b9835ccc
commit a51e453660

View File

@@ -125,7 +125,7 @@ class RedditUploadsMIMEParser(BaseMIMEParser):
Reddit uploads do not have a file extension, but we can grab the mime-type
from the page header.
"""
pattern = re.compile(r'https://i.reddituploads.com/.+$')
pattern = re.compile(r'https://i\.reddituploads\.com/.+$')
@staticmethod
def get_mimetype(url):