from .common import InfoExtractor from ..utils import ( ExtractorError, try_call, unified_timestamp, ) class EplusIbIE(InfoExtractor): IE_NAME = 'eplus:inbound' IE_DESC = 'e+ (イープラス) overseas' _VALID_URL = r'https?://live\.eplus\.jp/ex/player\?ib=(?P(?:\w|%2B|%2F){86}%3D%3D)' _TESTS = [{ 'url': 'https://live.eplus.jp/ex/player?ib=YEFxb3Vyc2Dombnjg7blkrLlrablnJLjgrnjgq%2Fjg7zjg6vjgqLjgqTjg4njg6vlkIzlpb3kvJpgTGllbGxhIQ%3D%3D', 'info_dict': { 'id': '354502-0001-002', 'title': 'LoveLive!Series Presents COUNTDOWN LoveLive! 2021→2022~LIVE with a smile!~【Streaming+(配信)】', 'live_status': 'was_live', 'release_date': '20211231', 'release_timestamp': 1640952000, 'description': str, }, 'params': { 'skip_download': True, 'ignore_no_formats_error': True, }, 'expected_warnings': [ 'Could not find the playlist URL. This event may not be accessible', 'No video formats found!', 'Requested format is not available', ], }] def _real_extract(self, url): video_id = self._match_id(url) webpage = self._download_webpage(url, video_id) data_json = self._search_json(r'