aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Boehr <jbboehr@gmail.com>2015-02-18 19:28:19 -0800
committerJohn Boehr <jbboehr@gmail.com>2015-02-18 19:28:19 -0800
commitd236b37ac94cd36657c881e18b8d9187483afa80 (patch)
tree3839b217b8194604701a8dcf180c70bb969c4da5
parent1a13940c8dada638f8298b6c1406f38d4a3bf270 (diff)
[imgur] improve regex #4998
-rw-r--r--youtube_dl/extractor/imgur.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/imgur.py b/youtube_dl/extractor/imgur.py
index 8449c45f4..38c961773 100644
--- a/youtube_dl/extractor/imgur.py
+++ b/youtube_dl/extractor/imgur.py
@@ -11,7 +11,7 @@ from ..utils import (
)
class ImgurIE(InfoExtractor):
- _VALID_URL = r'https?://(?:i\.)?imgur\.com/(?P<id>[a-zA-Z0-9]+)(?:\.)?(?:mp4|gifv)?'
+ _VALID_URL = r'https?://(?:i\.)?imgur\.com/(?P<id>[a-zA-Z0-9]+)(?:\.mp4|\.gifv)?'
_TESTS = [{
'url': 'https://i.imgur.com/A61SaA1.gifv',