Easy Get ASIN with My Amazon Asin Grabber Class

It’s been a long time not make an article about amazon affiliate site, I will share a script, how to grab ASIN code on amazon sites easily. With my script, you can easily get thousands of ASIN in minutes.

Easy Get ASIN with My Amazon Asin Grabber Class

Preparation
1. Download simple_html_dom class here as tool.
2. Copy asingrabber class below and save it as asingrabberclass.php

3. Create a php file to experiment using asingrabberclass to grab thousands of ASIN on the amazon site. Copy this script below

It’s very easy to use. The example above is basic using asingrabberclass.php script. I will show a more complex example how to grab thousands ASIN use asingrabberclass.php. Copy the script below

Watch the following video snippets how to grab asin with asingrabberclass.php.

Next time i will share my amazon class script to get amazon product detail with API. 🙂

The following two tabs change content below.
This site is a personal Blog of Sigit Prasetya Nugroho, a Desktop developer and freelance web developer working in PHP, MySQL, WordPress.

6 Comments

 Add your comment
  1. Thank you so much for your helpful site. I tried your Amazon Asin Grabber, but unfortunately the tool does not seem to work properly. I tried to grab asins from amazon.com but somehow no data is being pulled in.

  2. Thanks for fixing your grabber tool! What was the problem? Did amazon change the website structure?

  3. Terima kasih script grabbernya, tapi saya mau tanya mas.
    kenapa waktu saya jalankan diserver (pake share hosting) sering error “operation timed out” , kalau ga salah share hosting kan memberikan limit buat menjalankan script 30 detik kan.
    bagaimana cara mengatasinya mas?
    satu lagi pertanyaannya mas, bagaimana caranya kalau script ini digabung dengan Ajax seperti tools mas yang Amazon product scraper yang ini http://seegatesite.com/tools/amazon_scraper.php

    Terima kasih sebelumnya mas

    • 1.mengatasi timeout tambahkan kode berikut di header anda
      [php]
      ini_set(‘max_execution_time’, 7000);// silahkan sesuaikan dengan waktu yang diinginkan
      [/php]
      2. Silahkan kirim parameter yang dibutuhkan melalui ajax..dan tampilkan result valuenya..

      [php]
      var value = {
      param1: var_param1,
      param2: var_param2,
      …..
      };
      $.ajax(
      {
      url : "xxxxxx.php", // url server amazon script anda
      type: "POST",
      data : value,
      success: function(data, textStatus, jqXHR)
      {
      var data = jQuery.parseJSON(data);
      //tampilkan hasilnya
      },
      error: function(jqXHR, textStatus, errorThrown)
      {

      }
      });
      [/php]

      semoga membantu

Leave a Comment

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.