aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/ufctv.py
blob: d07fa1280dcc6e758c96ddae5985fd92168ecd99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# coding: utf-8
from __future__ import unicode_literals

from .imggaming import ImgGamingBaseIE


class UFCTVIE(ImgGamingBaseIE):
    _VALID_URL = ImgGamingBaseIE._VALID_URL_TEMPL % r'(?:www\.)?ufc\.tv'
    _NETRC_MACHINE = 'ufctv'
    _DOMAIN = 'ufc.tv'
    _REALM = 'ufc'


class UFCArabiaIE(ImgGamingBaseIE):
    _VALID_URL = ImgGamingBaseIE._VALID_URL_TEMPL % r'app\.ufcarabia\.com'
    _NETRC_MACHINE = 'ufcarabia'
    _DOMAIN = 'app.ufcarabia.com'
    _REALM = 'admufc'