Hands down, the most repulsive Python code I’ve written in at least a quarter
Hands down, the most repulsive Python code I’ve written in at least a quarter Read More »
This has bitten me more than once. When using the requests Python package to make REST API calls to a WordPress site hosted on WP Engine, their security dingus will throw a 403 for no apparent reason. If this happens to you, change the User-Agent string in the request header before sending. It can honestly
WP Engine Returns 403 Forbidden with Python + Requests Read More »
A client asked me to do a bit of data collection and collation from a few sites he visits. Specifically, he was looking for a list of articles and their authors from popular sites in the circles wherein he operates. So, as I often do, I reached for my beloved Python. Ahem. The goal was
Fun with Python Dataclasses, Inheritance, and CSVs Read More »