I am practising web sraping on multiple pages of a few websites. However, scraping works for only one page and for other pages it just runs into a loop but nothing happens and the data does not get scraped. Request you to check and assist if i am missing something. Attached is the Xaml file for reference. Multiple pages scrape- Testing.xaml (9.3 KB)
I have made a sample named DScraping. I followed the normal Data scraping steps and it worked fine.
Scraping.zip (11.4 KB)
Tow things to be done.
- Maximum number of results > 0 (100 will be better to go to multiple pages)
- At the end of data scrape configuration in wizard, you will be asked if data spans to multiple pages - You need to choose yes and identify the next page arrow uielement.
Hope this helps.
Thank you for your email, however if u look at the excel data extracted, its only 10 records where it has multiple records if u check on other pages. Hence, multiple pages is not functioning properly.
The second sequence file doesnt write the output to excel.
Please go through the
DScrape.xaml logic which has only data scraping activity logic.
Kindly add excel logic or message box to check the output.
It should work fine.
yup… this is working… but i still didnt how it worked as i was doing the same process. what i was missing…
Two possibilities, as i observed.
- You have kept maximum number of items to 0.
- You may have made a minor error which selecting the next page option.
But anyway, now enjoy with the solution.
Let it be.
thank u so much buddy… i though “0” is for all records…
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.