]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[viddler] Support non-digit IDs (Fixes #1714)
authorPhilipp Hagemeister <phihag@phihag.de>
Sun, 3 Nov 2013 14:49:59 +0000 (15:49 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Sun, 3 Nov 2013 14:49:59 +0000 (15:49 +0100)
youtube_dl/extractor/viddler.py

index 12c84a985cc8a2ee49b592d504e60cdbe8500eb8..826804af37af54e308f90349e909d3e0e3aa5126 100644 (file)
@@ -8,7 +8,7 @@ from ..utils import (
 
 
 class ViddlerIE(InfoExtractor):
-    _VALID_URL = r'(?P<domain>https?://(?:www\.)?viddler.com)/(?:v|embed|player)/(?P<id>[0-9]+)'
+    _VALID_URL = r'(?P<domain>https?://(?:www\.)?viddler.com)/(?:v|embed|player)/(?P<id>[a-z0-9]+)'
     _TEST = {
         u"url": u"http://www.viddler.com/v/43903784",
         u'file': u'43903784.mp4',