Handle HTTP and HTTPS for Youtube