Add support for YouTube video URL parsing
Remove some duplicate code