Update rapportive.py

Added error checking to the request function.