"Scrape a website and download hyperlinked pdf files"

gary_molloygary_molloy Member Posts: 4 Contributor I
edited June 2019 in Help

I can scrape in python, but how do download and store hyperlinked pdf or other files in their native format using RapidMiner?



  • Options
    Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn

    Is the "Open File" operator not doing what you want?  It allows you to get files from any URL or file path and have them as a file object, which can then be stored.  If you have multiple files then you can use macros and put this in a loop.

    If you want to scrape actual web pages, then use "Get Page" or "Get Pages" instead.


    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
  • Options
    sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager

    hello @gary_molloy - if you use the "Crawl Web" operator (Web Mining extension), there is an option to "write pages to disk".  This will save the PDFs like normal.  I have done this many times.


Sign In or Register to comment.