diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-05-01 16:28:37 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-05-01 16:28:37 +0700 |
commit | 669f0e7cdaaff51976f4963a845bc7722ea2152f (patch) | |
tree | 63d2354b1f37b42bb0635b7a15c434fab715f036 /youtube_dl/extractor/generic.py | |
parent | 32fd27ec982d3ba43bd4abe1cfe0dce9568f17b6 (diff) |
[generic] Fix wrong entries index
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r-- | youtube_dl/extractor/generic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 58092da38..d7f0a4d39 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -702,7 +702,7 @@ class GenericIE(InfoExtractor): }) if len(entries) == 1: - return entries[1] + return entries[0] else: for num, e in enumerate(entries, start=1): e['title'] = '%s (%d)' % (e['title'], num) |