From: Sergey M․ Date: Sat, 14 Nov 2015 01:20:33 +0000 (+0600) Subject: [instagram] Relax _VALID_URL (Closes #7497) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=a90189c3ad9bab0571121ecb70baea89ccac154e;p=youtube-dl [instagram] Relax _VALID_URL (Closes #7497) --- 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[\da-zA-Z]+)' + _VALID_URL = r'https://instagram\.com/p/(?P[^/?#&]+)' _TEST = { 'url': 'https://instagram.com/p/aye83DjauH/?foo=bar#abc', 'md5': '0d2da106a9d2631273e192b372806516',