1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-06-02 10:29:28 +00:00

[instagram] Relax _VALID_URL (Closes #7497)

This commit is contained in:
Sergey M․ 2015-11-14 07:20:33 +06:00
parent d8a1caf04f
commit a90189c3ad

View file

@ -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',