Showing posts with label Ajax. Show all posts
Showing posts with label Ajax. Show all posts

Thursday, November 3, 2016

iMacro and Amazon with Pagination

iMacro in it’s simplified mode offer a wonderful functionality when it comes to single page extraction from more likely static pages however that is not the all time case, the simplified instructions may be limited but when it is combined with Java Scripting, it’s power is squared and with additional logical power, even difficult to extract Ajax pages become easier and much faster.


Output generated by the Script:


This is a by far the easiest method for fetching any kind of information from any public or private page.

Amazon is a wonderful as well one of the biggest eCommerce platforms, thousands of buyers visit and purchase products daily and hundreds of sellers do research in order to find out how and when their ads/products are top listed, what factors help them in boosting their sales and to analysis impact of certain strategies that they perform to lift their ranking. Unfortunately, there are only few tools available that would allow such customized analysis feature to the sellers and buyers of Amazon. Precise Data / Information is the core element before making any kind of strategies and iMacro offers a free/cheaper solution to the sellers and buyers, now everyone can make their own scripts and start extracting most updated information and boost their sales.

The above code loads Amazon URLS from a CSV file, load individual page and check whether or not it has loaded properly, upon receiving an intimation, data extraction is done and at every page’s end, script will check whether there is a link to next page / pagination available and click it if it’s found – there is no need to set ‘Play (Loop)’, everything is self operated and within couple of minutes, data from dozens of pages is stored in a CSV file accurately.

Thursday, May 16, 2013

Extending scripts functionality to Ajax

These days, I get to see a lot of websites reshaping – transforming from simple HTML to Web 2.0/3.0, utilizing advanced technologies majorly including Ajax and jQuery. This decreases bounce rate by increasing use visiting time as websites are becoming more user friendly and attractive.

Enhancing GUI produces favorable results for website owners, however at the same time; they make it difficult for people like me who are trying to make their work easy using different software, plug-ins or tricky approaches. This article is about how to fool websites and automate most of the tasks that otherwise acquire huge efforts – for now, let’s target one the biggest B2B websites of all ‘Alibaba.com’. I have been utilizing this portal from a very long time and undoubtedly they are the pioneers and result generating platform – none other comes even closer to them.

Anyhow, while working at a website I had to acquire products category list along with sub-categories so I rushed to Alibaba without wasting any time; they offer enhanced category selection option while you post products and it’s complete ajax-ed things. Firstly, I found it bit difficult in acquiring lists as it’s little tricky – you have to click individual categories to drill-down deeper and they are four leaf-level categories present. View the image below, see what I meant:

iMacro scripts

iMacro scripts

At the end, I was able to acquire complete list using java-script based iMacro bots. These bots come handy in conditions like this, as the list contained around 4.8k categories in total and it could have taken around 2 to 3 days for a human being to copy-paste all of them manually – saved me a lot of time and effort, script itself took around half an hour and scrapping took only 25 minutes. Impressive, isn’t it. Here is how the final sheet looks like:

iMacro script results

This is just an example of where you can actually deploy iMacro scripts, there could be thousands of places where you could save days efforts and increase your staff’s performance and time. If you are having trouble performing manual tasks, I am the here for you – share me your problems, suggest me tricky websites and solution and if I like your suggestions, I will share these iMacro scripts for free to you.