aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-12-23 21:13:31 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-23 21:13:31 +0600
commitdcdc352371115007028632da6ae377d0ad39b62a (patch)
treeb7700ac325b2f050402fff4de997041c7864ecaa /youtube_dl
parentbe514c856cf9f95fe3e0d45b1df0319a0872b911 (diff)
[instagram:user] Improve _VALID_URL (Closes #7955)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/instagram.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/instagram.py b/youtube_dl/extractor/instagram.py
index c158f2064..e5e16ca3b 100644
--- 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 = {