diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-12-23 21:13:31 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-12-23 21:13:31 +0600 |
commit | dcdc352371115007028632da6ae377d0ad39b62a (patch) | |
tree | b7700ac325b2f050402fff4de997041c7864ecaa /youtube_dl/extractor | |
parent | be514c856cf9f95fe3e0d45b1df0319a0872b911 (diff) |
[instagram:user] Improve _VALID_URL (Closes #7955)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/instagram.py | 2 |
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 = { |