projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
159d304
)
[vgtv] Relax _VALID_URL (closes #14223)
author
Sergey M․
<dstftw@gmail.com>
Fri, 15 Sep 2017 15:13:30 +0000
(22:13 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 15 Sep 2017 15:13:30 +0000
(22:13 +0700)
youtube_dl/extractor/vgtv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vgtv.py
b/youtube_dl/extractor/vgtv.py
index 0f8c156a79ff7d67958b88e488ff50548bf3c998..c21a09c01f03035b092a09ab314bf73430cd7d5a 100644
(file)
--- a/
youtube_dl/extractor/vgtv.py
+++ b/
youtube_dl/extractor/vgtv.py
@@
-42,7
+42,7
@@
class VGTVIE(XstreamIE):
)
/?
(?:
-
\#!/
(?:video|live)/|
+
(?:\#!/)?
(?:video|live)/|
embed?.*id=|
articles/
)|
@@
-146,7
+146,11
@@
class VGTVIE(XstreamIE):
{
'url': 'abtv:140026',
'only_matching': True,
- }
+ },
+ {
+ 'url': 'http://www.vgtv.no/video/84196/hevnen-er-soet-episode-10-abu',
+ 'only_matching': True,
+ },
]
def _real_extract(self, url):