1
mirror of https://github.com/yt-dlp/yt-dlp synced 2024-12-14 03:19:58 +01:00
yt-dlp/youtube_dl/extractor/ufctv.py

17 lines
438 B
Python
Raw Normal View History

# coding: utf-8
from __future__ import unicode_literals
from .imggaming import ImgGamingBaseIE
class UFCTVIE(ImgGamingBaseIE):
_VALID_URL = ImgGamingBaseIE._VALID_URL_TEMPL % r'(?:ufc\.tv|(?:ufc)?fightpass\.com)'
_NETRC_MACHINE = 'ufctv'
_REALM = 'ufc'
class UFCArabiaIE(ImgGamingBaseIE):
_VALID_URL = ImgGamingBaseIE._VALID_URL_TEMPL % r'ufcarabia\.(?:ae|com)'
_NETRC_MACHINE = 'ufcarabia'
_REALM = 'admufc'