From: Sergey M․ Date: Wed, 23 Dec 2015 15:13:31 +0000 (+0600) Subject: [instagram:user] Improve _VALID_URL (Closes #7955) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=dcdc352371115007028632da6ae377d0ad39b62a;p=youtube-dl [instagram:user] Improve _VALID_URL (Closes #7955) --- 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[^/]{2,})/?(?:$|[?#])' + _VALID_URL = r'https?://(?:www\.)?instagram\.com/(?P[^/]{2,})/?(?:$|[?#])' IE_DESC = 'Instagram user profile' IE_NAME = 'instagram:user' _TEST = {