+ 1
YouTube Link Finder
Hi I could not figure out what wrong with this code. Seems it returns what it supposed to be. But still could not pass the project âYouTube Link Finderâ in python. https://code.sololearn.com/cd74B1MBecJq/?ref=app
4 Answers
+ 5
input https://www.youtube.com/watch?v=RRW2a-12345
gives 12345
+ 2
Tip: all YouTube video identifiers are 11 characters in length.
+ 1
ArrUn, very glad! I think, they must replace "letters and numbers" with "characters" to not confuse beginners.
And one more fact: in long version ("youtube.com") it is always the same page for video ("watch"), and special script watches the identifier and gives data associated with it (video, upload time, comments, likes, dislikes, if "content for children") from the server to it.