aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/ufctv.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/ufctv.py')
-rw-r--r--hypervideo_dl/extractor/ufctv.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/hypervideo_dl/extractor/ufctv.py b/hypervideo_dl/extractor/ufctv.py
new file mode 100644
index 0000000..3d74ba0
--- /dev/null
+++ b/hypervideo_dl/extractor/ufctv.py
@@ -0,0 +1,16 @@
+# coding: utf-8
+from __future__ import unicode_literals
+
+from .imggaming import ImgGamingBaseIE
+
+
+class UFCTVIE(ImgGamingBaseIE):
+ _VALID_URL = ImgGamingBaseIE._VALID_URL_TEMPL % r'(?:(?:app|www)\.)?(?:ufc\.tv|(?:ufc)?fightpass\.com)|ufcfightpass\.img(?:dge|gaming)\.com'
+ _NETRC_MACHINE = 'ufctv'
+ _REALM = 'ufc'
+
+
+class UFCArabiaIE(ImgGamingBaseIE):
+ _VALID_URL = ImgGamingBaseIE._VALID_URL_TEMPL % r'(?:(?:app|www)\.)?ufcarabia\.(?:ae|com)'
+ _NETRC_MACHINE = 'ufcarabia'
+ _REALM = 'admufc'