[cohost] add 'avatar' and 'background' options (#6656)

This commit is contained in:
Mike Fährmann
2024-12-14 20:16:28 +01:00
parent 94d7df186f
commit 7f6a53c347
4 changed files with 63 additions and 1 deletions

View File

@@ -16,6 +16,18 @@ __tests__ = (
"#count" : 20,
},
{
"#url" : "https://cohost.org/infinitebrians",
"#category": ("", "cohost", "user"),
"#class" : cohost.CohostUserExtractor,
"#options" : {"avatar": True, "background": True},
"#range" : "1-2",
"#urls" : (
"https://staging.cohostcdn.org/avatar/3281-abb43502-4c48-407d-9778-2bed7722d3d7-profile.gif",
"https://staging.cohostcdn.org/header/3281-b29dbf4d-45b2-417b-b03b-0f7f07595e66-profile.png",
),
},
{
"#url" : "https://cohost.org/infinitebrians/post/4957017-thank-you-akira-tori",
"#category": ("", "cohost", "post"),