projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2e2a8e9
)
[lnkgo] Relax _VALID_URL
author
remis
<r-pankevicius@users.noreply.github.com>
Fri, 6 Oct 2017 16:59:09 +0000
(19:59 +0300)
committer
Sergey M
<dstftw@gmail.com>
Fri, 6 Oct 2017 16:59:09 +0000
(23:59 +0700)
youtube_dl/extractor/lnkgo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/lnkgo.py
b/youtube_dl/extractor/lnkgo.py
index 068378c9c509a0483650feac42a8ffe92cc60328..cfec0d3d0910c6b107831b050f4af6dcd9d248c0 100644
(file)
--- a/
youtube_dl/extractor/lnkgo.py
+++ b/
youtube_dl/extractor/lnkgo.py
@@
-11,7
+11,7
@@
from ..utils import (
class LnkGoIE(InfoExtractor):
class LnkGoIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?lnkgo\.
alfa\.
lt/visi-video/(?P<show>[^/]+)/ziurek-(?P<id>[A-Za-z0-9-]+)'
+ _VALID_URL = r'https?://(?:www\.)?lnkgo\.
(?:alfa\.)?
lt/visi-video/(?P<show>[^/]+)/ziurek-(?P<id>[A-Za-z0-9-]+)'
_TESTS = [{
'url': 'http://lnkgo.alfa.lt/visi-video/yra-kaip-yra/ziurek-yra-kaip-yra-162',
'info_dict': {
_TESTS = [{
'url': 'http://lnkgo.alfa.lt/visi-video/yra-kaip-yra/ziurek-yra-kaip-yra-162',
'info_dict': {
@@
-42,6
+42,9
@@
class LnkGoIE(InfoExtractor):
'params': {
'skip_download': True, # HLS download
},
'params': {
'skip_download': True, # HLS download
},
+ }, {
+ 'url': 'http://www.lnkgo.lt/visi-video/aktualai-pratesimas/ziurek-putka-trys-klausimai',
+ 'only_matching': True,
}]
_AGE_LIMITS = {
'N-7': 7,
}]
_AGE_LIMITS = {
'N-7': 7,