Regarding extracting data from screen scraper
Sir
I have created a script using screen scraper.I want the author name, Book title,details ,price from the website www.flipkart.com .
I have created a script using your script file given in tutorial 2(http://community.screen-scraper.com/Tutorial_2_Overview) which is used for scraping the data from ecommerce site.
I have created all the script but there is the problem in the details page scrap in which there is nothing in the last responce so that i can not make the extractor pattern for it.
I have downloaded all the screen scraper file provided in the ecommerce tutorial and in this file also i did not find the last responce so that i can not undersatand how you make the extratctor pattern for the details page script. Please check my script and make the modification as required.
I have upload my scraper file in the following server kindly download it and please provide me the right solution so that i will do my required task.
www.abebooks.in/myscript/myscript.zip
Have you created a proxy
Have you created a proxy session for the site you are trying to scrape. Then you can just use extractor patterns without any scripts for the natural progression of the website. Then if that is working you can create scripts and then you will know the problem is with the script.
Have you got the output from the scraping session when it runs?
Pankaj, The reason there is
Pankaj,
The reason there is no content under the Last Response tab is because that scrapeable file is never called. The reason it is never called is because the first Extractor Pattern in your "SearchResults" scrapeable file never matches. The reason your Extractor Pattern never matches is because the HTML you are using does not come from the Last Response of the page.
Here's what I would do...
Should look something like this:
Note: We are not extracting the book title right now because we can extract it on the details page.
Should look something like this:
Now, if you go through our tutorials again you should learn that you typically create your scrapeable files from transactions in your proxy session (rather than creating them manually). You should also learn the common way to reference your session variables is under the Parameters tab of your scrapeable file (rather than in the URL field).
I strongly recommend that you go through our tutorials a few more times. There are some basic concepts that you need to review a bit further. I think you may be experiencing the reason it is important to take the time to go through our tutorials step by step and not to rush through them.
In the end you will accomplish your goal much sooner if you'll just take the time to walk slowly through our tutorials.
-Scott