Browse Source

[instagram:user] Improve _VALID_URL (Closes #7955)

master
Sergey M․ 9 years ago
parent
commit
dcdc352371
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/instagram.py

2
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 = {

Loading…
Cancel
Save