]> Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/ufctv.py
Merge pull request #4 from debian-janitor/lintian-fixes
[youtubedl] / youtube_dl / extractor / ufctv.py
1 # coding: utf-8
2 from __future__ import unicode_literals
3
4 from .imggaming import ImgGamingBaseIE
5
6
7 class UFCTVIE(ImgGamingBaseIE):
8 _VALID_URL = ImgGamingBaseIE._VALID_URL_TEMPL % r'(?:(?:app|www)\.)?(?:ufc\.tv|(?:ufc)?fightpass\.com)|ufcfightpass\.img(?:dge|gaming)\.com'
9 _NETRC_MACHINE = 'ufctv'
10 _REALM = 'ufc'
11
12
13 class UFCArabiaIE(ImgGamingBaseIE):
14 _VALID_URL = ImgGamingBaseIE._VALID_URL_TEMPL % r'(?:(?:app|www)\.)?ufcarabia\.(?:ae|com)'
15 _NETRC_MACHINE = 'ufcarabia'
16 _REALM = 'admufc'