mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-15 07:47:47 +01:00
86e5f3ed2e
Using https://github.com/asottile/pyupgrade 1. `__future__` imports and `coding: utf-8` were removed 2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format` 3. f-strings were cherry-picked from `pyupgrade --py36-plus` Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
14 lines
454 B
Python
14 lines
454 B
Python
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'
|