aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-12-06 14:02:19 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-12-06 14:02:19 +0100
commitb82f815f373818ba99ee43660e9255e8f4ecac62 (patch)
treea55b858e743c06742aa44aa71f9be51468eb3456 /youtube_dl/extractor/common.py
parent158f8cadc0c29e9d43e1440a672a3f72f0e454c7 (diff)
downloadyoutube-dl-b82f815f373818ba99ee43660e9255e8f4ecac62.tar.xz
Allow iterators for playlist result entries
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r--youtube_dl/extractor/common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index 5b5e33cea..cb6081dd0 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -158,8 +158,8 @@ class InfoExtractor(object):
_type "playlist" indicates multiple videos.
- There must be a key "entries", which is a list or a PagedList object, each
- element of which is a valid dictionary under this specfication.
+ There must be a key "entries", which is a list, an iterable, or a PagedList
+ object, each element of which is a valid dictionary by this specification.
Additionally, playlists can have "title" and "id" attributes with the same
semantics as videos (see above).