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-square143fedilinkarrow-up1620arrow-down122file-text
arrow-up1598arrow-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-square143fedilinkfile-text
minus-squareTriLinder@lemmy.mlOPlinkfedilinkEnglisharrow-up2·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.