mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-27 01:56:52 +00:00
[instagram] Improve _VALID_URL
This commit is contained in:
parent
bf6427d2fb
commit
f54bab4d67
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ from ..utils import (
|
|||
|
||||
|
||||
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 = {
|
||||
'url': 'http://instagram.com/p/aye83DjauH/?foo=bar#abc',
|
||||
'md5': '0d2da106a9d2631273e192b372806516',
|
||||
|
|
Loading…
Reference in a new issue