Skip to content

Commit a773b5f

Browse files
committed
Set maxResults to maximum allowed number
maximum allowed number for maxResults is 50. Throws an error on 100
1 parent d9118c2 commit a773b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $results = $youtube->search('Android');
3737
$videoList = $youtube->searchVideos('Android');
3838

3939
// Search only Videos in a given channel, Return an array of PHP objects
40-
$videoList = $youtube->searchChannelVideos('keyword', 'UCk1SpWNzOs4MYmr0uICEntg', 100);
40+
$videoList = $youtube->searchChannelVideos('keyword', 'UCk1SpWNzOs4MYmr0uICEntg', 50);
4141

4242
$results = $youtube->searchAdvanced(array( /* params */ ));
4343

0 commit comments

Comments
 (0)