mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-14 23:32:33 +00:00
[dramafever:series] Fix extraction while authenticated
This commit is contained in:
parent
cbcd1a5474
commit
10464af5d1
1 changed files with 4 additions and 1 deletions
|
@ -185,8 +185,11 @@ class DramaFeverSeriesIE(DramaFeverBaseIE):
|
||||||
% (consumer_secret, series_id, self._PAGE_SIZE, page_num),
|
% (consumer_secret, series_id, self._PAGE_SIZE, page_num),
|
||||||
series_id, 'Downloading episodes JSON page #%d' % page_num)
|
series_id, 'Downloading episodes JSON page #%d' % page_num)
|
||||||
for episode in episodes.get('value', []):
|
for episode in episodes.get('value', []):
|
||||||
|
episode_url = episode.get('episode_url')
|
||||||
|
if not episode_url:
|
||||||
|
continue
|
||||||
entries.append(self.url_result(
|
entries.append(self.url_result(
|
||||||
compat_urlparse.urljoin(url, episode['episode_url']),
|
compat_urlparse.urljoin(url, episode_url),
|
||||||
'DramaFever', episode.get('guid')))
|
'DramaFever', episode.get('guid')))
|
||||||
if page_num == episodes['num_pages']:
|
if page_num == episodes['num_pages']:
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue