8 months ago
source link: https://gist.github.com/khainguyen95/d1e852ef35ed8b978f0a56a3087a47d4
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

python-upload-wordpress-image-from-image-url · GitHub

Instantly share code, notes, and snippets.

Script auto download image from image url and upload to wordpress using python and wordpress api. To use this script please follow steps bellow:

  1. Create application user on wordpress admin
  2. Update new account information and url on this file.
  3. Enjoy!!

About Joyk

Aggregate valuable and interesting links.
Joyk means Joy of geeK