diff options
author | Nigel Taylor <njtaylor0101@gmail.com> | 2012-08-07 00:08:31 +0100 |
---|---|---|
committer | Nigel Taylor <njtaylor0101@gmail.com> | 2012-08-07 00:08:31 +0100 |
commit | 65e74040d3c5edb8e790c481b346898fcb55df1c (patch) | |
tree | e598dd8be87e3a0c88482f88200f5ff2e83e56d2 | |
parent | c9701743041bf794751b73e16cf5f5e0f2a27543 (diff) | |
download | get-flash-videos-65e74040d3c5edb8e790c481b346898fcb55df1c.tar.gz |
Channel5 site change, playerID can be obtain from javascript
see issue 411.
-rw-r--r-- | lib/FlashVideo/Site/Channel5.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/FlashVideo/Site/Channel5.pm b/lib/FlashVideo/Site/Channel5.pm index bed998a..1131b65 100644 --- a/lib/FlashVideo/Site/Channel5.pm +++ b/lib/FlashVideo/Site/Channel5.pm @@ -45,6 +45,12 @@ sub find_video { } } +# from script +# <script src="http//wwwcdn.channel5.com/javascript/all.js?" +# playerID is set to 1707001746001 by default or 1707001743001 for firefox +# 138489951601 for MSIE. + $player_id ||= "1707001743001"; + debug "Extracted playerId: $player_id, sessionId: $metadata->{sessionId} videoplayer: $metadata->{videoplayer} publisherId: $metadata->{publisherId} " if $player_id or $video_id; |