How can i loop the Get Page Operator?

RaffiH
New Altair Community Member
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!
Thank you very much in advance and stay healthy!
Tagged:
0
Answers
-
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.Scott0
-
@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/.
0 -
just use Get Page on the URLs0
-
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!0 -
@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.org0
-
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.0