ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Wget - Download a Web Dashboard For Local Viewing?

    IT Discussion
    wget linux curl html5 smartsheet
    4
    8
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wrx7mW
      wrx7m
      last edited by

      I need to figure out a way to download a dashboard from smartsheet.com and have it available on my local network for viewing from a digital signage browser.

      I have been playing with wget to download the files from the link, but am not sure it is working the way I need it.

      I used this command to download it-

      wget --execute="robots = off" --mirror -p --convert-links https://app.smartsheet.com/b/publish?EQBCT=9772cc64df854381b702905a1ff574fc
      

      It downloads the directories and I end up with one html file, called blank.html. You guessed it, this file is a blank white page.

      Here is a tree of the files/directories that are created when it is run-
      48b5ac4a-350f-4f9a-be3c-bc728e077c0e-image.png

      If this isn't the best way to accomplish the goal, what would you do?

      1 Reply Last reply Reply Quote 0
      • black3dynamiteB
        black3dynamite
        last edited by

        Downloading full Website offline
        https://www.mangolassi.it/topic/18801/downloading-full-website-offline

        wrx7mW 1 Reply Last reply Reply Quote 1
        • wrx7mW
          wrx7m @black3dynamite
          last edited by

          @black3dynamite said in Wget - Download a Web Dashboard For Local Viewing?:

          Downloading full Website offline
          https://www.mangolassi.it/topic/18801/downloading-full-website-offline

          Thanks. I tried the command -

          wget -mkEpnp https://app.smartsheet.com/b/publish?EQBCT=9772cc64df854381b702905a1ff574fc
          

          I got another html file and it loads a smartsheet screen and says it is trying to connect to smartsheet and has an animated progress bar. Then this pops up. I guess this won't work.

          b8c70a86-0ec7-4839-a41c-1cb9ebab6a80-image.png

          1 Reply Last reply Reply Quote 0
          • M
            manxam
            last edited by

            If the site relies on dynamic data then scraping it likely won't help.
            Does the page you need to download have to update or just display static information?

            Something like PhantomJS may help as it can extract the DOM or create a screenshot of exactly what is displayed on a site rather than relying on data from websockets etc.

            wrx7mW M 2 Replies Last reply Reply Quote 2
            • wrx7mW
              wrx7m @manxam
              last edited by wrx7m

              @manxam said in Wget - Download a Web Dashboard For Local Viewing?:

              If the site relies on dynamic data then scraping it likely won't help.
              Does the page you need to download have to update or just display static information?

              Something like PhantomJS may help as it can extract the DOM or create a screenshot of exactly what is displayed on a site rather than relying on data from websockets etc.

              Yeah. Seems to be the case. I just talked with the department manager that needs the dashboard. She said that nothing on it is confidential, so we can publish to public, which won't require a login.

              There are some custom dashboards we have being developed (going to be ready soon) to display amazon seller central data and this may come up again for that, as they want to be able to have them on displays.

              1 Reply Last reply Reply Quote 0
              • M
                manxam @manxam
                last edited by

                I didn't realize that PhantomJS is a "dead project" as of 2018 (though still works). It appears that it -- and the Gecko version SlimmerJS -- both became deprecated when Firefox and Chrome started shipping their "headless browsers" which accomplish the same tasks..

                While I know you won't be using it for your current project, it may come in handy for yourself or others in the future.

                1 Reply Last reply Reply Quote 1
                • 1
                  1337
                  last edited by 1337

                  Here is Firefox headless mode:
                  Firefox uses the same browser, just run with the headless switch. Works from version 57 and newer.
                  https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Headless_mode

                  wrx7mW 1 Reply Last reply Reply Quote 3
                  • wrx7mW
                    wrx7m @1337
                    last edited by

                    @Pete-S said in Wget - Download a Web Dashboard For Local Viewing?:

                    Here is Firefox headless mode:
                    Firefox uses the same browser, just run with the headless switch. Works from version 57 and newer.
                    https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Headless_mode

                    Thanks. I won't be able to use this with brightsign, but it might work if I have to run windows for a site that I can't view a public dashboard.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post