threads: fixed captions

This commit is contained in:
stefanodvx 2025-04-24 12:29:42 +02:00
parent effd834a47
commit 1b7ed51060

View file

@ -42,7 +42,7 @@ func ParseEmbedMedia(
contentURL := ctx.MatchedContentURL contentURL := ctx.MatchedContentURL
var caption string var caption string
doc.Find(".BodyContainerNoThreadLine .BodyTextContainer span").Each(func(i int, c *goquery.Selection) { doc.Find(".BodyTextContainer").Each(func(i int, c *goquery.Selection) {
caption = c.Text() caption = c.Text()
}) })