The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"Web crawl - lightbox content / overlay"

mobmob Member Posts: 37 Contributor II
edited June 2019 in Help
I'm trying to crawl a website that shows some of its content in a lightbox (the content is shown overlaying the webpage I crawl instead of as a webpage). Is it possible for the web crawl extensions in rapidminer 5 to handle this?

If I use the crawl operator I can get the urls that trigger the overlays in a web browser session but saving the html source to a directory doesn't include the overlay and if you crawl the urls directly they only show the base webpage even though each url is different (no overlaid content shown if you visit the urls directly which seems like a bad user experience to me  )

If I use selenium running in firefox and Click and wait the overlay is displayed and the source code can be manually saved.

Is it possible to get rapidminer to handle this use case or is it due to some clever coding by the web designers a step too far for rapidminer?
If its not possible to use the native operators whats the best way to integrate selenium code into a rapidminer process to pass back the html code that includes the overlay?
Tagged:

Answers

  • mobmob Member Posts: 37 Contributor II
    In case its useful to others. I used python and the BeautifulSoup4 and selenium packages to extract the text and process the urls before saving them to text files.so they could be processed by Rapidminer 
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    That sounds cool.
    can you share the processes/scripts?

    ~Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • mobmob Member Posts: 37 Contributor II
    Possibly after I've submitted them for an assignment I'm doing
Sign In or Register to comment.