[patreon] fix campaign_id extraction from Next.js 13 creator pages (#7773)

This commit is contained in:
Mike Fährmann
2025-07-04 21:41:08 +02:00
parent 22ec687d54
commit 1f1a3edd3e
2 changed files with 17 additions and 2 deletions

View File

@@ -44,6 +44,12 @@ __tests__ = (
"#exception": exception.NotFoundError,
},
{
"#url" : "https://www.patreon.com/cw/anythingelse",
"#comment" : "Next.js 13 - /cw/ URL",
"#class" : patreon.PatreonCreatorExtractor,
},
{
"#url" : "https://www.patreon.com/c/koveliana",
"#class" : patreon.PatreonCreatorExtractor,
@@ -149,7 +155,7 @@ __tests__ = (
"offers_free_membership": True,
"offers_paid_membership": True,
"pay_per_name": "month",
"pledge_url": "/checkout/Reedandweep",
"pledge_url": "https://www.patreon.com/checkout/Reedandweep",
"primary_theme_color": None,
"show_audio_post_download_links": True,
"show_free_membership_cta": False,