Skip to content

How to get alt text of images in firehose? #285

Answered by MarshalX
git-scott asked this question in Questions
Discussion options

You must be logged in to vote

Hi, in data_filter.py line no 22 you can add this one:

if post_with_images:
    for image in record.embed.images:
        print('Alt:', image.alt)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by MarshalX
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #284 on February 18, 2024 17:00.