Changeset 7e2caf88d0382b94c4bd39e9da60041c2a788fcb

Show
Ignore:
Timestamp:
09/15/07 00:48:04 (10 months ago)
Author:
Antoine Cellerier <dionoea@videolan.org>
git-committer:
Antoine Cellerier <dionoea@videolan.org> 1189810084 +0000
git-parent:

[f165974e85ebe3d33ee9e38a5631c87d30138bd7]

git-author:
Antoine Cellerier <dionoea@videolan.org> 1189810084 +0000
Message:

Fix the dailymotion lua script.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • share/luaplaylist/dailymotion.lua

    r29d954b r7e2caf8  
    1919        line = vlc.readline() 
    2020        if not line then break end 
    21         if string.match( line, "param name=\"flashvars\" value=\".*url=" ) 
     21        if string.match( line, "param name=\"flashvars\" value=\".*url=http" ) 
    2222        then 
    23             path = vlc.decode_uri( string.gsub( line, "^.*param name=\"flashvars\" value=\".*url=([^&]*).*$", "%1" ) ) 
     23            path = vlc.decode_uri( string.gsub( line, "^.*param name=\"flashvars\" value=\".*url=(http[^&]*).*$", "%1" ) ) 
    2424        end 
    2525        --[[ if string.match( line, "<title>" )