giavoni / get-flash-videos

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

tou.tv broken on the 18/06/2012 #396

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.get-flash-video 
http://www.tou.tv/inspecteur-barnaby-les-fantomes-de-march-magna
2.
3.

What is the expected output? Get the video
What do you see instead?
Using method 'tou' for 
http://www.tou.tv/inspecteur-barnaby-les-fantomes-de-march-magna
Downloading http://www.tou.tv/inspecteur-barnaby-les-fantomes-de-march-magna
Error: Couldn't find TOU.TV video ID at 
/home/gg/get-flash-videos/lib/FlashVideo/Site/Tou.pm line 28.

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: ./get-flash-videos/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.

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

Please provide any additional information below.
Tou.tv has been updated today, the website completely re written

Original issue reported on code.google.com by gerard.l...@gmail.com on 18 Jun 2012 at 6:01

GoogleCodeExporter commented 9 years ago
The Video chnage from pid to idMedia.

Change from:
 if ($browser->content =~ /,"pid":"(\w+)"/i) {
to:
 if ($browser->content =~ /"idMedia":"(\w+)"/i) {

Will fix the issue.

Original comment by geoffroy...@gmail.com on 20 Jun 2012 at 12:36

GoogleCodeExporter commented 9 years ago
Fixed thanks to the pull request from gdoucet.

Original comment by zakflash...@gmail.com on 20 Jun 2012 at 7:56