2018-06-02 19:07:36 +02:00
|
|
|
import base64
|
|
|
|
import binascii
|
2017-03-31 13:24:23 +02:00
|
|
|
import json
|
|
|
|
import os
|
2018-06-02 19:07:36 +02:00
|
|
|
import random
|
2024-01-28 17:03:19 +01:00
|
|
|
import time
|
2017-03-31 13:24:23 +02:00
|
|
|
|
|
|
|
from .common import InfoExtractor
|
2022-01-31 15:49:33 +01:00
|
|
|
from ..aes import aes_cbc_decrypt_bytes, unpad_pkcs7
|
2023-07-09 09:53:02 +02:00
|
|
|
from ..networking.exceptions import HTTPError
|
2017-03-31 13:24:23 +02:00
|
|
|
from ..utils import (
|
2024-05-26 21:27:21 +02:00
|
|
|
ExtractorError,
|
2021-10-19 19:28:14 +02:00
|
|
|
ass_subtitles_timecode,
|
2018-06-02 19:07:36 +02:00
|
|
|
bytes_to_long,
|
2017-03-31 13:24:23 +02:00
|
|
|
float_or_none,
|
2021-01-16 13:40:15 +01:00
|
|
|
int_or_none,
|
2024-07-14 17:58:05 +02:00
|
|
|
join_nonempty,
|
2018-06-02 19:07:36 +02:00
|
|
|
long_to_bytes,
|
2024-01-28 17:03:19 +01:00
|
|
|
parse_iso8601,
|
2018-06-02 19:07:36 +02:00
|
|
|
pkcs1pad,
|
2024-01-19 17:38:21 +01:00
|
|
|
str_or_none,
|
2024-05-26 21:27:21 +02:00
|
|
|
strip_or_none,
|
2021-01-16 13:40:15 +01:00
|
|
|
try_get,
|
|
|
|
unified_strdate,
|
2021-02-04 08:56:01 +01:00
|
|
|
urlencode_postdata,
|
2017-03-31 13:24:23 +02:00
|
|
|
)
|
2024-01-19 17:38:21 +01:00
|
|
|
from ..utils.traversal import traverse_obj
|
2017-03-31 13:24:23 +02:00
|
|
|
|
|
|
|
|
2024-01-19 17:38:21 +01:00
|
|
|
class ADNBaseIE(InfoExtractor):
|
2022-11-06 20:46:33 +01:00
|
|
|
IE_DESC = 'Animation Digital Network'
|
2024-01-19 17:38:21 +01:00
|
|
|
_NETRC_MACHINE = 'animationdigitalnetwork'
|
|
|
|
_BASE = 'animationdigitalnetwork.fr'
|
|
|
|
_API_BASE_URL = f'https://gw.api.{_BASE}/'
|
|
|
|
_PLAYER_BASE_URL = f'{_API_BASE_URL}player/'
|
|
|
|
_HEADERS = {}
|
|
|
|
_LOGIN_ERR_MESSAGE = 'Unable to log in'
|
|
|
|
_RSA_KEY = (0x9B42B08905199A5CCE2026274399CA560ECB209EE9878A708B1C0812E1BB8CB5D1FB7441861147C1A1F2F3A0476DD63A9CAC20D3E983613346850AA6CB38F16DC7D720FD7D86FC6E5B3D5BBC72E14CD0BF9E869F2CEA2CCAD648F1DCE38F1FF916CEFB2D339B64AA0264372344BC775E265E8A852F88144AB0BD9AA06C1A4ABB, 65537)
|
|
|
|
_POS_ALIGN_MAP = {
|
|
|
|
'start': 1,
|
|
|
|
'end': 3,
|
|
|
|
}
|
|
|
|
_LINE_ALIGN_MAP = {
|
|
|
|
'middle': 8,
|
|
|
|
'end': 4,
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class ADNIE(ADNBaseIE):
|
2024-08-15 21:50:08 +02:00
|
|
|
_VALID_URL = r'https?://(?:www\.)?animationdigitalnetwork\.com/(?:(?P<lang>de)/)?video/[^/?#]+/(?P<id>\d+)'
|
2022-11-06 20:46:33 +01:00
|
|
|
_TESTS = [{
|
2024-08-15 21:50:08 +02:00
|
|
|
'url': 'https://animationdigitalnetwork.com/video/558-fruits-basket/9841-episode-1-a-ce-soir',
|
2022-11-06 20:46:33 +01:00
|
|
|
'md5': '1c9ef066ceb302c86f80c2b371615261',
|
2017-03-31 13:24:23 +02:00
|
|
|
'info_dict': {
|
2022-11-06 20:46:33 +01:00
|
|
|
'id': '9841',
|
2017-03-31 13:24:23 +02:00
|
|
|
'ext': 'mp4',
|
2022-11-06 20:46:33 +01:00
|
|
|
'title': 'Fruits Basket - Episode 1',
|
|
|
|
'description': 'md5:14be2f72c3c96809b0ca424b0097d336',
|
|
|
|
'series': 'Fruits Basket',
|
|
|
|
'duration': 1437,
|
|
|
|
'release_date': '20190405',
|
2021-01-16 13:40:15 +01:00
|
|
|
'comment_count': int,
|
|
|
|
'average_rating': float,
|
2022-11-06 20:46:33 +01:00
|
|
|
'season_number': 1,
|
|
|
|
'episode': 'À ce soir !',
|
2021-01-16 13:40:15 +01:00
|
|
|
'episode_number': 1,
|
2024-01-19 17:38:21 +01:00
|
|
|
'thumbnail': str,
|
|
|
|
'season': 'Season 1',
|
2022-11-06 20:46:33 +01:00
|
|
|
},
|
2024-01-19 17:38:21 +01:00
|
|
|
'skip': 'Only available in French and German speaking Europe',
|
2022-11-06 20:46:33 +01:00
|
|
|
}, {
|
2024-08-15 21:50:08 +02:00
|
|
|
'url': 'https://animationdigitalnetwork.com/de/video/973-the-eminence-in-shadow/23550-folge-1',
|
2024-01-19 17:38:21 +01:00
|
|
|
'md5': '5c5651bf5791fa6fcd7906012b9d94e8',
|
|
|
|
'info_dict': {
|
|
|
|
'id': '23550',
|
|
|
|
'ext': 'mp4',
|
|
|
|
'episode_number': 1,
|
|
|
|
'duration': 1417,
|
|
|
|
'release_date': '20231004',
|
|
|
|
'series': 'The Eminence in Shadow',
|
|
|
|
'season_number': 2,
|
|
|
|
'episode': str,
|
|
|
|
'title': str,
|
|
|
|
'thumbnail': str,
|
|
|
|
'season': 'Season 2',
|
|
|
|
'comment_count': int,
|
|
|
|
'average_rating': float,
|
|
|
|
'description': str,
|
|
|
|
},
|
|
|
|
# 'skip': 'Only available in French and German speaking Europe',
|
2022-11-06 20:46:33 +01:00
|
|
|
}]
|
2021-01-16 13:40:15 +01:00
|
|
|
|
|
|
|
def _get_subtitles(self, sub_url, video_id):
|
|
|
|
if not sub_url:
|
2017-03-31 13:24:23 +02:00
|
|
|
return None
|
|
|
|
|
|
|
|
enc_subtitles = self._download_webpage(
|
2021-01-16 13:40:15 +01:00
|
|
|
sub_url, video_id, 'Downloading subtitles location', fatal=False) or '{}'
|
2019-04-16 14:04:13 +02:00
|
|
|
subtitle_location = (self._parse_json(enc_subtitles, video_id, fatal=False) or {}).get('location')
|
|
|
|
if subtitle_location:
|
|
|
|
enc_subtitles = self._download_webpage(
|
2021-01-16 13:40:15 +01:00
|
|
|
subtitle_location, video_id, 'Downloading subtitles data',
|
2022-11-06 20:46:33 +01:00
|
|
|
fatal=False, headers={'Origin': 'https://' + self._BASE})
|
2017-03-31 13:24:23 +02:00
|
|
|
if not enc_subtitles:
|
|
|
|
return None
|
|
|
|
|
2022-11-06 20:46:33 +01:00
|
|
|
# http://animationdigitalnetwork.fr/components/com_vodvideo/videojs/adn-vjs.min.js
|
2022-01-31 15:49:33 +01:00
|
|
|
dec_subtitles = unpad_pkcs7(aes_cbc_decrypt_bytes(
|
2024-06-12 01:09:58 +02:00
|
|
|
base64.b64decode(enc_subtitles[24:]),
|
2022-05-15 13:57:53 +02:00
|
|
|
binascii.unhexlify(self._K + '7fac1178830cfe0c'),
|
2024-06-12 01:09:58 +02:00
|
|
|
base64.b64decode(enc_subtitles[:24])))
|
2022-01-31 15:49:33 +01:00
|
|
|
subtitles_json = self._parse_json(dec_subtitles.decode(), None, fatal=False)
|
2017-03-31 13:24:23 +02:00
|
|
|
if not subtitles_json:
|
|
|
|
return None
|
|
|
|
|
|
|
|
subtitles = {}
|
|
|
|
for sub_lang, sub in subtitles_json.items():
|
2019-04-04 15:50:16 +02:00
|
|
|
ssa = '''[Script Info]
|
|
|
|
ScriptType:V4.00
|
|
|
|
[V4 Styles]
|
2019-04-04 18:59:20 +02:00
|
|
|
Format: Name,Fontname,Fontsize,PrimaryColour,SecondaryColour,TertiaryColour,BackColour,Bold,Italic,BorderStyle,Outline,Shadow,Alignment,MarginL,MarginR,MarginV,AlphaLevel,Encoding
|
|
|
|
Style: Default,Arial,18,16777215,16777215,16777215,0,-1,0,1,1,0,2,20,20,20,0,0
|
2019-04-04 15:50:16 +02:00
|
|
|
[Events]
|
2019-04-04 18:59:20 +02:00
|
|
|
Format: Marked,Start,End,Style,Name,MarginL,MarginR,MarginV,Effect,Text'''
|
2019-04-04 15:50:16 +02:00
|
|
|
for current in sub:
|
|
|
|
start, end, text, line_align, position_align = (
|
2017-03-31 13:24:23 +02:00
|
|
|
float_or_none(current.get('startTime')),
|
|
|
|
float_or_none(current.get('endTime')),
|
2019-04-04 15:50:16 +02:00
|
|
|
current.get('text'), current.get('lineAlign'),
|
|
|
|
current.get('positionAlign'))
|
2017-03-31 13:24:23 +02:00
|
|
|
if start is None or end is None or text is None:
|
|
|
|
continue
|
2019-04-04 15:50:16 +02:00
|
|
|
alignment = self._POS_ALIGN_MAP.get(position_align, 2) + self._LINE_ALIGN_MAP.get(line_align, 0)
|
2024-06-12 01:09:58 +02:00
|
|
|
ssa += os.linesep + 'Dialogue: Marked=0,{},{},Default,,0,0,0,,{}{}'.format(
|
2021-10-19 19:28:14 +02:00
|
|
|
ass_subtitles_timecode(start),
|
|
|
|
ass_subtitles_timecode(end),
|
2019-04-04 15:50:16 +02:00
|
|
|
'{\\a%d}' % alignment if alignment != 2 else '',
|
|
|
|
text.replace('\n', '\\N').replace('<i>', '{\\i1}').replace('</i>', '{\\i0}'))
|
2017-03-31 13:24:23 +02:00
|
|
|
|
|
|
|
if sub_lang == 'vostf':
|
|
|
|
sub_lang = 'fr'
|
2024-01-19 17:38:21 +01:00
|
|
|
elif sub_lang == 'vostde':
|
|
|
|
sub_lang = 'de'
|
2017-03-31 13:24:23 +02:00
|
|
|
subtitles.setdefault(sub_lang, []).extend([{
|
|
|
|
'ext': 'json',
|
|
|
|
'data': json.dumps(sub),
|
|
|
|
}, {
|
2019-04-04 15:50:16 +02:00
|
|
|
'ext': 'ssa',
|
|
|
|
'data': ssa,
|
2017-03-31 13:24:23 +02:00
|
|
|
}])
|
|
|
|
return subtitles
|
|
|
|
|
2022-03-18 21:53:33 +01:00
|
|
|
def _perform_login(self, username, password):
|
2021-02-04 08:56:01 +01:00
|
|
|
try:
|
|
|
|
access_token = (self._download_json(
|
|
|
|
self._API_BASE_URL + 'authentication/login', None,
|
|
|
|
'Logging in', self._LOGIN_ERR_MESSAGE, fatal=False,
|
|
|
|
data=urlencode_postdata({
|
|
|
|
'password': password,
|
|
|
|
'rememberMe': False,
|
|
|
|
'source': 'Web',
|
|
|
|
'username': username,
|
|
|
|
})) or {}).get('accessToken')
|
|
|
|
if access_token:
|
2024-08-15 21:50:08 +02:00
|
|
|
self._HEADERS['Authorization'] = f'Bearer {access_token}'
|
2021-02-04 08:56:01 +01:00
|
|
|
except ExtractorError as e:
|
|
|
|
message = None
|
2023-07-09 09:53:02 +02:00
|
|
|
if isinstance(e.cause, HTTPError) and e.cause.status == 401:
|
2021-02-04 08:56:01 +01:00
|
|
|
resp = self._parse_json(
|
2023-07-09 09:53:02 +02:00
|
|
|
e.cause.response.read().decode(), None, fatal=False) or {}
|
2021-02-04 08:56:01 +01:00
|
|
|
message = resp.get('message') or resp.get('code')
|
|
|
|
self.report_warning(message or self._LOGIN_ERR_MESSAGE)
|
|
|
|
|
2017-03-31 13:24:23 +02:00
|
|
|
def _real_extract(self, url):
|
2024-01-19 17:38:21 +01:00
|
|
|
lang, video_id = self._match_valid_url(url).group('lang', 'id')
|
2024-08-15 21:50:08 +02:00
|
|
|
self._HEADERS['X-Target-Distribution'] = lang or 'fr'
|
2024-06-12 01:09:58 +02:00
|
|
|
video_base_url = self._PLAYER_BASE_URL + f'video/{video_id}/'
|
2021-01-16 13:40:15 +01:00
|
|
|
player = self._download_json(
|
|
|
|
video_base_url + 'configuration', video_id,
|
2021-02-04 08:56:01 +01:00
|
|
|
'Downloading player config JSON metadata',
|
|
|
|
headers=self._HEADERS)['player']
|
2021-01-16 13:40:15 +01:00
|
|
|
options = player['options']
|
|
|
|
|
|
|
|
user = options['user']
|
|
|
|
if not user.get('hasAccess'):
|
2024-01-28 17:03:19 +01:00
|
|
|
start_date = traverse_obj(options, ('video', 'startDate', {str}))
|
|
|
|
if (parse_iso8601(start_date) or 0) > time.time():
|
|
|
|
raise ExtractorError(f'This video is not available yet. Release date: {start_date}', expected=True)
|
|
|
|
self.raise_login_required('This video requires a subscription', method='password')
|
2021-01-16 13:40:15 +01:00
|
|
|
|
|
|
|
token = self._download_json(
|
|
|
|
user.get('refreshTokenUrl') or (self._PLAYER_BASE_URL + 'refresh/token'),
|
|
|
|
video_id, 'Downloading access token', headers={
|
2024-01-19 17:38:21 +01:00
|
|
|
'X-Player-Refresh-Token': user['refreshToken'],
|
2021-01-16 13:40:15 +01:00
|
|
|
}, data=b'')['token']
|
|
|
|
|
|
|
|
links_url = try_get(options, lambda x: x['video']['url']) or (video_base_url + 'link')
|
2022-12-30 03:43:49 +01:00
|
|
|
self._K = ''.join(random.choices('0123456789abcdef', k=16))
|
2024-11-17 00:24:11 +01:00
|
|
|
message = list(json.dumps({
|
2021-01-16 13:40:15 +01:00
|
|
|
'k': self._K,
|
|
|
|
't': token,
|
2024-11-17 00:24:11 +01:00
|
|
|
}).encode())
|
2021-01-16 13:40:15 +01:00
|
|
|
|
|
|
|
# Sometimes authentication fails for no good reason, retry with
|
|
|
|
# a different random padding
|
|
|
|
links_data = None
|
|
|
|
for _ in range(3):
|
2024-11-17 00:24:11 +01:00
|
|
|
padded_message = bytes(pkcs1pad(message, 128))
|
2018-06-02 19:07:36 +02:00
|
|
|
n, e = self._RSA_KEY
|
|
|
|
encrypted_message = long_to_bytes(pow(bytes_to_long(padded_message), e, n))
|
|
|
|
authorization = base64.b64encode(encrypted_message).decode()
|
2021-01-16 13:40:15 +01:00
|
|
|
|
|
|
|
try:
|
|
|
|
links_data = self._download_json(
|
|
|
|
links_url, video_id, 'Downloading links JSON metadata', headers={
|
2024-01-19 17:38:21 +01:00
|
|
|
'X-Player-Token': authorization,
|
2024-06-12 01:09:58 +02:00
|
|
|
**self._HEADERS,
|
2021-01-16 13:40:15 +01:00
|
|
|
}, query={
|
|
|
|
'freeWithAds': 'true',
|
|
|
|
'adaptive': 'false',
|
|
|
|
'withMetadata': 'true',
|
2024-06-12 01:09:58 +02:00
|
|
|
'source': 'Web',
|
2021-01-16 13:40:15 +01:00
|
|
|
})
|
|
|
|
break
|
|
|
|
except ExtractorError as e:
|
2023-07-09 09:53:02 +02:00
|
|
|
if not isinstance(e.cause, HTTPError):
|
2021-01-16 13:40:15 +01:00
|
|
|
raise e
|
|
|
|
|
2023-07-09 09:53:02 +02:00
|
|
|
if e.cause.status == 401:
|
2021-01-16 13:40:15 +01:00
|
|
|
# This usually goes away with a different random pkcs1pad, so retry
|
|
|
|
continue
|
|
|
|
|
2023-07-09 09:53:02 +02:00
|
|
|
error = self._parse_json(e.cause.response.read(), video_id)
|
2021-01-16 13:40:15 +01:00
|
|
|
message = error.get('message')
|
|
|
|
if e.cause.code == 403 and error.get('code') == 'player-bad-geolocation-country':
|
|
|
|
self.raise_geo_restricted(msg=message)
|
2021-02-04 08:56:01 +01:00
|
|
|
raise ExtractorError(message)
|
2021-01-16 13:40:15 +01:00
|
|
|
else:
|
|
|
|
raise ExtractorError('Giving up retrying')
|
|
|
|
|
|
|
|
links = links_data.get('links') or {}
|
|
|
|
metas = links_data.get('metadata') or {}
|
|
|
|
sub_url = (links.get('subtitles') or {}).get('all')
|
|
|
|
video_info = links_data.get('video') or {}
|
|
|
|
title = metas['title']
|
2017-03-31 13:24:23 +02:00
|
|
|
|
|
|
|
formats = []
|
2021-01-16 13:40:15 +01:00
|
|
|
for format_id, qualities in (links.get('streaming') or {}).items():
|
2017-05-26 21:00:44 +02:00
|
|
|
if not isinstance(qualities, dict):
|
|
|
|
continue
|
2019-04-04 15:50:16 +02:00
|
|
|
for quality, load_balancer_url in qualities.items():
|
2017-03-31 13:24:23 +02:00
|
|
|
load_balancer_data = self._download_json(
|
2019-04-04 15:50:16 +02:00
|
|
|
load_balancer_url, video_id,
|
2024-06-12 01:09:58 +02:00
|
|
|
f'Downloading {format_id} {quality} JSON metadata',
|
2024-08-15 21:50:08 +02:00
|
|
|
headers=self._HEADERS,
|
2019-04-04 15:50:16 +02:00
|
|
|
fatal=False) or {}
|
2017-03-31 13:24:23 +02:00
|
|
|
m3u8_url = load_balancer_data.get('location')
|
|
|
|
if not m3u8_url:
|
|
|
|
continue
|
|
|
|
m3u8_formats = self._extract_m3u8_formats(
|
|
|
|
m3u8_url, video_id, 'mp4', 'm3u8_native',
|
|
|
|
m3u8_id=format_id, fatal=False)
|
|
|
|
if format_id == 'vf':
|
|
|
|
for f in m3u8_formats:
|
|
|
|
f['language'] = 'fr'
|
2024-01-19 17:38:21 +01:00
|
|
|
elif format_id == 'vde':
|
|
|
|
for f in m3u8_formats:
|
|
|
|
f['language'] = 'de'
|
2017-03-31 13:24:23 +02:00
|
|
|
formats.extend(m3u8_formats)
|
|
|
|
|
2024-01-28 17:03:19 +01:00
|
|
|
if not formats:
|
|
|
|
self.raise_login_required('This video requires a subscription', method='password')
|
|
|
|
|
2021-01-16 13:40:15 +01:00
|
|
|
video = (self._download_json(
|
2024-06-12 01:09:58 +02:00
|
|
|
self._API_BASE_URL + f'video/{video_id}', video_id,
|
2024-08-15 21:50:08 +02:00
|
|
|
'Downloading additional video metadata', fatal=False, headers=self._HEADERS) or {}).get('video') or {}
|
2021-01-16 13:40:15 +01:00
|
|
|
show = video.get('show') or {}
|
|
|
|
|
2017-03-31 13:24:23 +02:00
|
|
|
return {
|
|
|
|
'id': video_id,
|
|
|
|
'title': title,
|
2021-01-16 13:40:15 +01:00
|
|
|
'description': strip_or_none(metas.get('summary') or video.get('summary')),
|
|
|
|
'thumbnail': video_info.get('image') or player.get('image'),
|
2017-03-31 13:24:23 +02:00
|
|
|
'formats': formats,
|
2021-01-16 13:40:15 +01:00
|
|
|
'subtitles': self.extract_subtitles(sub_url, video_id),
|
|
|
|
'episode': metas.get('subtitle') or video.get('name'),
|
|
|
|
'episode_number': int_or_none(video.get('shortNumber')),
|
|
|
|
'series': show.get('title'),
|
|
|
|
'season_number': int_or_none(video.get('season')),
|
|
|
|
'duration': int_or_none(video_info.get('duration') or video.get('duration')),
|
|
|
|
'release_date': unified_strdate(video.get('releaseDate')),
|
|
|
|
'average_rating': float_or_none(video.get('rating') or metas.get('rating')),
|
|
|
|
'comment_count': int_or_none(video.get('commentsCount')),
|
2017-03-31 13:24:23 +02:00
|
|
|
}
|
2024-01-19 17:38:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
class ADNSeasonIE(ADNBaseIE):
|
2024-08-15 21:50:08 +02:00
|
|
|
_VALID_URL = r'https?://(?:www\.)?animationdigitalnetwork\.com/(?:(?P<lang>de)/)?video/(?P<id>\d+)[^/?#]*/?(?:$|[#?])'
|
2024-01-19 17:38:21 +01:00
|
|
|
_TESTS = [{
|
2024-08-15 21:50:08 +02:00
|
|
|
'url': 'https://animationdigitalnetwork.com/video/911-tokyo-mew-mew-new',
|
2024-01-19 17:38:21 +01:00
|
|
|
'playlist_count': 12,
|
|
|
|
'info_dict': {
|
|
|
|
'id': '911',
|
|
|
|
'title': 'Tokyo Mew Mew New',
|
|
|
|
},
|
|
|
|
# 'skip': 'Only available in French end German speaking Europe',
|
|
|
|
}]
|
|
|
|
|
|
|
|
def _real_extract(self, url):
|
|
|
|
lang, video_show_slug = self._match_valid_url(url).group('lang', 'id')
|
2024-08-15 21:50:08 +02:00
|
|
|
self._HEADERS['X-Target-Distribution'] = lang or 'fr'
|
2024-01-19 17:38:21 +01:00
|
|
|
show = self._download_json(
|
|
|
|
f'{self._API_BASE_URL}show/{video_show_slug}/', video_show_slug,
|
|
|
|
'Downloading show JSON metadata', headers=self._HEADERS)['show']
|
|
|
|
show_id = str(show['id'])
|
|
|
|
episodes = self._download_json(
|
|
|
|
f'{self._API_BASE_URL}video/show/{show_id}', video_show_slug,
|
2024-08-15 21:50:08 +02:00
|
|
|
'Downloading episode list', headers=self._HEADERS, query={
|
2024-01-19 17:38:21 +01:00
|
|
|
'order': 'asc',
|
|
|
|
'limit': '-1',
|
|
|
|
})
|
|
|
|
|
|
|
|
def entries():
|
|
|
|
for episode_id in traverse_obj(episodes, ('videos', ..., 'id', {str_or_none})):
|
2024-07-14 17:58:05 +02:00
|
|
|
yield self.url_result(join_nonempty(
|
|
|
|
'https://animationdigitalnetwork.com', lang, 'video',
|
|
|
|
video_show_slug, episode_id, delim='/'), ADNIE, episode_id)
|
2024-01-19 17:38:21 +01:00
|
|
|
|
|
|
|
return self.playlist_result(entries(), show_id, show.get('title'))
|