2017-12-29 15:30:15 -08:00
|
|
|
# coding: utf-8
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2019-12-04 08:20:53 -08:00
|
|
|
from .imggaming import ImgGamingBaseIE
|
2017-12-29 15:30:15 -08:00
|
|
|
|
|
|
|
|
2019-12-04 08:20:53 -08:00
|
|
|
class UFCTVIE(ImgGamingBaseIE):
|
2019-12-07 10:23:19 -08:00
|
|
|
_VALID_URL = ImgGamingBaseIE._VALID_URL_TEMPL % r'(?:(?:app|www)\.)?(?:ufc\.tv|(?:ufc)?fightpass\.com)|ufcfightpass\.img(?:dge|gaming)\.com'
|
2018-05-26 07:34:36 -07:00
|
|
|
_NETRC_MACHINE = 'ufctv'
|
2019-12-04 08:20:53 -08:00
|
|
|
_REALM = 'ufc'
|
2017-12-29 15:30:15 -08:00
|
|
|
|
2018-05-26 07:34:36 -07:00
|
|
|
|
2019-12-04 08:20:53 -08:00
|
|
|
class UFCArabiaIE(ImgGamingBaseIE):
|
2019-12-07 10:23:19 -08:00
|
|
|
_VALID_URL = ImgGamingBaseIE._VALID_URL_TEMPL % r'(?:(?:app|www)\.)?ufcarabia\.(?:ae|com)'
|
2019-12-04 08:20:53 -08:00
|
|
|
_NETRC_MACHINE = 'ufcarabia'
|
|
|
|
_REALM = 'admufc'
|