diff options
Diffstat (limited to 'gallery_dl/extractor/telegraph.py')
| -rw-r--r-- | gallery_dl/extractor/telegraph.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gallery_dl/extractor/telegraph.py b/gallery_dl/extractor/telegraph.py index 468840b..2713621 100644 --- a/gallery_dl/extractor/telegraph.py +++ b/gallery_dl/extractor/telegraph.py @@ -44,7 +44,7 @@ class TelegraphGalleryExtractor(GalleryExtractor): num_zeroes = len(str(len(figures))) num = 0 - result = [] + results = [] for figure in figures: url, pos = text.extract(figure, 'src="', '"') if url.startswith("/embed/"): @@ -54,10 +54,10 @@ class TelegraphGalleryExtractor(GalleryExtractor): caption, pos = text.extract(figure, "<figcaption>", "<", pos) num += 1 - result.append((url, { + results.append((url, { "url" : url, "caption" : text.unescape(caption) if caption else "", "num" : num, "num_formatted": str(num).zfill(num_zeroes), })) - return result + return results |
