logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git

ufctv.py (511B)


  1. # coding: utf-8
  2. from __future__ import unicode_literals
  3. from .imggaming import ImgGamingBaseIE
  4. class UFCTVIE(ImgGamingBaseIE):
  5. _VALID_URL = ImgGamingBaseIE._VALID_URL_TEMPL % r'(?:(?:app|www)\.)?(?:ufc\.tv|(?:ufc)?fightpass\.com)|ufcfightpass\.img(?:dge|gaming)\.com'
  6. _NETRC_MACHINE = 'ufctv'
  7. _REALM = 'ufc'
  8. class UFCArabiaIE(ImgGamingBaseIE):
  9. _VALID_URL = ImgGamingBaseIE._VALID_URL_TEMPL % r'(?:(?:app|www)\.)?ufcarabia\.(?:ae|com)'
  10. _NETRC_MACHINE = 'ufcarabia'
  11. _REALM = 'admufc'