[utils] Use in OnDemandPagedList by default

Not using cache results in redundant network I/O due to downloading the same pages while using --playlist-items n-m
This commit is contained in:
Sergey M․ 2017-10-06 23:13:53 +07:00
parent cf5f6ed5be
commit 6be08ce602
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D
3 changed files with 3 additions and 3 deletions

View file

@ -122,7 +122,7 @@ class NBAIE(TurnerBaseIE):
playlist_title = self._og_search_title(webpage, fatal=False)
entries = OnDemandPagedList(
functools.partial(self._fetch_page, team, video_id),
self._PAGE_SIZE, use_cache=True)
self._PAGE_SIZE)
return self.playlist_result(entries, team, playlist_title)