Parcourir la source

Allow pages with 0 total results; we trigger looping based on the page token these days

Zachary Kotlarek il y a 10 ans
Parent
commit
7a5e02593b
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      yt/subscribe.pl

+ 0 - 1
yt/subscribe.pl

@@ -1174,7 +1174,6 @@ sub findVideos($) {
 		if (   exists($data->{'pageInfo'})
 			&& ref($data->{'pageInfo'}) eq 'HASH'
 			&& exists($data->{'pageInfo'}->{'totalResults'})
-			&& $data->{'pageInfo'}->{'totalResults'} > 0
 			&& exists($data->{'pageInfo'}->{'resultsPerPage'})
 			&& exists($data->{'items'})
 			&& ref($data->{'items'}) eq 'ARRAY')