Skip to content

Commit

Permalink
Merge pull request sethblack#76 from SamPetherbridge/patch-1
Browse files Browse the repository at this point in the history
Add WebP & AVIF to recognised image extensions
  • Loading branch information
sethblack authored Jul 22, 2021
2 parents 778bbf2 + 8483486 commit 1d5361a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seoanalyzer/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

TOKEN_REGEX = re.compile(r'(?u)\b\w\w+\b')

IMAGE_EXTENSIONS = set(['.img', '.png', '.jpg', '.jpeg', '.gif', '.bmp', '.svg',])
IMAGE_EXTENSIONS = set(['.img', '.png', '.jpg', '.jpeg', '.gif', '.bmp', '.svg', '.webp', '.avif',])


class Page():
Expand Down

0 comments on commit 1d5361a

Please sign in to comment.