Returning partial information - macOS run web query

labl

New Member
Joined
Feb 12, 2022
Messages
6
Office Version
  1. 365
  2. 2021
Platform
  1. MacOS
  2. Web
I'm trying to retrieve some information from the ESPN fantasy website:

Screen Shot 2022-04-03 at 18.01.19.png


The goal is to push the roster tables to excel.
I successfully manage to set the web query to the page where I want to push the data but the query retrieves all the data but the one I am looking for:



Screen Shot 2022-04-03 at 18.01.45.png


The ESPN link is public, everyone is able to access it - so there is no need for a login.
This process also works in other pages from ESPN.


Any workaround to make this work? Any parameters that I should be adding to the .iqy file?
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
I've also found www.listly.io - and it downloads the data to their website and I can download it as a new file - but that is not ideal.

They also tell which div from the HTML they are using to retrieve the data:
CSS Selector- [class="layout__column layout__column--1"]
JS - document.querySelector('[class="layout__column layout__column--1"]');

Screen Shot 2022-04-04 at 14.53.43.png


It seems the tool does something very similar of what I am looking to create.
Obviously having to download a new file everytime would be really painfull and won't be a vailable solution.


Any suggestions?
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top