Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 13th, 2012  |  syntax: None  |  size: 13.64 KB  |  views: 84  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. lars@X64V:~$ cd mlbviewer2012
  2. lars@X64V:~/mlbviewer2012$ cd test
  3. lars@X64V:~/mlbviewer2012/test$ ./mlbgamedl.py 14-345598-2012-10-09 25360699
  4. These are the cookies we have received so far :
  5. 0   :   <Cookie SESSION_1=wf_flowId%3D%3D%3Dregistration.wizard%7Ewf_c_id%3D%3D%3Dmlb%7Estage%3D%3D%3D3%7EflowId%3D%3D%3Dregistration.wizard for .mlb.com/>
  6. Here are the headers of the page :
  7. Server: Oracle-iPlanet-Web-Server/7.0
  8. Date: Sat, 13 Oct 2012 06:53:03 GMT
  9. Content-type: text/html;charset=utf-8
  10. Set-cookie: SESSION_1=; Domain=.mlb.com; Path=/
  11. Set-cookie: mlbunifieddata=6092613%7C6b5128ec88ccf2b7041163cc2a851ded%7C1350111183262%7Cttemp; Domain=.mlb.com; Path=/
  12. Set-cookie: appacc=mlb; Domain=.mlb.com; Expires=Sun, 13-Oct-2013 06:53:03 GMT; Path=/
  13. Set-cookie: fprt=M01OTnZ6LzRGL1dqQk9zMFkvL3Uvam10Mm1zPXwxMzUwMTExMTgzMjU5fGlwdD1lbWFpbC1wYXNzd29yZA%3D%3D; Domain=.mlb.com; Expires=Sun, 13-Oct-2013 06:53:03 GMT; Path=/
  14. Set-cookie: ipid=6092613; Domain=.mlb.com; Expires=Sun, 13-Oct-2013 06:53:03 GMT; Path=/
  15. Transfer-encoding: chunked
  16.  
  17.  
  18. These are the cookies we have received so far :
  19. 0   :   <Cookie SESSION_1= for .mlb.com/>
  20. 1   :   <Cookie appacc=mlb for .mlb.com/>
  21. 2   :   <Cookie fprt=M01OTnZ6LzRGL1dqQk9zMFkvL3Uvam10Mm1zPXwxMzUwMTExMTgzMjU5fGlwdD1lbWFpbC1wYXNzd29yZA%3D%3D for .mlb.com/>
  22. 3   :   <Cookie ipid=6092613 for .mlb.com/>
  23. 4   :   <Cookie mlbunifieddata=6092613%7C6b5128ec88ccf2b7041163cc2a851ded%7C1350111183262%7Cttemp for .mlb.com/>
  24. Logged in successfully!
  25. [('SESSION_1', '', {'path': '/', 'domain': '.mlb.com', 'version': '0'}, {}), ('mlbunifieddata', '6092613%7C6b5128ec88ccf2b7041163cc2a851ded%7C1350111183262%7Cttemp', {'path': '/', 'domain': '.mlb.com', 'version': '0'}, {}), ('appacc', 'mlb', {'path': '/', 'domain': '.mlb.com', 'expires': 1381647183, 'version': '0'}, {}), ('fprt', 'M01OTnZ6LzRGL1dqQk9zMFkvL3Uvam10Mm1zPXwxMzUwMTExMTgzMjU5fGlwdD1lbWFpbC1wYXNzd29yZA%3D%3D', {'path': '/', 'domain': '.mlb.com', 'expires': 1381647183, 'version': '0'}, {}), ('ipid', '6092613', {'path': '/', 'domain': '.mlb.com', 'expires': 1381647183, 'version': '0'}, {})]
  26. {'ipid': '6092613', 'SESSION_1': '', 'appacc': 'mlb', 'fprt': 'M01OTnZ6LzRGL1dqQk9zMFkvL3Uvam10Mm1zPXwxMzUwMTExMTgzMjU5fGlwdD1lbWFpbC1wYXNzd29yZA%3D%3D', 'mlbunifieddata': '6092613%7C6b5128ec88ccf2b7041163cc2a851ded%7C1350111183262%7Cttemp'}
  27. ipid = 6092613 fingerprint = M01OTnZ6LzRGL1dqQk9zMFkvL3Uvam10Mm1zPXwxMzUwMTExMTgzMjU5fGlwdD1lbWFpbC1wYXNzd29yZA%3D%3D
  28. [('SESSION_1', 'mEntNum%3D%3D%3D3%7EmCatCode%3D%3D%3Dmlb_media_mlb_lg%7EmBitRate%3D%3D%3D350%7EmType%3D%3D%3Dvideo%7EmUrl%3D%3D%3Dhttp%3A%2F%2Fwww.mlb.com%2Fshared%2Fmedia%2FmediaMetaFile.jsp%3Ff%3Dwindows%26o%3D1800%26d%3D3750%26arl%3Dmms%253A%252F%252Fa102.v10869f.c10869.g.vm.akamaistream.net%252F7%252F102%252F10869%252Fv0004%252Fmlb.download.akamai.com%252F10869%252F2006%252Fmlb_%2521%252Ftv%252Farchive08%252F082806_chnpit_tv_351.wmv%253Fauth%253Dcb.aBa1cbbLamddd_a_a9abdScCcGbtbubF-bqEq_n-O-bwU-2egwgLcw-m9m5jej6jfmbljl8khk2k8jcjhl4kdjem8m6jhjaj4mglm%2526aifp%253Dv0004%2526WMCache%253D0%2526ct5%253D13-Oct-12%2526ct6%253D209.170.94.79%2526ct7%253D0%253Anull%2526ct8%253D1%2526ct1%253Dmlb%2526ct3%253D6092613%2526ct4%253Dmlb%7EmEnt2%3D%3D%3DMLBVIDEO%7EmEnt1%3D%3D%3DMLBALL%7EmEncoding%3D%3D%3Dwindows%7EmEnt0%3D%3D%3DMLBVIDEOPOSTSEA', {'path': '/', 'domain': '.mlb.com', 'version': '0'}, {}), ('ftmu', 'VQzNqRaiIF9mNtVummA063YqL4E%3D', {'path': '/', 'domain': '.mlb.com', 'expires': 1350370384, 'version': '0'}, {})]
  29. ipid = 6092613 fingerprint = M01OTnZ6LzRGL1dqQk9zMFkvL3Uvam10Mm1zPXwxMzUwMTExMTgzMjU5fGlwdD1lbWFpbC1wYXNzd29yZA%3D%3D
  30. session-key = VQzNqRaiIF9mNtVummA063YqL4E%3D
  31. no session-key found in reply
  32. Using content_id from arguments: 25360699
  33. Event-id = 14-345598-2012-10-09 and content-id = 25360699
  34. <?xml version="1.0" encoding="UTF-8"?><user-verified-media-response xmlns="http://services.bamnetworks.com/media/types/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><user-verified-event><event-id>14-345598-2012-10-09</event-id><user-verified-content><content-id>25360699</content-id><type>video</type><user-verified-media-item><media-item><type>video</type><state>MEDIA_ARCHIVE</state><cat-code>mlb_media_mlb_lg</cat-code><login-required>true</login-required><auth-required>true</auth-required><blackout-keywords/><playback-scenario>FMS_CLOUD</playback-scenario><has-synched-data>false</has-synched-data><preview-url/><innings-index>http://mlb.mlb.com/mlb/mmls2012/345598.xml</innings-index><cdn>AKAMAI_FLASH_STREAM_ONDEMAND</cdn><cdns><cdn-name>PRIMARY_AKAMAI</cdn-name></cdns><sequence>1</sequence><duration xsi:nil="true"/></media-item><url>http://mediadownloads.mlb.com/mlbam/2012/10/09/MLB_GAME_VIDEO_DETOAK_NATIONAL_20121009.smil?auth=da.a9cAbVdCcMandCdja5cbb2dCakcfbLas-bqEq_q-O-wwqpBmJsJnoGIq-jdl3kfmdjelckijej9l8kkmklbj9mfmgjalbkbmbj8lf&amp;aifp=v0001&amp;slist=secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national&amp;ct5=13-Oct-12&amp;ct6=87.122.52.35&amp;ct7=25360699:FMS_CLOUD&amp;ct8=1&amp;ct1=mlb&amp;ct3=6092613&amp;ct4=mlb&amp;ct9=7d42a53a2d934673a5043e80b93b0957</url><auth-status><successStatus/></auth-status><blackout-status><successStatus/></blackout-status></user-verified-media-item><domain-specific-attributes><domain-attribute name="combined_media_state">MEDIA_ARCHIVE</domain-attribute><domain-attribute name="inning_index_location_plist">http://mlb.mlb.com/mlb/mmls2012/345598.plist</domain-attribute><domain-attribute name="coverage_type">out-of-market</domain-attribute><domain-attribute name="call_letters">TBS-HD</domain-attribute><domain-attribute name="default_dam_view_key">MLBTV_MP_4</domain-attribute><domain-attribute name="source_aspect_ratio">HD</domain-attribute><domain-attribute name="subject">MLBTV_JAPAN</domain-attribute><domain-attribute name="coverage_association">0</domain-attribute><domain-attribute name="game_events_location_plist">http://gdx.mlb.com/components/game/mlb/year_2012/month_10/day_09/gid_2012_10_09_detmlb_oakmlb_1/game_events.plist</domain-attribute><domain-attribute name="in_epg">mlb_mp4_epg</domain-attribute><domain-attribute name="inning_index_location_xml">http://mlb.mlb.com/mlb/mmls2012/345598.xml</domain-attribute><domain-attribute name="home_team_id">133</domain-attribute><domain-attribute name="subject">LIVE_EVENT_COVERAGE</domain-attribute><domain-attribute name="event_date">2012-10-09T21:00:00-0400</domain-attribute><domain-attribute name="away_team_id">116</domain-attribute><domain-attribute name="run_scoring_plays_location_plist">http://gdx.mlb.com/components/game/mlb/year_2012/month_10/day_09/gid_2012_10_09_detmlb_oakmlb_1/runScoringPlays.plist</domain-attribute><domain-attribute name="milestones_xml">http://mlb.mlb.com/mlb/mmls2012/14-345598-2012-10-09.xml</domain-attribute><domain-attribute name="calendar_event_id">14-345598-2012-10-09</domain-attribute><domain-attribute name="milestones_plist">http://mlb.mlb.com/mlb/mmls2012/14-345598-2012-10-09.plist</domain-attribute><domain-attribute name="game_pk">345598</domain-attribute><domain-attribute name="game_id">2012/10/09/detmlb-oakmlb-1</domain-attribute><domain-attribute name="subject">MLBTV</domain-attribute></domain-specific-attributes><view-keys><view-key><key>MLBTV_MP_4</key></view-key></view-keys><features/></user-verified-content><domain-specific-attributes/></user-verified-event><entitlements><entitlement>MLBALL</entitlement></entitlements><determined-location><postal-code>20001</postal-code><country-code>de</country-code></determined-location><session-key>VQzNqRaiIF9mNtVummA063YqL4E=</session-key><status-code>1</status-code></user-verified-media-response>
  35. DEBUG: FMS_CLOUD URL:
  36.  
  37. http://mediadownloads.mlb.com/mlbam/2012/10/09/MLB_GAME_VIDEO_DETOAK_NATIONAL_20121009.smil?auth=da.a9cAbVdCcMandCdja5cbb2dCakcfbLas-bqEq_q-O-wwqpBmJsJnoGIq-jdl3kfmdjelckijej9l8kkmklbj9mfmgjalbkbmbj8lf&aifp=v0001&slist=secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national&ct5=13-Oct-12&ct6=87.122.52.35&ct7=25360699:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=7d42a53a2d934673a5043e80b93b0957
  38.  
  39.  
  40.  
  41. rtmp base = rtmp://cp65670.live.edgefcs.net/ondemand
  42. vid src = mp4:secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national_1200k/mlbtv_detoak_national_1200k.mp4
  43. auth chunk = da.a9cAbVdCcMandCdja5cbb2dCakcfbLas-bqEq_q-O-wwqpBmJsJnoGIq-jdl3kfmdjelckijej9l8kkmklbj9mfmgjalbkbmbj8lf&aifp=v0001&slist=secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national&ct5=13-Oct-12&ct6=87.122.52.35&ct7=25360699:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=7d42a53a2d934673a5043e80b93b0957
  44. from smil, game_url =
  45. rtmp://cp65670.live.edgefcs.net/ondemandmp4:secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national_1200k/mlbtv_detoak_national_1200k.mp4?auth=da.a9cAbVdCcMandCdja5cbb2dCakcfbLas-bqEq_q-O-wwqpBmJsJnoGIq-jdl3kfmdjelckijej9l8kkmklbj9mfmgjalbkbmbj8lf&aifp=v0001&slist=secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national&ct5=13-Oct-12&ct6=87.122.52.35&ct7=25360699:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=7d42a53a2d934673a5043e80b93b0957
  46. play_path = u'mp4:secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national_1200k/mlbtv_detoak_national_1200k.mp4?auth=da.a9cAbVdCcMandCdja5cbb2dCakcfbLas-bqEq_q-O-wwqpBmJsJnoGIq-jdl3kfmdjelckijej9l8kkmklbj9mfmgjalbkbmbj8lf&aifp=v0001&slist=secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national&ct5=13-Oct-12&ct6=87.122.52.35&ct7=25360699:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=7d42a53a2d934673a5043e80b93b0957'
  47. url = rtmp://cp65670.live.edgefcs.net/ondemandmp4:secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national_1200k/mlbtv_detoak_national_1200k.mp4?auth=da.a9cAbVdCcMandCdja5cbb2dCakcfbLas-bqEq_q-O-wwqpBmJsJnoGIq-jdl3kfmdjelckijej9l8kkmklbj9mfmgjalbkbmbj8lf&aifp=v0001&slist=secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national&ct5=13-Oct-12&ct6=87.122.52.35&ct7=25360699:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=7d42a53a2d934673a5043e80b93b0957
  48. play_path = mp4:secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national_1200k/mlbtv_detoak_national_1200k.mp4?auth=da.a9cAbVdCcMandCdja5cbb2dCakcfbLas-bqEq_q-O-wwqpBmJsJnoGIq-jdl3kfmdjelckijej9l8kkmklbj9mfmgjalbkbmbj8lf&aifp=v0001&slist=secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national&ct5=13-Oct-12&ct6=87.122.52.35&ct7=25360699:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=7d42a53a2d934673a5043e80b93b0957
  49. <?xml version="1.0" encoding="utf-8" ?>
  50. <fcs><ip>92.122.207.109</ip></fcs>
  51.  
  52. play_path = mp4:secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national_1200k/mlbtv_detoak_national_1200k.mp4?auth=da.a9cAbVdCcMandCdja5cbb2dCakcfbLas-bqEq_q-O-wwqpBmJsJnoGIq-jdl3kfmdjelckijej9l8kkmklbj9mfmgjalbkbmbj8lf&aifp=v0001&slist=secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national&ct5=13-Oct-12&ct6=87.122.52.35&ct7=25360699:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=7d42a53a2d934673a5043e80b93b0957
  53. rtmpdump -f "LNX 10,0,22,87" -r "rtmp://cp65670.live.edgefcs.net/ondemandmp4:secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national_1200k/mlbtv_detoak_national_1200k.mp4?auth=da.a9cAbVdCcMandCdja5cbb2dCakcfbLas-bqEq_q-O-wwqpBmJsJnoGIq-jdl3kfmdjelckijej9l8kkmklbj9mfmgjalbkbmbj8lf&aifp=v0001&slist=secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national&ct5=13-Oct-12&ct6=87.122.52.35&ct7=25360699:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=7d42a53a2d934673a5043e80b93b0957" -y "mp4:secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national_1200k/mlbtv_detoak_national_1200k.mp4?auth=da.a9cAbVdCcMandCdja5cbb2dCakcfbLas-bqEq_q-O-wwqpBmJsJnoGIq-jdl3kfmdjelckijej9l8kkmklbj9mfmgjalbkbmbj8lf&aifp=v0001&slist=secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national&ct5=13-Oct-12&ct6=87.122.52.35&ct7=25360699:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=7d42a53a2d934673a5043e80b93b0957" -a "ondemand?_fcs_vhost=cp65670.edgefcs.net&akmfv=1.6auth=da.a9cAbVdCcMandCdja5cbb2dCakcfbLas-bqEq_q-O-wwqpBmJsJnoGIq-jdl3kfmdjelckijej9l8kkmklbj9mfmgjalbkbmbj8lf&aifp=v0001&slist=secure/mlbam/2012/10/09/14-345598-2012-10-09/web-encodes/mlbtv_detoak_national&ct5=13-Oct-12&ct6=87.122.52.35&ct7=25360699:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=7d42a53a2d934673a5043e80b93b0957" -o 14-345598-2012-10-09.mp4
  54.  
  55. RTMPDump v2.3
  56. (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
  57. Connecting ...
  58. INFO: Connected...
  59. Starting download at: 0.000 kB
  60. INFO: Metadata:
  61. INFO:   duration              9919.92
  62. INFO:   moovPosition          40.00
  63. INFO:   width                 640.00
  64. INFO:   height                360.00
  65. INFO:   videocodecid          avc1
  66. INFO:   audiocodecid          mp4a
  67. INFO:   avcprofile            77.00
  68. INFO:   avclevel              31.00
  69. INFO:   aacaot                2.00
  70. INFO:   videoframerate        29.97
  71. INFO:   audiosamplerate       48000.00
  72. INFO:   audiochannels         1.00
  73. INFO: tags:
  74. INFO:   ┬ętoo                 Lavf52.84.0
  75. INFO: trackinfo:
  76. INFO:   length                297597300.00
  77. INFO:   timescale             30000.00
  78. INFO:   language              und
  79. INFO: sampledescription:
  80. INFO:   sampletype            avc1
  81. INFO:   length                476155904.00
  82. INFO:   timescale             48000.00
  83. INFO:   language              eng
  84. INFO: sampledescription:
  85. INFO:   sampletype            mp4a
  86. INFO:   length                892791900.00
  87. INFO:   timescale             90000.00
  88. INFO:   language              und
  89. INFO: sampledescription:
  90. INFO:   length                476158976.00
  91. INFO:   timescale             48000.00
  92. INFO:   language              und
  93. INFO: sampledescription:
  94. 1347215.615 kB / 9919.89 sec (99.9%)3~
  95. Download complete
  96. lars@X64V:~/mlbviewer2012/test$