projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
325bb61
)
[instagram] Improve _VALID_URL (Closes #7568)
author
Sergey M․
<dstftw@gmail.com>
Thu, 19 Nov 2015 22:07:39 +0000
(
04:07
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 19 Nov 2015 22:07:39 +0000
(
04:07
+0600)
youtube_dl/extractor/instagram.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/instagram.py
b/youtube_dl/extractor/instagram.py
index fce179000786cfeacad39d9d65786aa9fea915b1..c158f206410467e8c66a8bc2526d0436cc1a4e3c 100644
(file)
--- a/
youtube_dl/extractor/instagram.py
+++ b/
youtube_dl/extractor/instagram.py
@@
-10,7
+10,7
@@
from ..utils import (
class InstagramIE(InfoExtractor):
- _VALID_URL = r'https
://
instagram\.com/p/(?P<id>[^/?#&]+)'
+ _VALID_URL = r'https
?://(?:www\.)?
instagram\.com/p/(?P<id>[^/?#&]+)'
_TESTS = [{
'url': 'https://instagram.com/p/aye83DjauH/?foo=bar#abc',
'md5': '0d2da106a9d2631273e192b372806516',