# Working with website through script

**URL:** <https://discuss.python.org/t/working-with-website-through-script/47465>\
**Category:** Python Help\
**Tags:** help\
**Created:** [March 3, 2024, 8:36am UTC](https://discuss.python.org/t/working-with-website-through-script/47465 "2024-03-03T08:36:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NakedBeaver](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@NakedBeaver](https://discuss.python.org/u/NakedBeaver)\
**Post date:** [March 3, 2024, 8:36am UTC](https://discuss.python.org/t/working-with-website-through-script/47465/1 "2024-03-03T08:36:17Z")

</div>

Hi all  
I want to change theme of the page in notion if it’s late or early through script. For example - if it’s 9PM i want the dark theme, if it’s 10AM ligth theme(it’s called appearance in settings)  
But i have no idea how to do something like this. Do you know how can i do it, ideas or examples?

---

<div class="post-metadata">

**Author:** ![JamesParrott](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/jamesparrott/32/10534_2.png) [@JamesParrott](https://discuss.python.org/u/JamesParrott)\
**Post date:** [March 3, 2024, 10:17am UTC](https://discuss.python.org/t/working-with-website-through-script/47465/2 "2024-03-03T10:17:04Z")

</div>

I’m not familiar with Notion, but are all your users in the same time zone as your web server?

---

<div class="post-metadata">

**Author:** ![NakedBeaver](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@NakedBeaver](https://discuss.python.org/u/NakedBeaver)\
**Post date:** [March 3, 2024, 12:19pm UTC](https://discuss.python.org/t/working-with-website-through-script/47465/3 "2024-03-03T12:19:47Z")

</div>

Yes  
Notion is simply note web app([https://www.notion.so/](https://www.notion.so/)), actually very useful!
