๐ŸŽ‰ ๐ŸŽ‰. RAPIDMINER 9.8 IS OUT!!! ๐ŸŽ‰ ๐ŸŽ‰

RapidMiner 9.8 continues to innovate in data science collaboration, connectivity and governance

CLICK HERE TO DOWNLOAD

How can i loop the Get Page Operator?

RaffiHRaffiH Member Posts: 9 Learner I
edited March 28 in Help
For my bachelor thesis I need to get the text of many websites. I know how I get the text of just one page of the website but I need it for every page of the website. How can I achieve that?

Thank you very much in advance and stay healthy!

Answers

  • sgenzersgenzer 12Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,957  Community Manager
    hi @RaffiH this is classic webscraping. So the first question I always have to ask is: what is the legality of scraping these pages? Are they under the public domain, or are they proprietary? If it is the latter, you will most likely be violating their Terms of Service.

    Scott

  • RaffiHRaffiH Member Posts: 9 Learner I
    @sgenzer Thank you very much for your answer!ย 

    I want to analyze the sentiment of different company websites. Also the words they use the most.ย 
    This would be a company website I would like to analyze:ย https://www.breeze-technologies.de/.

  • sgenzersgenzer 12Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,957  Community Manager
    hi @RaffiH oh in that case why don't you just contact the company on their website and ask their permission? That way you can be sure.

    Scott
  • RaffiHRaffiH Member Posts: 9 Learner I
    Hi @sgenzer okay and after I've done that? What do I have to do next?

    Rafael
  • sgenzersgenzer 12Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,957  Community Manager
    just use Get Page on the URLs
  • RaffiHRaffiH Member Posts: 9 Learner I
    But if I not want just the first page? How can I get every Page from an URLs

    Thank you very much for your help!
  • sgenzersgenzer 12Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,957  Community Manager
    @RaffiH then you're in a web crawling scenario - something that we generally do not condone. If you are 100% sure that you have the legal and ethical go-ahead to crawl the site, I'd use a python library like scrapyย https://scrapy.org
  • RaffiHRaffiH Member Posts: 9 Learner I
    Thank you very much @sgenzer but why is it not possible to loop Get Page? I just need the text on the website.
  • sgenzersgenzer 12Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,957  Community Manager
    oh sure you can use Get Page inside a Loop operator, but you'll need to loop over values in an ExampleSet with the URLs in it. If you have a nice list of all the URLs of the site, that will work fine.
Sign In or Register to comment.