[patreon] update code to 3.8

This commit is contained in:
Mike Fährmann
2025-06-25 07:54:55 +02:00
parent bd410fab03
commit 41ae7695c4
2 changed files with 31 additions and 38 deletions

View File

@@ -119,7 +119,7 @@ __tests__ = (
"#url" : "https://www.patreon.com/posts/free-mari-8s-113049301",
"#comment" : "'This page has been removed' - postfile + attachments_media (#6241)",
"#class" : patreon.PatreonPostExtractor,
"#count" : 0,
"#exception": exception.NotFoundError,
},
{
@@ -138,7 +138,7 @@ __tests__ = (
"tags": ["AWMedia"],
"campaign": {
"avatar_photo_image_urls": dict,
"avatar_photo_url": "https://c10.patreonusercontent.com/4/patreon-media/p/campaign/350434/cadc16f03fa1460f9185505b0a858c1b/eyJ3IjoyMDB9/1.png?token-time=2145916800&token-hash=yBXVH1-UXYOUow9qRey-I6eJe8PcuRQDDKhw730g5jc%3D",
"avatar_photo_url": "https://c10.patreonusercontent.com/4/patreon-media/p/campaign/350434/cadc16f03fa1460f9185505b0a858c1b/eyJ3Ijo2MjB9/1.png?token-hash=tpUv_bM0-mEuUSizstb00UrVA-btPS5RyGSCWRx24oc%3D",
"creation_name": "creating Art Photography/Videography",
"currency": "USD",
"current_user_can_be_free_member": True,
@@ -164,7 +164,10 @@ __tests__ = (
"#class" : patreon.PatreonPostExtractor,
"#options" : {"format-images": "thumbnail"},
"#pattern" : r"https://c10.patreonusercontent.com/4/patreon-media/p/post/12497641/3d99f5f5b635428ca237fedf0f223f1a/eyJoIjozNjAsInciOjM2MH0%3D/1\.JPG\?.+",
"#sha1_content": "190e249295eeca1a8ffbcf1aece788b4f69bbb64",
"#sha1_content": (
"2967d7567d55debdfa59cfd27cd5edf89d9c3503",
"190e249295eeca1a8ffbcf1aece788b4f69bbb64",
)
},
{