Use logging instead of print in github.py