projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf6427d
)
[instagram] Improve _VALID_URL
author
Sergey M․
<dstftw@gmail.com>
Sat, 25 Apr 2015 16:39:50 +0000
(22:39 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 25 Apr 2015 16:39:50 +0000
(22:39 +0600)
youtube_dl/extractor/instagram.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/instagram.py
b/youtube_dl/extractor/instagram.py
index b020e2621a5cc3c8d7ef6a1bc2cb6aaea989f779..d219ceb55a9adf64f4d3bada956bfecb495fe6e8 100644
(file)
--- 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'http
s?://instagram\.com/p/(?P<id>[\da-zA-Z]+)
'
_TEST = {
'url': 'http://instagram.com/p/aye83DjauH/?foo=bar#abc',
'md5': '0d2da106a9d2631273e192b372806516',