giavoni / get-flash-videos

Automatically exported from code.google.com/p/get-flash-videos
0 stars 0 forks source link

Hulu not working #368

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. perl c:\perl64\get_flash_videos 
http://www.hulu.com/watch/338562/desperate-housewives-you-take-for-granted 
--debug
2.
3.

What is the expected output? What do you see instead?
File does not download.  Here is an excerpt of the debug screen:
CdnPrefs: akamai level3 limelight edgecast
RTMP CDN: akamai Server: rtmpe://cp39466.edgefcs.net/ondemand; Stream: mp4:hulu4
/703/60047703/agave50271819_9632630.0_H264_1000.mp4; Token: auth=daEdVazducnbgbB
drdLcncna5cRcub.cBc6-bpxFQz-c0-3nKErEqZGyt&aifp=sll02152008&slist=hulu4/703/6004
7703;.international=false&hgt=OZU7Pvs7j27-nhteNno7wgXjTs-7yqzxi_5VFZ2-W00UIdQe1A
0jfjyyTcRK0DWBb1xNqGCRDJ_3Q1_0AmCilFof9nFk8TxUT_oQ8qu-MSXtixc6obtNDvUHc_Fk9LCNww
VOHmO2fShuNpLPF1plrpS9xv5hvhSxksQX4l6EiIO5Ym4-v_b9Md4Hf8NrGCYxDhUUiDyHkZKHiY0Kxh
orUKcFv7FeyU2Jv5KxmeIdOieueDz9sm41TYRodQgX_z4O&hgt_ver=331370278
~:RTMPDownloader=HASH(0x4c40640)
Running rtmpdump --verbose --pageUrl 'http://www.hulu.com/watch/338562/desperate
-housewives-you-take-for-granted' --rtmp 'rtmpe://cp39466.edgefcs.net/ondemand?a
uth=daEdVazducnbgbBdrdLcncna5cRcub.cBc6-bpxFQz-c0-3nKErEqZGyt&aifp=sll02152008&s
list=hulu4/703/60047703;.international=false&hgt=OZU7Pvs7j27-nhteNno7wgXjTs-7yqz
xi_5VFZ2-W00UIdQe1A0jfjyyTcRK0DWBb1xNqGCRDJ_3Q1_0AmCilFof9nFk8TxUT_oQ8qu-MSXtixc
6obtNDvUHc_Fk9LCNwwVOHmO2fShuNpLPF1plrpS9xv5hvhSxksQX4l6EiIO5Ym4-v_b9Md4Hf8NrGCY
xDhUUiDyHkZKHiY0KxhorUKcFv7FeyU2Jv5KxmeIdOieueDz9sm41TYRodQgX_z4O&hgt_ver=331370
278' --app 'ondemand?auth=daEdVazducnbgbBdrdLcncna5cRcub.cBc6-bpxFQz-c0-3nKErEqZ
Gyt&aifp=sll02152008&slist=hulu4/703/60047703;.international=false&hgt=OZU7Pvs7j
27-nhteNno7wgXjTs-7yqzxi_5VFZ2-W00UIdQe1A0jfjyyTcRK0DWBb1xNqGCRDJ_3Q1_0AmCilFof9
nFk8TxUT_oQ8qu-MSXtixc6obtNDvUHc_Fk9LCNwwVOHmO2fShuNpLPF1plrpS9xv5hvhSxksQX4l6Ei
IO5Ym4-v_b9Md4Hf8NrGCYxDhUUiDyHkZKHiY0KxhorUKcFv7FeyU2Jv5KxmeIdOieueDz9sm41TYRod
QgX_z4O&hgt_ver=331370278' --flv 'Desperate_Housewives-S08E16-You_Take_for_Grant
ed.flv' --playpath 'mp4:hulu4/703/60047703/agave50271819_9632630.0_H264_1000.mp4
'
RTMPDump v2.4 GIT-2011-07-11 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
rtmpdump: DEBUG: Parsing...
=daEdVazducnbgbBdrdLcncna5cRcub.cBc6-bpxFQz-c0-3nKErEqZGyt&aifp=sll02152008&slis
t=hulu4/703/60047703;.international=false&hgt=OZU7Pvs7j27-nhteNno7wgXjTs-7yqzxi_
5VFZ2-W00UIdQe1A0jfjyyTcRK0DWBb1xNqGCRDJ_3Q1_0AmCilFof9nFk8TxUT_oQ8qu-MSXtixc6ob
tNDvUHc_Fk9LCNwwVOHmO2fShuNpLPF1plrpS9xv5hvhSxksQX4l6EiIO5Ym4-v_b9Md4Hf8NrGCYxDh
UUiDyHkZKHiY0KxhorUKcFv7FeyU2Jv5KxmeIdOieueDz9sm41TYRodQgX_z4O&hgt_ver=331370278

