mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-06 06:45:00 +01:00
[ie/patreon:campaign] Fix extractor (#15108)
Closes #15094 Authored by: thomasmllt
This commit is contained in:
parent
4433b3a217
commit
023e4db9af
1 changed files with 2 additions and 1 deletions
|
|
@ -598,7 +598,8 @@ class PatreonCampaignIE(PatreonBaseIE):
|
|||
'props', 'pageProps', 'bootstrapEnvelope', 'pageBootstrap', 'campaign', 'data', 'id', {str}))
|
||||
if not campaign_id:
|
||||
campaign_id = traverse_obj(self._search_nextjs_v13_data(webpage, vanity), (
|
||||
lambda _, v: v['type'] == 'campaign', 'id', {str}, any, {require('campaign ID')}))
|
||||
((..., 'value', 'campaign', 'data'), lambda _, v: v['type'] == 'campaign'),
|
||||
'id', {str}, any, {require('campaign ID')}))
|
||||
|
||||
params = {
|
||||
'json-api-use-default-includes': 'false',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue