I read your article https://flashphoner.com/how-to-grab-a-video-from-youtube-and-share-it-via-webrtc-in-real-time/and when I ran the script I got the following error:
$ sudo python streamer.py https://www.youtube.com/watch?v=JwLJ995H live rtmp://1.2.3.4/myapp
ubuntu@tool:~/yt-live2nginx$ ffmpeg...