DEBUG: Protocol : RTMPE
DEBUG: Hostname : cp39466.edgefcs.net
DEBUG: Port     : 1935
DEBUG: Playpath : mp4:hulu4/703/60047703/agave50271819_9632630.0_H264_1000.mp4
DEBUG: tcUrl    : rtmpe://cp39466.edgefcs.net:1935/ondemand?auth=daEdVazducnbgbB
drdLcncna5cRcub.cBc6-bpxFQz-c0-3nKErEqZGyt&aifp=sll02152008&slist=hulu4/703/6004
7703;.international=false&hgt=OZU7Pvs7j27-nhteNno7wgXjTs-7yqzxi_5VFZ2-W00UIdQe1A
0jfjyyTcRK0DWBb1xNqGCRDJ_3Q1_0AmCilFof9nFk8TxUT_oQ8qu-MSXtixc6obtNDvUHc_Fk9LCNww
VOHmO2fShuNpLPF1plrpS9xv5hvhSxksQX4l6EiIO5Ym4-v_b9Md4Hf8NrGCYxDhUUiDyHkZKHiY0Kxh
orUKcFv7FeyU2Jv5KxmeIdOieueDz9sm41TYRodQgX_z4O&hgt_ver=331370278
DEBUG: pageUrl  : http://www.hulu.com/watch/338562/desperate-housewives-you-take
-for-granted
DEBUG: app      : ondemand?auth=daEdVazducnbgbBdrdLcncna5cRcub.cBc6-bpxFQz-c0-3n
KErEqZGyt&aifp=sll02152008&slist=hulu4/703/60047703;.international=false&hgt=OZU
7Pvs7j27-nhteNno7wgXjTs-7yqzxi_5VFZ2-W00UIdQe1A0jfjyyTcRK0DWBb1xNqGCRDJ_3Q1_0AmC
ilFof9nFk8TxUT_oQ8qu-MSXtixc6obtNDvUHc_Fk9LCNwwVOHmO2fShuNpLPF1plrpS9xv5hvhSxksQ
X4l6EiIO5Ym4-v_b9Md4Hf8NrGCYxDhUUiDyHkZKHiY0KxhorUKcFv7FeyU2Jv5KxmeIdOieueDz9sm4
1TYRodQgX_z4O&hgt_ver=331370278
DEBUG: live     : no
DEBUG: timeout  : 30 sec
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
rtmpdump: DEBUG: RTMP_Connect1, ... connected, handshaking
rtmpdump: DEBUG: HandShake: Client digest offset: 879
d5 24 e6 62 c5
DEBUG: 10 f6 b6 76 91 c0 03 4a f4 bf f7 38 4b 17 0b 3a
DEBUG: HandShake: Type Answer   : 09
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
DEBUG: HandShake: Server Uptime : 1122726843
DEBUG: HandShake: FMS Version   : 3.5.7.1
DEBUG: HandShake: Server DH public key offset: 310
DEBUG: HandShake: Secret key:
DEBUG: 8f cf 77 d8 73 8b 81 e5 90 09 c1 e8 93 16 d0 f2
DEBUG: 0f f4 a8 e5 24 a7 20 1c c8 7d 5b c8 3e bb 95 9c
DEBUG: c4 1f 93 33 52 e6 f3 3c 89 88 fc 14 9f 18 8f e1
DEBUG: b9 05 ce 7e cf 20 3a 78 41 b4 25 5c fd fd e3 12
DEBUG: 10 c6 da 7e cd 49 12 ec e6 09 c2 dc e2 ef 31 3b
DEBUG: c6 a0 21 f2 8e 43 79 15 4f d8 44 ef e2 a9 0e 2e
DEBUG: c2 1f 6c 07 c0 08 ff 7c 17 02 f8 14 b1 9e b7 1f
DEBUG: 5c a7 91 45 21 bd dd e7 6a 0c 76 ad 61 ad 8d 54
DEBUG: RC4 Out Key:
DEBUG: ce 4b ee 41 99 7b 85 8c e7 8c c3 ed 43 56 2d 42
DEBUG: RC4 In Key:
DEBUG: 99 a7 12 d6 80 ec cd 44 69 c6 f9 fc a5 8b 35 af
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: b5 b4 ef 92 80 07 27 9f bf e6 68 d7 c7 c3 a1 4e
DEBUG: 3c 22 7a 88 bc 36 79 50 c5 2e ea 62 4e 5b 5d e4
DEBUG: HandShake: Client signature calculated:
DEBUG: 57 8e 25 25 4d 91 ec 82 4d 6e 29 f5 25 a5 f9 cf
DEBUG: c3 06 bb 24 b6 9b 0e 9f a2 45 3c 10 ef 0d 1a 0a
DEBUG: HandShake: Server sent signature:
DEBUG: a4 98 ff ec 95 24 68 29 2e 5c 01 15 19 04 c6 5e
DEBUG: 95 1f cc c1 07 8d fd 21 bb 3f 6d 56 43 a5 5e 47
DEBUG: HandShake: Digest key:
DEBUG: 2b a3 59 c0 6c 55 e4 b5 66 7d db 0a a1 38 bc 9a
DEBUG: fc 7b 5c b2 b9 1d dc 02 09 82 36 be 7d 2e 06 79
DEBUG: HandShake: Signature calculated:
DEBUG: a4 98 ff ec 95 24 68 29 2e 5c 01 15 19 04 c6 5e
DEBUG: 95 1f cc c1 07 8d fd 21 bb 3f 6d 56 43 a5 5e 47
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: RTMP_ClientPacket, received: invoke 134 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     error>
DEBUG: Property: <Name:               code, STRING:     NetConnection.Connect.Re
jected>
DEBUG: Property: <Name:        description, STRING:     [ AccessManager.Reject ]
 : Access denied!>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
