Closed GoogleCodeExporter closed 9 years ago
Attached is a replacement Ima.pm
The change is the extra url parameter.
sub can_handle {
my($self, $browser, $url) = @_;
my $host = URI->new($url)->host;
return $host =~ /ima\.umn\.edu/i;
}
You should be able to download the file, and place into
~/.get_flash_videos/plugins
Do remember to remove should you update get_flash_videos.
$ get_flash_videos http://www.ima.umn.edu/videos/?id=1627
Using method 'ima' for http://www.ima.umn.edu/videos/?id=1627
Downloading http://www.ima.umn.edu/videos/?id=1627
RTMPDump 2.4pl2
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
rtmpdump: ERROR: rtmp server sent error
Starting download at: 0.000 kB
INFO: Metadata:
INFO: audiochannels 2.00
INFO: audiocodecid 2.00
INFO: audiodatarate 128.00
INFO: audiodevice Osprey-500 Audio
INFO: audioinputvolume 80.00
INFO: audiosamplerate 44100.00
INFO: author
INFO: copyright
INFO: creationdate Fri May 20 09:36:27 2011
INFO: description
INFO: duration 1480.61
INFO: fmeversion 2.5.0.2086
INFO: framerate 30.00
INFO: height 480.00
INFO: keywords
INFO: lastkeyframetimestamp 1478874.00
INFO: lasttimestamp 1480610.00
INFO: presetname Custom
INFO: rating
INFO: title
INFO: videocodecid 4.00
INFO: videodatarate 2500.00
INFO: videodevice o500vc.dll - Osprey-500 Card 1
INFO: videokeyframe_frequency5.00
INFO: width 640.00
The_von_Karman_theory_for_incompressible_elastic_shells.flv: 0% (1307.76 /
217960.50 KiB)^C
Tried on OpenBSD amd64 current, using
get_flash_videos-1.24.20121104, rtmpdump-2.4pl2p0.
The change will be put into my git repository here if ok.
https://github.com/njtaylor/get-flash-videos
Original comment by njtaylor...@gmail.com
on 6 Nov 2012 at 12:39
Attachments:
Files 1.24-git-20121106 containing the fix have been created and uploaded to
here
https://github.com/njtaylor/get-flash-videos/downloads
combined-get-flash-videos includes OpenBSD fixes for YouTube meta name
containing : in HTTP-Message (HTTP::Headers).
OpenBSD package get_flash_videos-1.24-20121106 created and tested on OpenBSD
current amd64.
combined-get-flash-videos generated on OpenBSD also run on Debian Squeeze,
compile Ok, and download using Ima.pm with one of the examples given.
This issue can be closed once Pull request can be submitted.
Original comment by njtaylor...@gmail.com
on 6 Nov 2012 at 11:18
Thanks to njtaylor for the fix.
Original comment by zakflash...@gmail.com
on 8 Nov 2012 at 7:32
Original issue reported on code.google.com by
tsg.mo...@gmail.com
on 6 Nov 2012 at 1:03