Transferring/Uploading Data from DB to WordPress

Since you are building the scraping functionality outside of WordPress, you will have to use a way that allows you to add contents to WordPress from the outside as well. I basically see three options: Update via the REST API – Using the REST API you can post updates to the WordPress contents. You can … Read more

Sending posts from Python to WordPress

Use the REST API at /wp-json, there are endpoints for retrieving posts that you can POST to. You will need a plugin installed to provide authentication, I recommend OAuth2. Then, you can use an OAuth2 and a REST API library in python. You do not need to use a WordPress specific library.

Site searches by Python for non-existent assets

What are the python searches? Are they like bad bots? Most probably just “bad bots” searching for potential vulnerabilities. How do I block or prevent them? Well, you are already serving a 404 by the sounds of it, so it’s really a non-issue. However, you can prevent the request from going through WordPress by blocking … Read more

tech