Răsfoiți Sursa

[gamespot] add support for article URLS(closes #14652)

Remita Amine 7 ani în urmă
părinte
comite
79d1f8ed68
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      youtube_dl/extractor/gamespot.py

+ 1 - 1
youtube_dl/extractor/gamespot.py

@@ -14,7 +14,7 @@ from ..utils import (
 
 
 class GameSpotIE(OnceIE):
-    _VALID_URL = r'https?://(?:www\.)?gamespot\.com/videos/(?:[^/]+/\d+-|embed/)(?P<id>\d+)'
+    _VALID_URL = r'https?://(?:www\.)?gamespot\.com/(?:video|article)s/(?:[^/]+/\d+-|embed/)(?P<id>\d+)'
     _TESTS = [{
         'url': 'http://www.gamespot.com/videos/arma-3-community-guide-sitrep-i/2300-6410818/',
         'md5': 'b2a30deaa8654fcccd43713a6b6a4825',