Errors scraping a web page and downloading files in the web service

  • Errors scraping a web page and downloading files in the web service

    Posted by DSC Communities on March 2, 2023 at 1:15 am

    Errors scraping a web page and downloading files in the web serviceFollow
    1. Errors scraping a web page and downloading files in the web service

    Bronze Contributor
    James Watts
    Posted Mar 02, 2023 06:44 AM
    This works in the desktop app, but not on the service:

    Web.BrowserContents call to https://www.data.boem.gov/Main/OGOR-A.aspx to scrape the web page
    extract the list of file names from the a table in the web page
    step through the list of file names, and retrieve each with Web.Contents, then process them
    This does not work when I publish to the web – the Web.Contents is dynamic, so does not refresh as a Dataset.

    Tried converting to a Dataflow, but all I get is cnxn errors, or at best if I wrap a Web.Page around the Web.BrowserContents, an empty page.

    Any suggestions on how to first scrape a page and then how to download files in a Dataflow ?
    (Or how to get it working in a Dataset ?)

     

    ——————————
    James Watts
    Business Intelligence Analyst
    ——————————

    replied 2 years, 3 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Errors scraping a web page and downloading files in the web service’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!