aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2018-12-02 20:01:36 +0100
committerRemita Amine <remitamine@gmail.com>2018-12-02 20:01:56 +0100
commit5547014ad972a4364c4d4a613db6d3a18f25950e (patch)
treea28a2072077eda3f192a8d61a692c26109a73736
parentab896fa894d2395b886e5bb8168ca0e0e6e9517d (diff)
downloadyoutube-dl-5547014ad972a4364c4d4a613db6d3a18f25950e.tar.xz
[gamespot] add support reviews URLs
-rw-r--r--youtube_dl/extractor/gamespot.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/gamespot.py b/youtube_dl/extractor/gamespot.py
index ab647dd41..4236a5ed8 100644
--- a/youtube_dl/extractor/gamespot.py
+++ b/youtube_dl/extractor/gamespot.py
@@ -14,7 +14,7 @@ from ..utils import (
class GameSpotIE(OnceIE):
- _VALID_URL = r'https?://(?:www\.)?gamespot\.com/(?:video|article)s/(?:[^/]+/\d+-|embed/)(?P<id>\d+)'
+ _VALID_URL = r'https?://(?:www\.)?gamespot\.com/(?:video|article|review)s/(?:[^/]+/\d+-|embed/)(?P<id>\d+)'
_TESTS = [{
'url': 'http://www.gamespot.com/videos/arma-3-community-guide-sitrep-i/2300-6410818/',
'md5': 'b2a30deaa8654fcccd43713a6b6a4825',
@@ -41,6 +41,9 @@ class GameSpotIE(OnceIE):
}, {
'url': 'https://www.gamespot.com/articles/the-last-of-us-2-receives-new-ps4-trailer/1100-6454469/',
'only_matching': True,
+ }, {
+ 'url': 'https://www.gamespot.com/reviews/gears-of-war-review/1900-6161188/',
+ 'only_matching': True,
}]
def _real_extract(self, url):