diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-04-25 22:39:50 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-04-25 22:39:50 +0600 |
commit | f54bab4d6777535390d64502bd20bb5a81b5468a (patch) | |
tree | edf5a06747a902f152d708ab02797fec17bb7c77 /youtube_dl | |
parent | bf6427d2fbcbd95cd1cb640e8b894c18782a2a12 (diff) |
[instagram] Improve _VALID_URL
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/instagram.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/instagram.py b/youtube_dl/extractor/instagram.py index b020e2621..d219ceb55 100644 --- a/youtube_dl/extractor/instagram.py +++ b/youtube_dl/extractor/instagram.py @@ -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', |