diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-11-14 07:20:33 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-11-14 07:20:33 +0600 |
commit | a90189c3ad9bab0571121ecb70baea89ccac154e (patch) | |
tree | 0405fa8f2bab6bb258fc033375dc60d01d9c6d69 /youtube_dl/extractor | |
parent | d8a1caf04f1733d7c94f213af25c587addcea35b (diff) |
[instagram] Relax _VALID_URL (Closes #7497)
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 3d78f78c4..ddcaf76d1 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>[\da-zA-Z]+)' + _VALID_URL = r'https://instagram\.com/p/(?P<id>[^/?#&]+)' _TEST = { 'url': 'https://instagram.com/p/aye83DjauH/?foo=bar#abc', 'md5': '0d2da106a9d2631273e192b372806516', |