How can i get the url of input link | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can i get the url of input link

For example Input: https://www.youtube.com/watch?v=RRW2aUSw5vU Output: RWW2aUSwvU How can i do it by using re

12th Feb 2020, 7:52 AM
Vishal Pandey
Vishal Pandey - avatar
1 Answer
+ 1
Str=url Print (str [str.index ('=')+1:])
12th Feb 2020, 8:25 AM
Qasem