]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[divxstage] added .to TLD
authorMarco Schuster <marco+github@m-s-d.eu>
Sat, 20 Sep 2014 00:32:41 +0000 (02:32 +0200)
committerMarco Schuster <marco+github@m-s-d.eu>
Sat, 20 Sep 2014 00:32:41 +0000 (02:32 +0200)
Example video "http://www.divxstage.eu/video/930c52709d2" which gets redirected to .to TLD

youtube_dl/extractor/divxstage.py

index 4ca3f37a223a0ce4790a123a79233440ffcc2c24..b88379e066f08bf507a5a461d987b1f1eb27049a 100644 (file)
@@ -7,7 +7,7 @@ class DivxStageIE(NovaMovIE):
     IE_NAME = 'divxstage'
     IE_DESC = 'DivxStage'
 
-    _VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'divxstage\.(?:eu|net|ch|co|at|ag)'}
+    _VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'divxstage\.(?:eu|net|ch|co|at|ag|to)'}
 
     _HOST = 'www.divxstage.eu'
 
@@ -24,4 +24,4 @@ class DivxStageIE(NovaMovIE):
             'title': 'youtubedl test video',
             'description': 'This is a test video for youtubedl.',
         }
-    }
\ No newline at end of file
+    }