flowhella / get-flash-videos

Automatically exported from code.google.com/p/get-flash-videos
0 stars 0 forks source link

search results arbitrarily limited to 20 #315

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install hulu plugin
2. get_flash_videos hulu "american gladiators"
3. notice there are only 20 results

What is the expected output? What do you see instead?

I expected to see 26 episodes since that's how many I see at 
http://www.hulu.com/original-american-gladiators.

What version of the product are you using? On what operating system?

I'm using version 1.24-2 of the software on Ubuntu 11.10.

Poking at the source code I found the following:

if (my @results = FlashVideo::Search->search($search, 10,   20))

changing the 20 to a bigger number showed all the episodes.

Original issue reported on code.google.com by murra...@gmail.com on 4 Oct 2011 at 11:38

GoogleCodeExporter commented 8 years ago
Should be fixed in commit a441286a9b4fe375b0baae15f1c194a22bb78cda[1]. It now 
defaults to unlimited, but you can set limits with the --max option.

[1]: 
http://github.com/monsieurvideo/get-flash-videos/commit/a441286a9b4fe375b0baae15
f1c194a22bb78cda

Original comment by mjbauer95 on 10 Oct 2011 at 1:15