Zrok_interstitial Header not working with requests library PYTHON

Hey, I try to get content from my zrok share (created locally on my PC, Windows 10) using a second machine (kaggle, linux) via public link for this share.

My requests code is:

import requests
html = requests.get(local_files_host, cookies={'zrok_interstitial': '1'})
html = html.content
html

I tried also:

requests.get(local_files_host, headers={'zrok_interstitial': '1'})

Unfortunatelly I don't get past zrok interstitial page.

Could you help me?

Hi @Gatszow - Welcome to the community. You can try setting the header to skip_zrok_interstitial instead of zrok_interstitial

Hey, thanks for your response. I tried setting the header to skip_zrok_interstitial instead of zrok_interstitial It didn't work.

The output of following code is True:

import requests

html1 = requests.get(local_files_host, headers={'zrok_interstitial': '1'})
html1 = html1.content

html2 = requests.get(local_files_host, headers={'skip_zrok_interstitial': '1'})
html2 = html2.content

print(html1 == html2)