[engadget] accept short video urls
authorremitamine <remitamine@gmail.com>
Sat, 3 Oct 2015 13:17:17 +0000 (14:17 +0100)
committerremitamine <remitamine@gmail.com>
Sat, 3 Oct 2015 13:17:17 +0000 (14:17 +0100)
youtube_dl/extractor/engadget.py

index 4ea37ebd9f2072ea7610cfc4a8630e120fcfa81b..e4180701d7d5fe7f538d029e8ffb27235b6135df 100644 (file)
@@ -10,7 +10,7 @@ from ..utils import (
 
 class EngadgetIE(InfoExtractor):
     _VALID_URL = r'''(?x)https?://www.engadget.com/
-        (?:video/5min/(?P<id>\d+)|
+        (?:video(?:/5min)?/(?P<id>\d+)|
             [\d/]+/.*?)
         '''