monsieurvideo / get-flash-videos

Download or play videos from various Flash-based video hosting sites, without having to use the Flash player.
Apache License 2.0
241 stars 68 forks source link

Channel 5 download fails with errors #172

Open broadstairs opened 8 years ago

broadstairs commented 8 years ago

I tried to download http://www.channel5.com/shows/loch-lomond-a-year-in-the-wild/episodes/episode-2-742 from Channel 5 today but it fails with

Error: Attribute (data) does not pass the type constraint because: Validation failed for 'Str' with value undef at constructor Data::AMF::IO::new (defined at /usr/share/perl5/vendor_perl/Data/AMF/IO.pm line 182) line 31. Data::AMF::IO::new("Data::AMF::IO", "data", undef) called at /usr/share/perl5/vendor_perl/Data/AMF/Parser/AMF0.pm line 33 Data::AMF::Parser::AMF0::parse("Data::AMF::Parser::AMF0", undef) called at /usr/share/perl5/vendor_perl/Data/AMF/Packet.pm line 73 Data::AMF::Packet::deserialize("Data::AMF::Packet", "\x{0}\x{3}\x{0}\x{0}\x{0}\x{1}\x{0}\x{b}/1/onResult\x{0}\x{0}\x{ff}\x{ff}\x{ff}\x{ff}\x{5}") called at /home/stuart/get_flash_videos line 10481 FlashVideo::Site::Channel5::amfgateway("FlashVideo::Site::Channel5", FlashVideo::Mechanize=HASH(0x3c80f28), 1707001743001, HASH(0x3c96f80), FlashVideo::VideoPreferences=HASH(0x3c8b0d8)) called at /home/stuart/get_flash_videos line 10410 FlashVideo::Site::Channel5::find_video("FlashVideo::Site::Channel5", FlashVideo::Mechanize=HASH(0x3c80f28), "http://www.channel5.com/shows/loch-lomond-a-year-in-the-wild/"..., FlashVideo::VideoPreferences=HASH(0x3c8b0d8)) called at /home/stuart/get_flash_videos line 27451 eval {...} called at /home/stuart/get_flash_videos line 27450 App::get_flash_videos::download("http://www.channel5.com/shows/loch-lomond-a-year-in-the-wild/"..., FlashVideo::VideoPreferences=HASH(0x3c8b0d8), 1) called at /home/stuart/get_flash_videos line 27404

Has anyone got a fix for this please?

njtaylor commented 8 years ago

On 11/24/15 12:28, broadstairs wrote:

I tried to download http://www.channel5.com/shows/loch-lomond-a-year-in-the-wild/episodes/episode-2-742 from Channel 5 today but it fails with

Error: Attribute (data) does not pass the type constraint because: Validation failed for 'Str' with value undef at constructor Data::AMF::IO::new (defined at /usr/share/perl5/vendor_perl/Data/AMF/IO.pm line 182) line 31. Data::AMF::IO::new("Data::AMF::IO", "data", undef) called at /usr/share/perl5/vendor_perl/Data/AMF/Parser/AMF0.pm line 33 Data::AMF::Parser::AMF0::parse("Data::AMF::Parser::AMF0", undef) called at /usr/share/perl5/vendor_perl/Data/AMF/Packet.pm line 73 Data::AMF::Packet::deserialize("Data::AMF::Packet", "\x{0}\x{3}\x{0}\x{0}\x{0}\x{1}\x{0}\x{b}/1/onResult\x{0}\x{0}\x{ff}\x{ff}\x{ff}\x{ff}\x{5}") called at /home/stuart/get_flash_videos line 10481 FlashVideo::Site::Channel5::amfgateway("FlashVideo::Site::Channel5", FlashVideo::Mechanize=HASH(0x3c80f28), 1707001743001, HASH(0x3c96f80), FlashVideo::VideoPreferences=HASH(0x3c8b0d8)) called at /home/stuart/get_flash_videos line 10410 FlashVideo::Site::Channel5::find_video("FlashVideo::Site::Channel5", FlashVideo::Mechanize=HASH(0x3c80f28), "http://www.channel5.com/shows/loch-lomond-a-year-in-the-wild/"..., FlashVideo::VideoPreferences=HASH(0x3c8b0d8)) called at /home/stuart/get_flash_videos line 27451 eval {...} called at /home/stuart/get_flash_videos line 27450 App::get_flash_videos::download("http://www.channel5.com/shows/loch-lomond-a-year-in-the-wild/"..., FlashVideo::VideoPreferences=HASH(0x3c8b0d8), 1) called at /home/stuart/get_flash_videos line 27404

