Skip to main content
Navigator | Tier 3
February 6, 2024
Question

How to get the HTML code from an HTML file.

  • February 6, 2024
  • 12 replies
  • 3020 views

Hi all,

I want to get the HTML code from an HTML file and then use this code in the email body. I have used the capture activity but this approach does not work. The attached HTML files are for reference.

12 replies

Navigator | Tier 3
February 7, 2024

But I am getting some extra data like serial number and NAN in empty cells. Below is the HTML CODE, no need of <th>0</th> and NAN. how i can remove or handle them

 

<table border="1" class="dataframe">
  <thead>
    <tr style="text-align: right;">
      <th></th>
      <th>UBBE Number</th>
      <th>Pickup Number</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th>0</th>
      <td>ub8698258298</td>
      <td>NaN</td>
    </tr>
  </tbody>
</table>

Zaid Chougle
Navigator | Tier 3
Navigator | Tier 3
February 7, 2024

As the HTML files that you shared contains : UBBE Number and Pickup Number, So is the Pickup Number same as Tracking Number?

Lets Automate !