it me (^ω^)
made using https://picrew.me/image_maker/94097
programming ramble, mention sextoy blog/shop
Like most programmers, I hate recurring tasks that can be automated :)
The other day I updated Onahole.eu's product price scraping script, introducing in it a "new product discovery" logic.
Context: adult toy shop OtonaJP recently opened a new shop in Europe, which sells some (but not all) products sold in the Japanese shop. And they regularly add more.
But I don't want to manually monitor their arrivals page to add links to what's new.
So, the discovery logic goes like this:
→ if a product is sold in the Japanese shop and has been linked to on a blog review, make a GET request to the EU shop.
→ if the GET requests return code 200 ("exists"), check if said product address has already been added on the blog (check if a price has already been fetched before from the EU shop).
→ if it is not the case, email alert me that a product has been added to the shop so I can control and insert it into the proper review on the blog
I mean, I can't show the whole PHP code but there's really a kind of poetry behind it. It's neat and works like a charm, and so damn useful ^o^
Heya moi c'est Elena(ou Gally je suis pas décidée)
Je suis une meuf trans autiste qui bricole et étudie des trucs en électronique.
Je joue à pas mal de jeux mais en ce moment c'est surtout Fortnite avec @meaw.
Je suis sur le fédi deux ans environ je viens de migrer. Du coup comme la fonction de migration est douteuse, j'ai perdu des follows et des followers, alors hésitez pas à check si on se suit toujours si on se connaît. 💜
Dear instance admins, especially on Pleroma: pretty please, publish rules, guidelines and terms of service for your community. Even a GDPR compliance declaration if you wanna go the extra kilometre.
And make sure an external third-party (random pick: law enforcement agent or cybersecurity auditor) has a means to get in touch with you to report criminal abuse with your instance. Don't leave it the default placeholder page.
Testing cross-instance headpats:
Wa wa wah hey fellow Niusers, calm down. There's plenty of time before the shutdown.
At least wait out the Christmas / New Year period when instance admins and mods are more likely to be busy elsewhere so you can judge if the instance communities you're looking into can remain comfy without constant supervision.
Don't wreck your Niu accounts just yet.
But, still do your recommended weekly backup archive
Blogger at Onahole.eu, shy introvert AFK, pan-oriented, IT, train & space nerd, loves cuddles and thigh highs, crossdresses for fun, flirting ✅❤️️ headpats ✅💕
Welcome to your niu world ! We are a cute and loving international community Ｏ(≧▽≦)Ｏ !