Has anyone got a fix for this please?

— Reply to this email directly or view it on GitHub https://github.com/monsieurvideo/get-flash-videos/issues/172.

This is an old problem, both Channel 5 and Channel 4, some years back they turned on encryption. Only the later flash versions support this. There are currently no methods to decrypt the content available. Neither of these sites has been updated, to keep track of changes to the sites.

broadstairs commented 8 years ago

Nigel

Thanks for the update. I seem to have issues viewing the programme on Linux as well so I guess I need to take this up with Ch 5 although I doubt it will do any good. They must have a non-flash way of showing them as they have an Android app.

Stuart

On 25/11/15 00:09, Nigel Taylor wrote:

On 11/24/15 12:28, broadstairs wrote:

I tried to download

http://www.channel5.com/shows/loch-lomond-a-year-in-the-wild/episodes/episode-2-742 from Channel 5 today but it fails with

Error: Attribute (data) does not pass the type constraint because: Validation failed for 'Str' with value undef at constructor Data::AMF::IO::new (defined at /usr/share/perl5/vendor_perl/Data/AMF/IO.pm line 182) line 31. Data::AMF::IO::new("Data::AMF::IO", "data", undef) called at /usr/share/perl5/vendor_perl/Data/AMF/Parser/AMF0.pm line 33 Data::AMF::Parser::AMF0::parse("Data::AMF::Parser::AMF0", undef) called at /usr/share/perl5/vendor_perl/Data/AMF/Packet.pm line 73 Data::AMF::Packet::deserialize("Data::AMF::Packet",

"\x{0}\x{3}\x{0}\x{0}\x{0}\x{1}\x{0}\x{b}/1/onResult\x{0}\x{0}\x{ff}\x{ff}\x{ff}\x{ff}\x{5}") called at /home/stuart/get_flash_videos line 10481 FlashVideo::Site::Channel5::amfgateway("FlashVideo::Site::Channel5", FlashVideo::Mechanize=HASH(0x3c80f28), 1707001743001, HASH(0x3c96f80), FlashVideo::VideoPreferences=HASH(0x3c8b0d8)) called at /home/stuart/get_flash_videos line 10410 FlashVideo::Site::Channel5::find_video("FlashVideo::Site::Channel5", FlashVideo::Mechanize=HASH(0x3c80f28), "http://www.channel5.com/shows/loch-lomond-a-year-in-the-wild/"..., FlashVideo::VideoPreferences=HASH(0x3c8b0d8)) called at /home/stuart/get_flash_videos line 27451 eval {...} called at /home/stuart/get_flash_videos line 27450

App::get_flash_videos::download("http://www.channel5.com/shows/loch-lomond-a-year-in-the-wild/"..., FlashVideo::VideoPreferences=HASH(0x3c8b0d8), 1) called at /home/stuart/get_flash_videos line 27404

Has anyone got a fix for this please?

— Reply to this email directly or view it on GitHub https://github.com/monsieurvideo/get-flash-videos/issues/172.

This is an old problem, both Channel 5 and Channel 4, some years back they turned on encryption. Only the later flash versions support this. There are currently no methods to decrypt the content available. Neither of these sites has been updated, to keep track of changes to the sites.

— Reply to this email directly or view it on GitHub https://github.com/monsieurvideo/get-flash-videos/issues/172#issuecomment-159444622.Web Bug from https://github.com/notifications/beacon/ABe-R9qfEUIv4yVUxIITaytmgX-HvnTbks5pJPOigaJpZM4GoU7b.gif

Website: http://www.stella-maris.org.uk or: http://www.broadstairs.org