DEBUG: Closing connection.
Download failed, no valid file downloaded
Couldn't download any videos.

What version of the product are you using? On what operating system?
get_flash_videos 1.24, most current update, with Hulu.pm
RTMPdump 2.4

Please provide any additional information below.

Original issue reported on code.google.com by cc654...@gmail.com on 12 Mar 2012 at 1:36

GoogleCodeExporter commented 9 years ago
Same here:

Original comment by car...@tarkus.se on 12 Mar 2012 at 5:03

GoogleCodeExporter commented 9 years ago
same here. Ubuntu 11.04, RTMPdump 2.4, get_flash_videos_1.24, and most up to 
date hulu.pm as of 1.24.

Original comment by zebton...@gmail.com on 14 Mar 2012 at 12:46

GoogleCodeExporter commented 9 years ago
Try changing 
  use constant HULU_PLAYER => 'http://www.hulu.com/player.swf';
to
  use constant HULU_PLAYER => 'http://www.hulu.com/site-player/player.swf';
in Hulu.pm

Also, this workaround appears to be necessary if you're connecting to the 
Level3 CDN
  http://lists.mplayerhq.hu/pipermail/rtmpdump/2011-December/001801.html
(I'm not sure if it's needed for other CDNs but it doesn't appear to hurt to 
have it)

Original comment by ludwi...@gmail.com on 15 Mar 2012 at 5:05

GoogleCodeExporter commented 9 years ago
Sweet!  Fix works perfectly.  Thanks!

Original comment by jeffplem...@gmail.com on 15 Mar 2012 at 5:57

GoogleCodeExporter commented 9 years ago
fix worked for me too.

Original comment by menachem...@gmail.com on 15 Mar 2012 at 6:53

GoogleCodeExporter commented 9 years ago
Works.  Thanks so much.

Original comment by fpc...@gmail.com on 16 Mar 2012 at 11:52

GoogleCodeExporter commented 9 years ago
Fixed by flashinpan in Git on Gitorious. I also fixed a problem with the 
subtitles getting mojibaked.

Original comment by zakflash...@gmail.com on 18 Mar 2012 at 9:19