1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-31 02:12:52 +08:00

[instagram] Improve _VALID_URL

This commit is contained in:
Sergey M․ 2015-04-25 22:39:50 +06:00
parent bf6427d2fb
commit f54bab4d67

View File

@ -9,7 +9,7 @@ from ..utils import (
class InstagramIE(InfoExtractor): class InstagramIE(InfoExtractor):
_VALID_URL = r'http://instagram\.com/p/(?P<id>.*?)/' _VALID_URL = r'https?://instagram\.com/p/(?P<id>[\da-zA-Z]+)'
_TEST = { _TEST = {
'url': 'http://instagram.com/p/aye83DjauH/?foo=bar#abc', 'url': 'http://instagram.com/p/aye83DjauH/?foo=bar#abc',
'md5': '0d2da106a9d2631273e192b372806516', 'md5': '0d2da106a9d2631273e192b372806516',