Skip to content

Commit

Permalink
Capture the bot image
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Sep 2, 2024
1 parent 9934f64 commit 58cf5ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bbcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ def clean_unit3d_description(self, desc, site):
# Filter out bot images from imagelist
bot_image_urls = [
"https://blutopia.xyz/favicon.ico", # Example bot image URL
"https://i.ibb.co/2NVWb0c/uploadrr.webp",
# Add any other known bot image URLs here
]
imagelist = [img for img in imagelist if img['img_url'] not in bot_image_urls]
Expand Down

0 comments on commit 58cf5ef

Please sign in to comment.