[tvplay] Adapt _VALID_URL and test case to domain name change
authorNaglis Jonaitis <njonaitis@gmail.com>
Tue, 3 Mar 2015 16:39:23 +0000 (18:39 +0200)
committerNaglis Jonaitis <njonaitis@gmail.com>
Tue, 3 Mar 2015 16:39:28 +0000 (18:39 +0200)
youtube_dl/extractor/tvplay.py

index 9a53a3c74143d72a14842ea70ce4063a8d28a30c..e83e31a31640fa32e4a19a48a745d279a14d3753 100644 (file)
@@ -16,6 +16,7 @@ class TVPlayIE(InfoExtractor):
     _VALID_URL = r'''(?x)http://(?:www\.)?
         (?:tvplay\.lv/parraides|
            tv3play\.lt/programos|
+           play\.tv3\.lt/programos|
            tv3play\.ee/sisu|
            tv3play\.se/program|
            tv6play\.se/program|
@@ -45,7 +46,7 @@ class TVPlayIE(InfoExtractor):
             },
         },
         {
-            'url': 'http://www.tv3play.lt/programos/moterys-meluoja-geriau/409229?autostart=true',
+            'url': 'http://play.tv3.lt/programos/moterys-meluoja-geriau/409229?autostart=true',
             'info_dict': {
                 'id': '409229',
                 'ext': 'flv',