I changed my vps server recently, and I had to migrating my wordpress blog too. I found there are several trouble when I completed migrating, and the most serious trouble is some image in some posts was broken. so here come.
In this phase, will auto find break image by python and print all image url in posts. Just like:
In 3 phase, you need provide right image file name when find break image, such as:
Press enter, and python will autocompleted image right url, and output:
And after the completion of the full content of the post scan output:
As end will output: