google-code-export / get-flash-videos

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

ITV.com/itvplayer broken again #248

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

itv.com/itvplayer stopped working again about march 8th or so,  below is the 
--debug cmdline output from get_flash_videos 1.25 with rtmpdump v2.3 on a linux 
mint 10(julia) box

it is me trying to download coronation street

basically it doesn't work and exits with Download failed, no valid file 
downloaded and Couldn't download any videos [after launching rtmpdump] but you 
can see the full debug output below

get_flash_videos --debug 
http://www.itv.com/itvplayer/video/?Filter=219025&r=true

No plugins installed
Downloading http://www.itv.com/itvplayer/video/?Filter=219025
-> GET http://www.itv.com/itvplayer/video/?Filter=219025
<- 200 text/html (21036)
Trying to open plugin ~/.get_flash_videos/plugins/Www.pm
Trying to open plugin ~/.get_flash_videos/plugins/Itv.pm
Using method 'itv' for http://www.itv.com/itvplayer/video/?Filter=219025
<s:Envelope 
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><GetPlaylistResponse
 xmlns="http://tempuri.org/"><GetPlaylistResult><Playlist xmlns="">
  <Vodcrid>crid://itv.com/219025</Vodcrid>
  <ExpiryDate>2011-04-03T23:59:00</ExpiryDate>
  <VideoType>CATCHUP</VideoType>
  <GuidanceText></GuidanceText>
  <ProgrammeTitle>Coronation Street</ProgrammeTitle>
  <TransmissionDate>04 March 2011</TransmissionDate>
  <TransmissionTime>19:30</TransmissionTime>
  <Duration>00:22:04:120</Duration>
  <EpisodeTitle>Episode 7548</EpisodeTitle>
  <EpisodeNumber>42</EpisodeNumber>
  <Sting>
    <Video>
      <MediaFiles base="rtmpe://cp72511.edgefcs.net/ondemand?auth=eaEaZbdbqa9dMdEa0b6dBb0cCbubfaJc9b1b5cwdBdeceanabcjdTbWcXa9cGdtbHc9-bnENTy-eS-5yp2IAomDuwp&amp;aifp=v002&amp;slist=production/">
        <MediaFile delivery="Streaming" bitrate="0">
          <URL><![CDATA[mp4:production/stings/IP_ProjectMercury_ITV1sting_Ribbons_600_16-9.mp4]]></URL>
        </MediaFile>
      </MediaFiles>
    </Video>
  </Sting>
  <Dog showDuringAd="false">
    <URL><![CDATA[http://www.itv.com/_app/img/mercury/ITV-bugs-ITV1.png]]></URL>
  </Dog>
  <PosterFrame>
    <URL><![CDATA[http://www.itv.com/bcc3668f-a107-4b74-b7b1-dac251a07cc3/image.jpg.ashx?w=480&h=272]]></URL>
  </PosterFrame>
  <VideoEntries>
    <Video timecode="00:00:00:000" duration="00:22:04:120" rendition-offset="00:00:11:000">
      <ClosedCaptioningURIs>
        <URL><![CDATA[http://subtitles.secure.content.itv.com/CATCHUP/84047201/7f0f/4c8c/b060/acc9663fc1f4/1-0694-7548-001_CORONATION-STREET-(SERIES-52)-2011_TX040311_BLOOM_SUBTITLE_TTF.XML?__gda__=1299879800_d5e2804a5ecc8c598b15dfbbccdd4f3c&fileExt=.xml]]></URL>
      </ClosedCaptioningURIs>
      <MediaFiles base="rtmpe://cp72511.edgefcs.net/ondemand?auth=eaEaZbdbqa9dMdEa0b6dBb0cCbubfaJc9b1b5cwdBdeceanabcjdTbWcXa9cGdtbHc9-bnENTy-eS-5yp2IAomDuwp&amp;aifp=v002&amp;slist=production/">
        <MediaFile delivery="Streaming" bitrate="400000" base="" tkn="">
          <URL><![CDATA[mp4:production/CATCHUP/84047201/7f0f/4c8c/b060/acc9663fc1f4/1-0694-7548-001_CORONATION-STREET-(SERIES-52)-2011_TX040311_ITV400_16X9.MP4]]></URL>
        </MediaFile>
        <MediaFile delivery="Streaming" bitrate="600000" base="" tkn="">
          <URL><![CDATA[mp4:production/CATCHUP/84047201/7f0f/4c8c/b060/acc9663fc1f4/1-0694-7548-001_CORONATION-STREET-(SERIES-52)-2011_TX040311_ITV600_16X9.MP4]]></URL>
        </MediaFile>
        <MediaFile delivery="Streaming" bitrate="800000" base="" tkn="">
          <URL><![CDATA[mp4:production/CATCHUP/84047201/7f0f/4c8c/b060/acc9663fc1f4/1-0694-7548-001_CORONATION-STREET-(SERIES-52)-2011_TX040311_ITV800_16X9.MP4]]></URL>
        </MediaFile>
      </MediaFiles>
      <TrackingEvents/>
    </Video>
  </VideoEntries>
  <ContentBreaks>
    <ContentBreak timecode="00:00:00:000">
      <Action>
        <URL><![CDATA[http://sam.itv.com/XTSERVER/GENERIC=FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF/RS=SCC.TRUE..SVISIT.1..SC4.OTHER/AAMSZ=VIDEO/AREA=ITVPLAYER.VIDEO/SEG=ITVPLAYER.VIDEO/SITE=ITV/PROGNAME=CORONATION.STREET/EPTITLE=EPISODE.7548/SERIES=CORONATION.STREET/BRANDID=219025/SERIESID=219025/TDUR=1324/PROGID=ITV.COM.219025/PROGGENRE=/GENRE=SOA.A2.A3.AA.AD.H5.HA.HC.HW.W3.WA.WO/RSTRCT=NONE/SOURCE=CATCHUP/BREAKNUM=0/PAGEID=0FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF/ADPOS=1/ACC_RANDOM=2009577828/]]></URL>
      </Action>
      <Action>
        <URL><![CDATA[http://sam.itv.com/XTSERVER/GENERIC=FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF/RS=SCC.TRUE..SVISIT.1..SC4.OTHER/AAMSZ=VIDEO/AREA=ITVPLAYER.VIDEO/SEG=ITVPLAYER.VIDEO/SITE=ITV/PROGNAME=CORONATION.STREET/EPTITLE=EPISODE.7548/SERIES=CORONATION.STREET/BRANDID=219025/SERIESID=219025/TDUR=1324/PROGID=ITV.COM.219025/PROGGENRE=/GENRE=SOA.A2.A3.AA.AD.H5.HA.HC.HW.W3.WA.WO/RSTRCT=NONE/SOURCE=CATCHUP/BREAKNUM=0/PAGEID=0FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF/ADPOS=LAST/ACC_RANDOM=0006667109/]]></URL>
      </Action>
    </ContentBreak>
    <ContentBreak timecode="00:12:08:961">
      <Action>
        <URL><![CDATA[http://sam.itv.com/XTSERVER/GENERIC=FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF/RS=SCC.TRUE..SVISIT.1..SC4.OTHER/AAMSZ=VIDEO/AREA=ITVPLAYER.VIDEO/SEG=ITVPLAYER.VIDEO/SITE=ITV/PROGNAME=CORONATION.STREET/EPTITLE=EPISODE.7548/SERIES=CORONATION.STREET/BRANDID=219025/SERIESID=219025/TDUR=1324/PROGID=ITV.COM.219025/PROGGENRE=/GENRE=SOA.A2.A3.AA.AD.H5.HA.HC.HW.W3.WA.WO/RSTRCT=NONE/SOURCE=CATCHUP/BREAKNUM=1/PAGEID=1FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF/ADPOS=1/ACC_RANDOM=0212693390/]]></URL>
      </Action>
      <Action>
        <URL><![CDATA[http://sam.itv.com/XTSERVER/GENERIC=FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF/RS=SCC.TRUE..SVISIT.1..SC4.OTHER/AAMSZ=VIDEO/AREA=ITVPLAYER.VIDEO/SEG=ITVPLAYER.VIDEO/SITE=ITV/PROGNAME=CORONATION.STREET/EPTITLE=EPISODE.7548/SERIES=CORONATION.STREET/BRANDID=219025/SERIESID=219025/TDUR=1324/PROGID=ITV.COM.219025/PROGGENRE=/GENRE=SOA.A2.A3.AA.AD.H5.HA.HC.HW.W3.WA.WO/RSTRCT=NONE/SOURCE=CATCHUP/BREAKNUM=1/PAGEID=1FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF/ADPOS=2/ACC_RANDOM=1970637330/]]></URL>
      </Action>
      <Action>
        <URL><![CDATA[http://sam.itv.com/XTSERVER/GENERIC=FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF/RS=SCC.TRUE..SVISIT.1..SC4.OTHER/AAMSZ=VIDEO/AREA=ITVPLAYER.VIDEO/SEG=ITVPLAYER.VIDEO/SITE=ITV/PROGNAME=CORONATION.STREET/EPTITLE=EPISODE.7548/SERIES=CORONATION.STREET/BRANDID=219025/SERIESID=219025/TDUR=1324/PROGID=ITV.COM.219025/PROGGENRE=/GENRE=SOA.A2.A3.AA.AD.H5.HA.HC.HW.W3.WA.WO/RSTRCT=NONE/SOURCE=CATCHUP/BREAKNUM=1/PAGEID=1FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF/ADPOS=3/ACC_RANDOM=2116487469/]]></URL>
      </Action>
      <Action>
        <URL><![CDATA[http://sam.itv.com/XTSERVER/GENERIC=FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF/RS=SCC.TRUE..SVISIT.1..SC4.OTHER/AAMSZ=VIDEO/AREA=ITVPLAYER.VIDEO/SEG=ITVPLAYER.VIDEO/SITE=ITV/PROGNAME=CORONATION.STREET/EPTITLE=EPISODE.7548/SERIES=CORONATION.STREET/BRANDID=219025/SERIESID=219025/TDUR=1324/PROGID=ITV.COM.219025/PROGGENRE=/GENRE=SOA.A2.A3.AA.AD.H5.HA.HC.HW.W3.WA.WO/RSTRCT=NONE/SOURCE=CATCHUP/BREAKNUM=1/PAGEID=1FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF/ADPOS=4/ACC_RANDOM=0285858576/]]></URL>
      </Action>
      <Action>
        <URL><![CDATA[http://sam.itv.com/XTSERVER/GENERIC=FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF/RS=SCC.TRUE..SVISIT.1..SC4.OTHER/AAMSZ=VIDEO/AREA=ITVPLAYER.VIDEO/SEG=ITVPLAYER.VIDEO/SITE=ITV/PROGNAME=CORONATION.STREET/EPTITLE=EPISODE.7548/SERIES=CORONATION.STREET/BRANDID=219025/SERIESID=219025/TDUR=1324/PROGID=ITV.COM.219025/PROGGENRE=/GENRE=SOA.A2.A3.AA.AD.H5.HA.HC.HW.W3.WA.WO/RSTRCT=NONE/SOURCE=CATCHUP/BREAKNUM=1/PAGEID=1FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF/ADPOS=LAST/ACC_RANDOM=1138951100/]]></URL>
      </Action>
    </ContentBreak>
    <ContentBreak timecode="00:22:04:120"/>
  </ContentBreaks>
  <Notifications>
    <Notification timecode="00:00:00:200">
      <Tracking event="Time">
        <URL><![CDATA[javascript:Omniture_Play("crid://itv.com/219025", "ffffffff-ffff-ffff-ffff-ffffffffffff", "Coronation Street");]]></URL>
      </Tracking>
    </Notification>
    <Notification timecode="00:00:00:200">
      <Tracking event="Time">
        <URL><![CDATA[http://mercury.itv.com/ContentTrackingCall.aspx?vodcrid=crid://itv.com/219025&guid=ffffffff-ffff-ffff-ffff-ffffffffffff&part=1&client=ItvCom]]></URL>
      </Tracking>
    </Notification>
    <Notification timecode="00:12:09:161">
      <Tracking event="Time">
        <URL><![CDATA[http://mercury.itv.com/ContentTrackingCall.aspx?vodcrid=crid://itv.com/219025&guid=ffffffff-ffff-ffff-ffff-ffffffffffff&part=2&client=ItvCom]]></URL>
      </Tracking>
    </Notification>
  </Notifications>
  <TrackingEvents>
    <Tracking event="PlaylistLoaded"/>
    <Tracking event="AttemptPlay">
      <URL><![CDATA[javascript:CallBehaviourModulePlayer("crid://itv.com/219025", "Video");]]></URL>
      <URL><![CDATA[http://mercury.itv.com/ContentTrackingCall.aspx?vodcrid=crid://itv.com/219025&guid=ffffffff-ffff-ffff-ffff-ffffffffffff&part=0&client=ItvCom]]></URL>
    </Tracking>
    <Tracking event="Pause"/>
    <Tracking event="Resume"/>
    <Tracking event="EnterFullscreen"/>
    <Tracking event="ExitFullscreeen"/>
    <Tracking event="Seek"/>
    <Tracking event="ErrorOccured"/>
  </TrackingEvents>
</Playlist></GetPlaylistResult></GetPlaylistResponse></s:Body></s:Envelope>
-> GET http://www.itv.com/mercury/Mercury_VideoPlayer.swf
<- 200 application/octet-stream (305793)
FlashVideo::RTMPDownloader=HASH(0x9c6be90)
Running rtmpdump --verbose --rtmp 
'rtmpe://cp72511.edgefcs.net/ondemand?auth=eaEaZbdbqa9dMdEa0b6dBb0cCbubfaJc9b1b5
cwdBdeceanabcjdTbWcXa9cGdtbHc9-bnENTy-eS-5yp2IAomDuwp&aifp=v002&slist=production
/' --flv --swfhash 
'9056cdae4c10d28a055e9920a548ae671a7feb9718c561bae21c75b9235eb6fd' --swfsize 
'691601' --playpath --swfUrl 
'http://www.itv.com/mercury/Mercury_VideoPlayer.swf'
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
rtmpdump: DEBUG: Parsing...
rtmpdump: DEBUG: Parsed protocol: 2
rtmpdump: DEBUG: Parsed host    : cp72511.edgefcs.net
rtmpdump: DEBUG: Parsed app     : 
ondemand?auth=eaEaZbdbqa9dMdEa0b6dBb0cCbubfaJc9b1b5cwdBdeceanabcjdTbWcXa9cGdtbHc
9-bnENTy-eS-5yp2IAomDuwp&aifp=v002&slist=production/
rtmpdump: WARNING: Ignoring SWF size, supply also the hash with --swfhash
rtmpdump: DEBUG: Protocol : RTMPE
rtmpdump: DEBUG: Hostname : cp72511.edgefcs.net
rtmpdump: DEBUG: Port     : 1935
rtmpdump: DEBUG: Playpath : --swfUrl
rtmpdump: DEBUG: tcUrl    : 
rtmpe://cp72511.edgefcs.net:1935/ondemand?auth=eaEaZbdbqa9dMdEa0b6dBb0cCbubfaJc9
b1b5cwdBdeceanabcjdTbWcXa9cGdtbHc9-bnENTy-eS-5yp2IAomDuwp&aifp=v002&slist=produc
tion/
rtmpdump: DEBUG: app      : 
ondemand?auth=eaEaZbdbqa9dMdEa0b6dBb0cCbubfaJc9b1b5cwdBdeceanabcjdTbWcXa9cGdtbHc
9-bnENTy-eS-5yp2IAomDuwp&aifp=v002&slist=production/
rtmpdump: DEBUG: live     : no
rtmpdump: DEBUG: timeout  : 30 sec
rtmpdump: DEBUG: Setting buffer time to: 36000000ms
Connecting ...
rtmpdump: DEBUG: RTMP_Connect1, ... connected, handshaking
rtmpdump: DEBUG: HandShake: Client digest offset: 1383
rtmpdump: DEBUG: HandShake: Initial client digest: 
rtmpdump: DEBUG: 99 a6 f6 99 5c 8a 06 1f fa 97 7d d5 b3 aa cf d1
rtmpdump: DEBUG: 7a 61 ea 29 72 82 f8 4d e2 95 b6 7e 99 a6 26 30
rtmpdump: DEBUG: HandShake: Type Answer   : 09
rtmpdump: DEBUG: HandShake: Server Uptime : 911632031
set: 55
rtmpdump: DEBUG: HandShake: Secret key: 
rtmpdump: DEBUG: c0 21 a8 5f 0f 3d b9 5d b3 8c 7b 93 f6 6c 54 e8
rtmpdump: DEBUG: 92 8c 5d 9c 15 10 dd 44 9e bf 48 a4 78 2c 61 27
rtmpdump: DEBUG: b6 b4 b1 e8 d5 6b fa 73 d3 81 47 b8 2d 38 f7 58
rtmpdump: DEBUG: f4 5f 1e f8 16 d6 92 6b 21 23 ae c8 34 d3 95 87
rtmpdump: DEBUG: d3 41 8a 96 30 59 ac 7f 04 ad 7f 3d 3c af 5f 88
rtmpdump: DEBUG: c4 d6 53 86 af be 81 fb 82 71 5a 09 a6 95 9a f4
rtmpdump: DEBUG: c2 7e 83 71 28 71 bd 19 63 8f 83 9f ce 8b a4 96
rtmpdump: DEBUG: c9 3d 4a 14 65 ca 79 aa cb 71 e3 45 1d ae 3c 8c
rtmpdump: DEBUG: RC4 Out Key: 
rtmpdump: DEBUG: be 87 55 48 ec 8a 42 12 7b 83 99 3a 8a 3c 93 f3
rtmpdump: DEBUG: RC4 In Key: 
rtmpdump: DEBUG: c8 ef 7b 14 18 df 8c 27 f1 d2 2f 66 45 da d5 78
rtmpdump: DEBUG: HandShake: Calculated digest key from secure key and server 
digest: 
rtmpdump: DEBUG: dd 2b d0 4b 9f fc e2 59 ad 75 0b 90 09 9a 2a ff
rtmpdump: DEBUG: f2 a7 ff 92 8a e0 7e 78 43 03 33 64 b1 f1 e4 f7
rtmpdump: DEBUG: HandShake: Client signature calculated:
rtmpdump: DEBUG: 13 42 4d 75 0c f0 79 46 fe 47 52 42 8d 2d ea d4
rtmpdump: DEBUG: c2 28 50 9c 6d ab be 97 a9 81 d5 96 76 76 63 96
rtmpdump: DEBUG: HandShake: Server sent signature:
f fc 90 44 a2 7d 4e 79
DEBUG: HandShake: Digest key: 
DEBUG: 1b ed 4f f9 33 dc 69 d1 f0 1d 9e 5a cd b8 17 fb
DEBUG: a1 25 36 27 b9 1d 6d 94 71 25 61 b2 f6 ff cb 64
DEBUG: HandShake: Signature calculated:
DEBUG: c2 f8 f7 32 23 1c 65 00 56 f8 c4 68 f0 10 f6 6e
DEBUG: 1d 94 60 fa 6c c2 7e 94 19 da 2f 4a 49 1c b2 a6
WARNING: HandShake: Server not genuine Adobe!
ERROR: RTMP_Connect1, handshake failed.
DEBUG: Closing connection.
Download failed, no valid file downloaded
Couldn't download any videos.

above is the output and it fails :(

Original issue reported on code.google.com by kevinedo...@yahoo.co.uk on 11 Mar 2011 at 7:51

GoogleCodeExporter commented 9 years ago
The handshake failed because version 9 of the protocol has not yet been 
implemented in rtmpdump. Multiple projects have issues since Adobe provided an 
update for the servers using this new handshake.

Original comment by cyberwizzard on 13 Mar 2011 at 11:48

GoogleCodeExporter commented 9 years ago
Try with the latest version of rtmpdump from SVN.

http://lists.mplayerhq.hu/pipermail/rtmpdump/2011-March/001328.html

Works for me on OpenBSD amd64 current, and Debian building the version from SVN.

Original comment by njtaylor...@gmail.com on 20 Mar 2011 at 10:17

GoogleCodeExporter commented 9 years ago
confirmed with latest released version

liminal@ubuntu-laptop:~$ get_flash_videos --debug 
http://www.itv.com/itvplayer/video/?Filter=247530
No plugins installed
Downloading http://www.itv.com/itvplayer/video/?Filter=247530
-> GET http://www.itv.com/itvplayer/video/?Filter=247530
<- 500 text/plain (65)
Couldn't download 'http://www.itv.com/itvplayer/video/?Filter=247530': 500 
Can't connect to www.itv.com:80 (Bad hostname 'www.itv.com')
Trying to open plugin ~/.get_flash_videos/plugins/Www.pm
Trying to open plugin ~/.get_flash_videos/plugins/Itv.pm
Using method 'itv' for http://www.itv.com/itvplayer/video/?Filter=247530
<s:Envelope 
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode>
s:Unexpected</faultcode><faultstring xml:lang="en-GB">The formatter threw an 
exception while trying to deserialize the message: There was an error while 
trying to deserialize parameter http://tempuri.org/:siteInfo. The 
InnerException message was 'Invalid enum value 'Web' cannot be deserialized 
into type 'Itv.BB.Mercury.Common.Types.Platform'. Ensure that the necessary 
enum values are present and are marked with EnumMemberAttribute attribute if 
the type has DataContractAttribute attribute.'.  Please see InnerException for 
more details.</faultstring></s:Fault></s:Body></s:Envelope>
Error: Unable to find <Video> in XML at /usr/share/perl5/FlashVideo/Site/Itv.pm 
line 47.

Couldn't extract Flash movie URL. This site may need specific support adding,
or fixing.

Please confirm the site is using Flash video and if you have Flash available
check that the URL really works(!).

Check for updates by running: /usr/bin/get_flash_videos --update

If the latest version does not support this please open a bug (or
contribute a patch!) at http://code.google.com/p/get-flash-videos/
make sure you include the output with --debug enabled.
Couldn't download any videos.

Original comment by mrphcon...@gmail.com on 17 Jun 2011 at 9:51

GoogleCodeExporter commented 9 years ago
This can be close Itv.pm has been updated a number of time since.
#3 returns a http STATUS code 500, and give the unable to connect error. 
This could be geo restriction, itv site down, it's an unrelated problem.

Closing this issue.

Original comment by njtaylor...@gmail.com on 9 Mar 2013 at 2:43