projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8a1caf
)
[instagram] Relax _VALID_URL (Closes #7497)
author
Sergey M․
<dstftw@gmail.com>
Sat, 14 Nov 2015 01:20:33 +0000
(07:20 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 14 Nov 2015 01:20:33 +0000
(07:20 +0600)
youtube_dl/extractor/instagram.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/instagram.py
b/youtube_dl/extractor/instagram.py
index 3d78f78c46d1ad004339bc33ebcb09d1286e5092..ddcaf76d11ec5c5b7e2ef05fb76afd1b804391df 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>[
\da-zA-Z
]+)'
+ _VALID_URL = r'https://instagram\.com/p/(?P<id>[
^/?#&
]+)'
_TEST = {
'url': 'https://instagram.com/p/aye83DjauH/?foo=bar#abc',
'md5': '0d2da106a9d2631273e192b372806516',