Update endpoints.py

Many websites are using https, often by default. This allows https links to be recognized as well.