summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/telegraph.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-07-31 01:22:01 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2025-07-31 01:22:01 -0400
commita6e995c093de8aae2e91a0787281bb34c0b871eb (patch)
tree2d79821b05300d34d8871eb6c9662b359a2de85d /gallery_dl/extractor/telegraph.py
parent7672a750cb74bf31e21d76aad2776367fd476155 (diff)
New upstream version 1.30.2.upstream/1.30.2
Diffstat (limited to 'gallery_dl/extractor/telegraph.py')
-rw-r--r--gallery_dl/extractor/telegraph.py6
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