import requests
import time
channelName=input('Entrer le pseudo du streamer: ')
while True:
contents = requests.get('https://www.twitch.tv/'+channelName).content.decode('utf-8')
if 'isLiveBroadcast' in contents:
print(f"{channelName} est en live")
time.sleep(30)
else:
print(f"{channelName} est...