aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/ufctv.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2019-12-07 19:23:19 +0100
committerRemita Amine <remitamine@gmail.com>2019-12-07 19:23:19 +0100
commit6633103f8e607b23530a2c5846aeb4c9c73f4031 (patch)
tree4b8ceac3b60fb73ba4d9f71c7d4fad53184a7a6c /youtube_dl/extractor/ufctv.py
parent1d31b7ca048d0adf86946b8ace05e25d3216471e (diff)
[ufctv] add support for ufcfightpass.imgdge.com and ufcfightpass.imggaming.com domains(closes #23343)
Diffstat (limited to 'youtube_dl/extractor/ufctv.py')
-rw-r--r--youtube_dl/extractor/ufctv.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/ufctv.py b/youtube_dl/extractor/ufctv.py
index 665eb1cb7..3d74ba071 100644
--- a/youtube_dl/extractor/ufctv.py
+++ b/youtube_dl/extractor/ufctv.py
@@ -5,12 +5,12 @@ from .imggaming import ImgGamingBaseIE
class UFCTVIE(ImgGamingBaseIE):
- _VALID_URL = ImgGamingBaseIE._VALID_URL_TEMPL % r'(?:ufc\.tv|(?:ufc)?fightpass\.com)'
+ _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'ufcarabia\.(?:ae|com)'
+ _VALID_URL = ImgGamingBaseIE._VALID_URL_TEMPL % r'(?:(?:app|www)\.)?ufcarabia\.(?:ae|com)'
_NETRC_MACHINE = 'ufcarabia'
_REALM = 'admufc'