This python script is simple. When run in a directory, it will recursively search the directory and all subdirectories for files name "index.html" and strip the <article> elements, and their contents, into a file called "index.md".
The original "index.html" files will remain unmodified and intact.
-
Can I use this in my XYZ program,script,etc?
- Sure, all I asked is that you credit my original work, otherwise this is distributed under the MIT license.
-
Can I use this to steal copyrighted work and claim it as my own?
- No, don't be a douchebag, always credit the original author for their work.