Automating Amazon Free App of the Day

I wrote a script to automate the purchase of the free app Amazon put on daily. I've had it running for close to 2 years now and got quite a good collection going.

If you're interested in doing the same, I've cleaned up my code and put it here. Just pip install RoboBrowser, fill in your Amazon credentials, add it to a cron and you're all set.

Related Stores

Amazon US
Amazon US

Comments

  • Nice work and thanks for sharing :) I guess it would also be trivial to modify it to automatically "buy" all the free Amazon Kindle eBooks as well?

    • Thanks scotty.

      Yeah I was thinking the same, or maybe something along the lines of a Grease/Tamper Monkey script which will verify the price, select your device, purchase and close the window. I'll have a play with it once I have some free time and will report back.

    • +1

      Quickly put something together, how's this scotty?

      • Cool. Thanks :)

  • +1

    For the uninitiated, does this run in Windows? Any chance of a step by step guide or link to forum post of the same? Thanks!

    • +2
      1. Download Python — get the 2.7.x one.
      2. Make sure you have pip installed. Here is a guide and easiest way on Windows is probably using get-pip.py
      3. Install RoboBrowser as instructed. pip install RoboBrowser
      4. Download shaunpud's Python script on github, and run it (with Python) once a day with a scheduler.

      Probably easier doing it on cygwin.

      • Thanks Scotty.

        I'm already out of my depth, where should Robobrowser folder be when you invoke the pip command?

        • If you have successfully run pip install it will be installed in the global site packages so the import from my code will make use of it. Try executing the code and see what happens, make sure you add your Amazon credentials to the code first.

        • So pip is installed, but Robobrowser is not. The process for installing Robobrowser is where I am stuck; I have the robobrowser-0.3.2.tar in my downloads folder, but not sure how to point the "pip install" command to the file location, or whether I need to unzip the file first or what? Thanks for your help!

        • Just type pip install robobrowser, you don't need the tar.

  • First script is .py for apps and the second script is .js for kindle free books. The .js is incomplete. Will you be able to help to have a complete .py script for kindle free books? Thanks. Sorry to be a pain.

  • Just another note to clarify. I understand the second .js script is not for python. Need a .py script like collecting free apps for collecting free kindle books using python. Thanks.

Login or Join to leave a comment