Browse Source

[instagram] Improve _VALID_URL

totalwebcasting
Sergey M․ 10 years ago
parent
commit
f54bab4d67
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/instagram.py

+ 1
- 1
youtube_dl/extractor/instagram.py 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',


Loading…
Cancel
Save