Downloading multiple pdf with differing url's

How do I download the multiple Pdf’s from a website?

1 Like

Hi @osho_vadgaonkar

  1. Use Data Scraping for “Download Report” column and mark additional “Extract Url”
  2. Then use for each row in ExtractedDataTable
    2.1) Inside for each row use assign activity “Url = row(1).ToString”
    2.2) Use ‘Navigate To’ with parameter "Url.ToString

@sjankus Thanks for the respond , I tried above solution but this worked only for one company. But i want to do Dynamic Data scrapping because there are multiple company list inside excel is it possible to do dynamic scrapping?

can you please post the screen shot of the selector of the PDF download link

Hi @osho_vadgaonkar
Yes you can do dynamic scraping just need one more for each loop. Example:

  1. Use Excel Read Range for company list extract as CompanyNameDataTable
  2. For each row in CompanyNameDataTable
    2.1 Use assign CompanyName = row(“ColumnName”).ToString
    2.2 Use Type Into CompanyName.ToString in browser ‘Select Company Name’ field
    2.3 Click ‘Get Data’
    2.4 Use Data Scraping for “Download Report” column and mark additional “Extract Url”
    2.5. Then use for each row in ExtractedDataTable
    2.6 Inside for each row use assign activity “Url = row(1).ToString”
    2.7 Use ‘Navigate To’ with parameter "Url.ToString
    2.8 Save your file

You can use “http request” activity for such scenario. first check if you have “UIPath.WebAPI.Activities” installed on your system. if not, download it from “Package Manager”. In “http request” activity, provide url address from which you want to download the file along with location path where you want to save it. You can use string variables to change your download link, received them from data scrapping from earlier stage. (I assume you have it based on your Question and replies). please refer below link for more information. still if you have any doubt, please let me know.

https://www.uipath.com/kb-articles/how-to-download-a-file-from-a-server

Thank @ganeshsoley.

Thanks @sjankus


how to download the this type PDF download and extract data from this website to excel