projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25c67d2
)
[la7] Support more URLs
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 27 Jan 2014 06:08:01 +0000
(07:08 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 27 Jan 2014 06:08:01 +0000
(07:08 +0100)
youtube_dl/extractor/la7.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/la7.py
b/youtube_dl/extractor/la7.py
index a91b94ee9e80314a898a761fd30c87768e1b4dc8..6d61f9a90c54534cabc3b09c74f63f6a7c1c707f 100644
(file)
--- a/
youtube_dl/extractor/la7.py
+++ b/
youtube_dl/extractor/la7.py
@@
-10,7
+10,13
@@
from ..utils import (
class LA7IE(InfoExtractor):
IE_NAME = 'la7.tv'
- _VALID_URL = r'https?://(?:www\.)?la7\.tv/richplayer/\?assetid=(?P<id>[0-9]+)'
+ _VALID_URL = r'''(?x)
+ https?://(?:www\.)?la7\.tv/
+ (?:
+ richplayer/\?assetid=|
+ \?contentId=
+ )
+ (?P<id>[0-9]+)'''
_TEST = {
'url': 'http://www.la7.tv/richplayer/?assetid=50355319',