projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be514c8
)
[instagram:user] Improve _VALID_URL (Closes #7955)
author
Sergey M․
<dstftw@gmail.com>
Wed, 23 Dec 2015 15:13:31 +0000
(21:13 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 23 Dec 2015 15:13:31 +0000
(21:13 +0600)
youtube_dl/extractor/instagram.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/instagram.py
b/youtube_dl/extractor/instagram.py
index c158f206410467e8c66a8bc2526d0436cc1a4e3c..e5e16ca3b2aa15b64b253496e129cf7813468abe 100644
(file)
--- a/
youtube_dl/extractor/instagram.py
+++ b/
youtube_dl/extractor/instagram.py
@@
-47,7
+47,7
@@
class InstagramIE(InfoExtractor):
class InstagramUserIE(InfoExtractor):
- _VALID_URL = r'https
://
instagram\.com/(?P<username>[^/]{2,})/?(?:$|[?#])'
+ _VALID_URL = r'https
?://(?:www\.)?
instagram\.com/(?P<username>[^/]{2,})/?(?:$|[?#])'
IE_DESC = 'Instagram user profile'
IE_NAME = 'instagram:user'
_TEST = {