Tweaked regex.

This commit is contained in:
Michael Lazar committed 2016-07-11 18:03:59 -07:00
1 parent 47b9835ccc
commit a51e453660
1 file changed
+1 -1
+1 -1
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):