Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -136,7 +136,7 @@ function handleEvent(event) { | ... | @@ -136,7 +136,7 @@ function handleEvent(event) { |
136 | request(options, function(error,result,body){ | 136 | request(options, function(error,result,body){ |
137 | if(error) throw new Error(error); | 137 | if(error) throw new Error(error); |
138 | 138 | ||
139 | - var temp = body.split(':'); | 139 | + var temp1 = body.split(':'); |
140 | videourl.url += "https://www.youtube.com/watch?v=" + temp1[13].substr(2,11); | 140 | videourl.url += "https://www.youtube.com/watch?v=" + temp1[13].substr(2,11); |
141 | 141 | ||
142 | console.log(videourl.url); | 142 | console.log(videourl.url); | ... | ... |
-
Please register or login to post a comment