Skip to content
Snippets Groups Projects
Commit 3f401932 authored by Pierre Ynard's avatar Pierre Ynard
Browse files

liveleak.lua: support new video URL format

parent f21c063e
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,10 @@
-- Probe function.
function probe()
return ( vlc.access == "http" or vlc.access == "https" )
and string.match( vlc.path, "^www%.liveleak%.com/view" )
return ( vlc.access == "http" or vlc.access == "https" ) and (
string.match( vlc.path, "^www%.liveleak%.com/v%?" )
or string.match( vlc.path, "^www%.liveleak%.com/view%?" )
)
end
-- Util function
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment