I am using the data scraping activity. I am scraping the data from a website in a table with multiple columns. However, for some columns as there is no value the next columns value comes in place. How can I leave the cell blank in the data table. For example:
website shows:
123 abc boo89
456 hoo78
datatable using the data scraping activity stores it as:
C1 c2 c3
123 abc boo89
456 hoo78
can you please add screenshots (excel) of the sample output that you are getting through the data scrapping and the correct output that you want
I am not able to understand from the above text , it has got mixed up(formatting errors)
Just for info the following sample code :
< table>
< tr>
< td>aa< /td>
< td>ab< /td>
< td>ac< /td>
< /tr>
< tr>
< td>asa< /td>
< td>asa< /td>
< td>aa< /td>
< /tr>
< /table>
Thank you, but I have around 6 columns and it varies sometimes it is column 3, 4 etc this will occur, is there some setting to store values as an empty string and fill in the datatable while extracting the data itself?
Hi @supermanPunch I am doing this. However, when there is no value UI Path data table does not store empty values, instead it puts the next columns data in that part. This is what I am having trouble with. For example, the UI Path data scraping activity is supposed to extract 5 data points (let’s say Name, Price, ID, XID, YPrice). We are doing this for around 600 products. However for a few products the XID is not mentioned on the website and the scraper gets a null value or what I am guessing is happening that instead of the XID the YPrice is mentioned and in the XID column it stores the YPrice value. How should I solve this?
In reality I am trying to extract ALL the question and answers for a product on Amazon and am facing this issue as some of the answers have a username and some don’t. Thank you
@supermanPunch Overall, what I want is question, question date, question votes, all answers to question, answer hellpfullness votes, answer date, answer username. Here is my code:
the issues are:
when a question has no answers the automation just freezes.
it does not extract the user name properly and there is a column and row mismatch
I have attached my code below. The excel file that I use as input has the product ASIN(product code) and a Link column which has the link to the main product page(not question answer.) Ques Ans With Votes Final 24.xlsx (8.5 KB)