import requests			#import requests module
from bs4 import BeautifulSoup	#import BeautifulSoup from bs4 module


def main():	#initialize main()
	web_search()	#call web_search() function

def web_search():	#initialize web_search() function
	url = input("Enter name of website: ")	#create variable 'url' through user input
	url = f'https://{url}'#adds 'https://' in front of 'url'
	request = requests.get(url).json() #makes a get request with variable 'url
	print("Active Users Right Now:")	#simple print statement
	print(j['data'][0]['active_visitors'])	#using json parses text to look for 'active_vistors' inside the 'data variable' and prints the value associated with 'active_visitors'

main()


	

ede388e672ca63a1f332fa01f9f2140b3b1af791
<mask token>


def main():
    web_search()


<mask token>

<mask token>


def main():
    web_search()


def web_search():
    url = input('Enter name of website: ')
    url = f'https://{url}'
    request = requests.get(url).json()
    print('Active Users Right Now:')
    print(j['data'][0]['active_visitors'])


<mask token>

<mask token>


def main():
    web_search()


def web_search():
    url = input('Enter name of website: ')
    url = f'https://{url}'
    request = requests.get(url).json()
    print('Active Users Right Now:')
    print(j['data'][0]['active_visitors'])


main()

import requests
from bs4 import BeautifulSoup


def main():
    web_search()


def web_search():
    url = input('Enter name of website: ')
    url = f'https://{url}'
    request = requests.get(url).json()
    print('Active Users Right Now:')
    print(j['data'][0]['active_visitors'])


main()

import requests			#import requests module
from bs4 import BeautifulSoup	#import BeautifulSoup from bs4 module


def main():	#initialize main()
	web_search()	#call web_search() function

def web_search():	#initialize web_search() function
	url = input("Enter name of website: ")	#create variable 'url' through user input
	url = f'https://{url}'#adds 'https://' in front of 'url'
	request = requests.get(url).json() #makes a get request with variable 'url
	print("Active Users Right Now:")	#simple print statement
	print(j['data'][0]['active_visitors'])	#using json parses text to look for 'active_vistors' inside the 'data variable' and prints the value associated with 'active_visitors'

main()


	
