# Tool to check if name is taken

**URL:** <https://forum.spyhub.tv/t/tool-to-check-if-name-is-taken/27204>\
**Category:** General Discussion\
**Created:** [February 4, 2023, 12:41am UTC](https://forum.spyhub.tv/t/tool-to-check-if-name-is-taken/27204 "2023-02-04T00:41:37Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![jabbath1987](https://forum-cdn.spyhub.tv/user_avatar/forum.spyhub.tv/jabbath1987/32/727042_2.png) [@jabbath1987](https://forum.spyhub.tv/u/jabbath1987)\
**Post date:** [February 4, 2023, 2:56am UTC](https://forum.spyhub.tv/t/tool-to-check-if-name-is-taken/27204/7 "2023-02-04T02:56:36Z")

</div>

This is strange. Maybe your path variables are not properly set up?  
**A new version of the script which works with the new archives can be found here:**  
**[Tool to check if name is taken - #31 by jabbath1987](https://forum.spyhub.tv/t/tool-to-check-if-name-is-taken/27204/31)**

> **Deprecated**
>
> I can give you the script as Python when you want? You need to have Python installed to use it of course… Do everything like above. Just save it as CheckNames. **py**
> 
> ```auto
> while True:
> name = input("Enter a name to check:")
> 
> try:
> import urllib.request
> with urllib.request.urlopen("https://voyeur-house.tv/moments") as response:
> html = response.read().decode('utf-8')
> 
> if name in html:
> print("Name taken")
> else:
> print("Name available")
> 
> except Exception as e:
> print("An error occurred:", str(e))
> 
> choice = input("Do you want to search for another name? (y/n)")
> if choice.lower() != 'y':
> break
> 
> ```

---

_[View the full topic](https://forum.spyhub.tv/t/tool-to-check-if-name-is-taken/27204)._
