How to accept cookies using the "Get Data" function

fatman42

New Member
Joined
Nov 14, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

I'm in the process of building a PC and as some of you may know, there is a big shortage in computer components. This has caused prices to be sky high and finding a deal means trawling through websites for various parts.

As a result of this, I've decided to create an excel workbook that will record the current prices of various parts. I live in Ireland and there are no decent price comparison websites available here.

I'm trying to use the Get Data function on excel (receiving data from a web page) but I cannot understand how to get the request handler to accept cookies on websites before grabbing the data. Is there any way to do this?

Also if anyone knows any good links for information setting up this workbook of mine, please do share.

Kind regards,

Adam.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
I don't often use the "Get Data" function in Excel, instead opting to use VBA to code any webscraping solutions. This would be doable in VBA, but of course would require learning VBA.

I may be wrong on this, but I suspect that you may only need to accept cookies once (the first time) - so if you can accept cookies manually the first time, I wonder if you could automate the data extraction from then on? If this did work, it would need to be done through (I think) Internet Explorer (Trident engine?).

Failing that, you may want to look into Power Automate Desktop. It's software developed by Microsoft that made available to users for free as of several months/a year ago. This software allows users to automate various task, including webscraping. It doesn't require any coding, either.

Just a thought.
 
Upvote 0

Forum statistics

Threads
1,215,632
Messages
6,125,908
Members
449,273
Latest member
mrcsbenson

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