TriLinder@lemmy.ml to Privacy@lemmy.mlEnglish · edit-21 年前This post knows where you're viewing it from (Lemmy doesn't proxy external images) [ARCHIVED]message-squaremessage-square141fedilinkarrow-up1620arrow-down122file-text
arrow-up1598arrow-down1message-squareThis post knows where you're viewing it from (Lemmy doesn't proxy external images) [ARCHIVED]TriLinder@lemmy.ml to Privacy@lemmy.mlEnglish · edit-21 年前message-square141fedilinkfile-text
minus-squareTriLinder@lemmy.mlOPlinkfedilinkEnglisharrow-up2·1 年前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.
Share source code? I’m curious
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.