Commit b5e08529 authored by Rafaël Carré's avatar Rafaël Carré

Fixes youtube parsing on website

parent 0ee116aa
......@@ -33,7 +33,7 @@ function parse()
artist = string.gsub( line, ".*subscribe_to_user=([^&]*).*", "%1" )
if string.match( line, "player2.swf" ) then
video_id = string.gsub( line, ".*BASE_YT_URL=[^\"]*).*", "%1" )
video_id = string.gsub( line, ".*&video_id=([^\"]*).*", "%1" )
if name and description and artist and video_id then break end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment