DRM refers to the fact that you can't view Amazon Kindle books on other devices (including your computer), or on other Kindles - i.e. no sharing, the purpose of DRM.
As glued to the net as we all are, there's vast quantities of content that is not available online.
The Kindle supports Mobipocket files directly. You don't need to write a script to do that.
Use Mobipocket software to convert PDFs to that format so you can read them on Kindle.
A revolutionary portable reader that wirelessly downloads books, newspapers, magazines and blogs to a crisp, high-resolution electronic paper display that looks and reads like real paper, even in bright sunlight.