aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/nba.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-10-06 23:13:53 +0700
committerSergey M․ <dstftw@gmail.com>2017-10-06 23:13:53 +0700
commit6be08ce60205a65a6739667783eead56ccc34456 (patch)
tree2b06886066bc033dde8a863606bef20a81929f53 /youtube_dl/extractor/nba.py
parentcf5f6ed5be8bab252f3ded345b6b1fdf31426661 (diff)
[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
Diffstat (limited to 'youtube_dl/extractor/nba.py')
-rw-r--r--youtube_dl/extractor/nba.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nba.py b/youtube_dl/extractor/nba.py
index 53561961c..be295a7a3 100644
--- a/youtube_dl/extractor/nba.py
+++ b/youtube_dl/extractor/nba.py
@@ -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)