[tvplay] Adapt _VALID_URL and test case to domain name change

This commit is contained in:
Naglis Jonaitis 2015-03-03 18:39:23 +02:00
parent 50c9949d7a
commit 22d3628319

View file

@ -16,6 +16,7 @@ class TVPlayIE(InfoExtractor):
_VALID_URL = r'''(?x)http://(?:www\.)? _VALID_URL = r'''(?x)http://(?:www\.)?
(?:tvplay\.lv/parraides| (?:tvplay\.lv/parraides|
tv3play\.lt/programos| tv3play\.lt/programos|
play\.tv3\.lt/programos|
tv3play\.ee/sisu| tv3play\.ee/sisu|
tv3play\.se/program| tv3play\.se/program|
tv6play\.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': { 'info_dict': {
'id': '409229', 'id': '409229',
'ext': 'flv', 'ext': 'flv',