Scrape non sequential pages in a pdf

pdf
activities

#1

Hello,

I am looking to get data from multiple pages in a PDF. However the problem is the pages are not in a sequence. So I am not able to use something like 1-3. How do I do it if I want to get data from pages 1,3,5 and 6.

When I try “1,3, 5-6” it throws an error. Even “1,3” is throwing an error.

Thanks,
Aashish


#2

Hi Aashish,

As specified in the Activities guide: https://activities.uipath.com/docs/pdf-read-pdf-text, multiple pages can only be selected by specifying a range (e.g. “3-5”).

There is an example in this post, see if it suits your needs: