Browse Source

Make flashget work with Freshplayer Plugin

master
Noah Petherbridge 7 years ago
parent
commit
0ccdce5241
  1. 2
      home/bin/flashget

2
home/bin/flashget

@ -39,7 +39,7 @@ foreach my $pid (sort { $a <=> $b } (grep(/^\d+$/, readdir($proc)))) {
# Look for a Flash video link.
$link =~ s/\s*\(deleted\)//g; # Remove the " (deleted)" extensions.
if ($link =~ m{^/tmp/(Flash.*?)$} || $link =~ m{Shockwave Flash/\.(.+?)$}) {
if ($link =~ m{^/tmp/((?:Flash|FreshTemp).*?)$} || $link =~ m{Shockwave Flash/\.(.+?)$}) {
# Copy it.
my $dest = "$home/$1.flv";
print "Recover from PID $pid: $id -> $dest\n";

Loading…
Cancel
Save