# Zrok\_interstitial Header not working with requests library PYTHON

**URL:** <https://openziti.discourse.group/t/zrok-interstitial-header-not-working-with-requests-library-python/3981>\
**Category:** zrok\
**Created:** [February 17, 2025, 12:15pm UTC](https://openziti.discourse.group/t/zrok-interstitial-header-not-working-with-requests-library-python/3981 "2025-02-17T12:15:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gatszow](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/gatszow/32/3211_2.png) [@Gatszow](https://openziti.discourse.group/u/Gatszow)\
**Post date:** [February 17, 2025, 12:15pm UTC](https://openziti.discourse.group/t/zrok-interstitial-header-not-working-with-requests-library-python/3981/1 "2025-02-17T12:15:35Z")

</div>

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:

```auto
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?

---

<div class="post-metadata">

**Author:** ![smilindave26](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/smilindave26/32/185_2.png) [@smilindave26](https://openziti.discourse.group/u/smilindave26)\
**Post date:** [February 17, 2025, 2:14pm UTC](https://openziti.discourse.group/t/zrok-interstitial-header-not-working-with-requests-library-python/3981/2 "2025-02-17T14:14:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Gatszow](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/gatszow/32/3211_2.png) [@Gatszow](https://openziti.discourse.group/u/Gatszow)\
**Post date:** [February 17, 2025, 2:50pm UTC](https://openziti.discourse.group/t/zrok-interstitial-header-not-working-with-requests-library-python/3981/3 "2025-02-17T14:50:55Z")

</div>

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:

```auto
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)

```
