Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obtaining all results for a term #7

Open
ThomasBarnwell opened this issue May 1, 2013 · 3 comments
Open

Obtaining all results for a term #7

ThomasBarnwell opened this issue May 1, 2013 · 3 comments

Comments

@ThomasBarnwell
Copy link

Hi, is there a way to obtain all results for a term? The results seem limited.

Eg: YoutubeSearch.search('cat', 'time' => 'all_time', 'orderby' => 'viewCount', :page => 26, :per_page => 4)

This returns about 100 results (26 pages) divided into pages. Is there a way to get all the results available? Thanks.

-Thomas

@grosser
Copy link
Owner

grosser commented May 1, 2013

use 9999999 ? :D

@ThomasBarnwell
Copy link
Author

Unfortunately it will only return around a hundred no matter what configuration I use.

Eg:
YoutubeSearch.search('cat', 'time' => 'all_time', 'orderby' => 'viewCount', :page => 6, :per_page => 25)

Calling page 7 returns nothing unfortunately.

@grosser
Copy link
Owner

grosser commented May 2, 2013

No real idea, if you can come up with a solution, please make it a pull
request so nobody else has to fight this nastyness :(

On Wed, May 1, 2013 at 5:19 PM, ThomasBarnwell [email protected]:

Unfortunately it will only return around a hundred no matter what
configuration I use.

Eg:
YoutubeSearch.search('cat', 'time' => 'all_time', 'orderby' =>
'viewCount', :page => 6, :per_page => 25)

Calling page 7 returns nothing unfortunately.


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-17314297
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants