mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-13 02:41:29 +01:00
Compare commits
2 Commits
db672ab51e
...
659bd5f867
Author | SHA1 | Date | |
---|---|---|---|
|
659bd5f867 | ||
|
53215f472d |
|
@ -334,7 +334,7 @@ class LBRYChannelIE(LBRYBaseIE):
|
|||
}
|
||||
page_params.update(params)
|
||||
result = self._call_api_proxy(
|
||||
'claim_search', claim_ids, page_params, 'page %d' % page)
|
||||
'claim_search', claim_ids, page_params, f'page {page}')
|
||||
for item in (result.get('items') or []):
|
||||
stream_claim_name = item.get('name')
|
||||
stream_claim_id = item.get('claim_id')
|
||||
|
@ -358,7 +358,8 @@ class LBRYChannelIE(LBRYBaseIE):
|
|||
return self._call_api_proxy('claim_search', claim_id, page_params, 'playlist')
|
||||
|
||||
def _real_extract(self, url):
|
||||
if playlist_id := self._match_valid_url(url).group('id2'):
|
||||
playlist_id = self._match_valid_url(url).group('id2')
|
||||
if playlist_id:
|
||||
is_playlist = True
|
||||
r = self._fetch_playlist_items(playlist_id)
|
||||
result = r.get('items', [])[0]
|
||||
|
|
Loading…
Reference in New Issue
Block a user