aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNigel Taylor <njtaylor0101@gmail.com>2013-03-07 07:28:03 -0800
committerNigel Taylor <njtaylor0101@gmail.com>2013-03-07 07:28:03 -0800
commitcf6aa9385ae033a3ffc2abb5eed55e87e7395615 (patch)
treecd1c16702748faab4f62157ee36d1af976e6492b
parent7c20f3e3757e3651d8fbb3bc1868763f36faa239 (diff)
parent63e0a2eba9adf5fad11b0d2bed76b6ffd870dce9 (diff)
downloadget-flash-videos-cf6aa9385ae033a3ffc2abb5eed55e87e7395615.tar.gz
Merge pull request #99 from MostAwesomeDude/master
Fix bogus type check to look for the correct type.
-rwxr-xr-xget_flash_videos2
1 files changed, 1 insertions, 1 deletions
diff --git a/get_flash_videos b/get_flash_videos
index d98e56b..af05d47 100755
--- a/get_flash_videos
+++ b/get_flash_videos
@@ -341,7 +341,7 @@ sub download {
}
my $suggested_filename = $suggested_fnames[-1];
- if (ref($actual_url) eq 'ARRAY') {
+ if (ref($actual_url) eq 'HASH') {
$suggested_filename ||= $actual_url->{flv};
}