You can run the program below using:

python3 ./example.py "https://example.com/video?id=ABCD"

Client: