This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# coding: utf-8
from__future__importunicode_literals
importrandom
from.commonimportInfoExtractor
from..compatimportcompat_urllib_parse
from..utilsimport(
sanitized_Request,
xpath_text,
)
classMatchTVIE(InfoExtractor):
_VALID_URL=r'https?://matchtv\.ru/?#live-player'
_TEST={
'url':'http://matchtv.ru/#live-player',
'info_dict':{
'id':'matchtv-live',
'ext':'flv',
'title':'re:^Матч ТВ - Прямой эфир \d{4}-\d{2}-\d{2}\d{2}:\d{2}$',