TriLinder@lemmy.ml to Privacy@lemmy.mlEnglish · 1 year agoThis post knows where you're viewing it from (Lemmy doesn't proxy external images)message-squaremessage-square122fedilinkarrow-up1617arrow-down122file-text
arrow-up1595arrow-down1message-squareThis post knows where you're viewing it from (Lemmy doesn't proxy external images)TriLinder@lemmy.ml to Privacy@lemmy.mlEnglish · 1 year agomessage-square122fedilinkfile-text
minus-squareTriLinder@lemmy.mlOPlinkfedilinkEnglisharrow-up1·1 year agoIt’s just a simple Flask server. I parse the user-agent using the user_agents Python library, apply some conditionals upon the result, render the image using Pillow and send it to the user.
It’s just a simple Flask server. I parse the user-agent using the
user_agents
Python library, apply some conditionals upon the result, render the image using Pillow and send it to the user.