diff options
author | Nigel Taylor <njtaylor0101@gmail.com> | 2013-03-07 07:28:03 -0800 |
---|---|---|
committer | Nigel Taylor <njtaylor0101@gmail.com> | 2013-03-07 07:28:03 -0800 |
commit | cf6aa9385ae033a3ffc2abb5eed55e87e7395615 (patch) | |
tree | cd1c16702748faab4f62157ee36d1af976e6492b | |
parent | 7c20f3e3757e3651d8fbb3bc1868763f36faa239 (diff) | |
parent | 63e0a2eba9adf5fad11b0d2bed76b6ffd870dce9 (diff) | |
download | get-flash-videos-cf6aa9385ae033a3ffc2abb5eed55e87e7395615.tar.gz |
Merge pull request #99 from MostAwesomeDude/master
Fix bogus type check to look for the correct type.
-rwxr-xr-x | get_flash_videos | 2 |
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}; } |