summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2015-02-08 23:12:59 +0600
committerSergey M․ <[email protected]>2015-02-08 23:12:59 +0600
commit41c23b0da58ba36805a67f4736890475ab7abedf (patch)
treee54c4a8e3611cf7f9f0b24d67256f7a5a362e1a0
parent2578ab19e4988a009405337cab820eec96e97e22 (diff)
downloadyoutube-dl-41c23b0da58ba36805a67f4736890475ab7abedf.tar.gz
youtube-dl-41c23b0da58ba36805a67f4736890475ab7abedf.zip
[gamekings] Support videos from news pages
-rw-r--r--youtube_dl/extractor/gamekings.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/gamekings.py b/youtube_dl/extractor/gamekings.py
index 929779f60..027f55eb2 100644
--- a/youtube_dl/extractor/gamekings.py
+++ b/youtube_dl/extractor/gamekings.py
@@ -9,7 +9,7 @@ from ..utils import (
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
@@ -32,6 +32,9 @@ class GamekingsIE(InfoExtractor):
'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):