Skip to content

Refactored extraction of v param in youtube links#1

Open
jtallant wants to merge 1 commit intoraghubetina:masterfrom
jtallant:master
Open

Refactored extraction of v param in youtube links#1
jtallant wants to merge 1 commit intoraghubetina:masterfrom
jtallant:master

Conversation

@jtallant
Copy link

I think this will guarantee you always take the value of the v param and nothing else.

@jtallant
Copy link
Author

Forgot to set the id = to the split result in the pull request
id = link.split("v=")[1].split("&")[0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant