WinInet / WinHTTP cookies sharing with Edge Browser

560 views Asked by At

So I have a crawler using WinInet (but could be WinHTTP)

If I have to crawl a website that requires user login, I could in past tell people to login in using their IE browser and it would usually work.

That was because cookies were shared across WinInet / Internet Options / IE.

However, trying the same with the new Edge browser does not appear to work.

Searching Google brings up some information about Edge to IE, but not any mentions of WinInet. Maybe I am just looking the wrong place, but has anyone worked around this issue before?

1

There are 1 answers

4
Yu Zhou On

IE is WinInet-based application, but Edge is not. Edge doesn't use WinInet so I think that's why it doesn't work in Edge. You can also refer to this thread for more information.

If you still want to use WinInet cookies sharing, you can open and login the website in Edge IE mode. Edge IE mode using IE engine, so I think the method working in IE will also working in Edge IE mode.

If you want to open the website in Edge without IE mode, maybe you need to change your way to crawl the website. I suggest that you can try to use some web crawling tools such as Scrapy, Beautiful Soup and so on.