Update __init__.py

Added a function to warn user if URL is empty