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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

labl

New Member
Joined
Feb 12, 2022
Messages
6
Office Version
  1. 365
  2. 2021
Platform
  1. MacOS
  2. Web
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?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,514
Messages
5,854,172
Members
431,623
Latest member
ncorkren

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
Top