pantiweara / get-flash-videos

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

arte.tv changed website and not working any more #493

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. use get_flash_videos from github
2. get_flash_videos --debug 
http://www.arte.tv/guide/de/046579-009/real-humans-echte-menschen-9-10

What is the expected output? What do you see instead?

1 plugin installed:
- Hulu.pm
Trying to open plugin ~/.get_flash_videos/plugins/Www.pm
Trying to open plugin ~/.get_flash_videos/plugins/Arte.pm
Using method 'arte' for 
http://www.arte.tv/guide/de/046579-009/real-humans-echte-menschen-9-10
Downloading 
http://www.arte.tv/guide/de/046579-009/real-humans-echte-menschen-9-10
-> GET http://www.arte.tv/guide/de/046579-009/real-humans-echte-menschen-9-10
<- 200 text/html; charset=utf-8 (48142)
Arte::find_video called, embed_url = 
"http://www.arte.tv/guide/de/046579-009/real-humans-echte-menschen-9-10"

Error: Unable to find language in original URL 
"http://www.arte.tv/guide/de/046579-009/real-humans-echte-menschen-9-10"

What version of the product are you using? On what operating system?

Ubuntu 12.10 x86_64 with fresh pull from GitHub

Please provide any additional information below.

The relevant HTML is now this:

<div class="video-block has-play" data-controller="details" data-action="video" 
data-startup 
data-track-array-click="046579-009_real-humans-echte-menschen-9-10,video_focus,,
,046579-009_real-humans-echte-menschen-9-10,video_focus,,A">

  <div class="video-container"  arte_vp_config="arte_tvguide" arte_vp_lang="de_DE" arte_vp_url="http://org-www.arte.tv/papi/tvguide/videos/stream/player/D/046579-009_PLUS7-D/ALL/ALL.json">
      <div class="overlay">
          <div class="play pull-left hidden-phone"></div>
          <h3><a class="ellipsis floated" href="http://www.arte.tv/guide/de/046579-009/real-humans-echte-menschen-9-10">Real Humans - Echte Menschen (9/10)</a></h3>
          <p class="time-row">Donnerstag, 02. Mai um 20:15 Uhr, 58 Min. </p>
          <p class="badge-holder hidden-phone visible-tablet-portrait"><span class="badge-arte7">ARTE+7</span> 58 Min.</p>
      </div>
  </div>

    <a class="video-placeholder" href="#">
      <img src="http://www.arte.tv/papi/tvguide/images/982398/W940H530/046579-009_echtemenschen9_01.jpg" width="100%" alt="Real Humans - Echte Menschen (9/10)">
    </a>

</div>

But in the browser this turns into an iframe like that:

<div class="video-container" arte_vp_config="arte_tvguide" arte_vp_lang="de_DE" 
arte_vp_url="http://org-www.arte.tv/papi/tvguide/videos/stream/player/D/046579-0
09_PLUS7-D/ALL/ALL.json">
      <div class="overlay">
          <div class="play pull-left hidden-phone"></div>
          <h3><a class="ellipsis floated" href="http://www.arte.tv/guide/de/046579-009/real-humans-echte-menschen-9-10">Real Humans - Echte Menschen (9/10)</a></h3>
          <p class="time-row">Donnerstag, 02. Mai um 20:15 Uhr, 58 Min. </p>
          <p class="badge-holder hidden-phone visible-tablet-portrait"><span class="badge-arte7">ARTE+7</span> 58 Min.</p>
      </div>
  <div id="arte_vp_jwplayer_iframe" class="arte_vp_jwplayer_iframe" style="position: absolute; z-index: 2000; top: 0px; left: 0px; overflow: hidden; background-color: rgb(0, 0, 0); width: 100%; height: 100%;"><iframe style="transition-duration:0;transition-property:no;margin:0 auto;position:relative;display:block;background-color:#000000;" frameborder="0" scrolling="no" width="100%" height="100%" src="http://www.arte.tv/playerv2//index.php?json_url=http://org-www.arte.tv/papi/tvguide/videos/stream/player/D/046579-009_PLUS7-D/ALL/ALL.json&amp;lang=de_DE&amp;config=arte_tvguide&amp;rendering_place=http://www.arte.tv/guide/de/046579-009/real-humans-echte-menschen-9-10"></iframe></div></div>

Actually the referenced JSON file contains all the details (and also contains a 
much higher quality version that the previous downloads):

{"quality":"HD - 
720p","width":1280,"height":720,"mediaType":"rtmp","mimeType":"application/x-fcs
","bitrate":2200,"streamer":"rtmp://artestras.fcod.llnwd.net/a3903/o35/","url":"
geo/videothek/default/tvguide/046579-009-A_SQ_1_VA-STA_00126567_MP4-2200_AMM-Tvg
uide.mp4?e=1367527111&h=34e9a8deaed6a55040092637a00226ff"}

My problem is that I don't understand enough about flash streaming to convert 
that into a working rtmpdump command. Maybe somebody with more experience can 
help. If you give me a hint I'll be happy to code the Perl stuff myself.

Original issue reported on code.google.com by schl...@schapiro.org on 2 May 2013 at 8:10

GoogleCodeExporter commented 8 years ago
This issue was marked as deleted, it has been undeleted.

Original comment by njtaylor...@gmail.com on 4 May 2013 at 7:40

GoogleCodeExporter commented 8 years ago
I get the exact same issue with 
"http://liveweb.arte.tv/de/video/Cocorosie_in_den_Bouffes_du_Nord/"

Original comment by alan.wal...@gmail.com on 29 May 2013 at 9:00