Browse Source

[generic] Fix wrong entries index

totalwebcasting
Sergey M․ 11 years ago
parent
commit
669f0e7cda
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/generic.py

+ 1
- 1
youtube_dl/extractor/generic.py View File

@ -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)


Loading…
Cancel
Save