projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2578ab1
)
[gamekings] Support videos from news pages
author
Sergey M․
<dstftw@gmail.com>
Sun, 8 Feb 2015 17:12:59 +0000
(23:12 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 8 Feb 2015 17:12:59 +0000
(23:12 +0600)
youtube_dl/extractor/gamekings.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/gamekings.py
b/youtube_dl/extractor/gamekings.py
index 929779f60c2d1a847d77d46b20bf8ebbfff31bfc..027f55eb2b7338dd2459c8128d587c0ac858434e 100644
(file)
--- a/
youtube_dl/extractor/gamekings.py
+++ b/
youtube_dl/extractor/gamekings.py
@@
-9,7
+9,7
@@
from ..utils import (
class GamekingsIE(InfoExtractor):
class GamekingsIE(InfoExtractor):
- _VALID_URL = r'http://www\.gamekings\.tv/
videos
/(?P<id>[^/]+)'
+ _VALID_URL = r'http://www\.gamekings\.tv/
(?:videos|nieuws)
/(?P<id>[^/]+)'
_TESTS = [{
'url': 'http://www.gamekings.tv/videos/phoenix-wright-ace-attorney-dual-destinies-review/',
# MD5 is flaky, seems to change regularly
_TESTS = [{
'url': 'http://www.gamekings.tv/videos/phoenix-wright-ace-attorney-dual-destinies-review/',
# MD5 is flaky, seems to change regularly
@@
-32,6
+32,9
@@
class GamekingsIE(InfoExtractor):
'description': 'md5:9917825fe0e9f4057601fe1e38860de3',
'thumbnail': 're:^https?://.*\.jpg$',
},
'description': 'md5:9917825fe0e9f4057601fe1e38860de3',
'thumbnail': 're:^https?://.*\.jpg$',
},
+ }, {
+ 'url': 'http://www.gamekings.tv/nieuws/gamekings-extra-shelly-en-david-bereiden-zich-voor-op-de-livestream/',
+ 'only_matching': True,
}]
def _real_extract(self, url):
}]
def _real_extract(self, url):