Changeset 7e2caf88d0382b94c4bd39e9da60041c2a788fcb
- 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
| r29d954b |
r7e2caf8 |
|
| 19 | 19 | line = vlc.readline() |
|---|
| 20 | 20 | 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" ) |
|---|
| 22 | 22 | 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" ) ) |
|---|
| 24 | 24 | end |
|---|
| 25 | 25 | --[[ if string.match( line, "<title>" ) |
|---|