diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-11-20 04:07:39 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-11-20 04:07:39 +0600 |
commit | 67446fd49b447531720d62aa339fc364a1699e2b (patch) | |
tree | a60c85b0f8bc81c1795dacb9d0e37be6d8dbaf7e /youtube_dl/extractor | |
parent | 325bb615a79928541aabfbab366ef813b4f72309 (diff) |
[instagram] Improve _VALID_URL (Closes #7568)
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 fce179000..c158f2064 100644 --- a/youtube_dl/extractor/instagram.py +++ b/youtube_dl/extractor/instagram.py @@ -10,7 +10,7 @@ from ..utils import ( class InstagramIE(InfoExtractor): - _VALID_URL = r'https://instagram\.com/p/(?P<id>[^/?#&]+)' + _VALID_URL = r'https?://(?:www\.)?instagram\.com/p/(?P<id>[^/?#&]+)' _TESTS = [{ 'url': 'https://instagram.com/p/aye83DjauH/?foo=bar#abc', 'md5': '0d2da106a9d2631273e192b372806516', |