projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a13940
)
[imgur] improve regex #4998
author
John Boehr
<jbboehr@gmail.com>
Thu, 19 Feb 2015 03:28:19 +0000
(19:28 -0800)
committer
John Boehr
<jbboehr@gmail.com>
Thu, 19 Feb 2015 03:28:19 +0000
(19:28 -0800)
youtube_dl/extractor/imgur.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/imgur.py
b/youtube_dl/extractor/imgur.py
index 8449c45f43820ac9c1c90f6b2f05b6898abc4529..38c9617731cf1b1a708939e46009b0bdba88774d 100644
(file)
--- 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',