Improved YouTube URL detection