aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/telegraph.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-07-31 01:22:07 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2025-07-31 01:22:07 -0400
commitd9539f96cc7ac112b7d8faad022190fbbc88c745 (patch)
tree471249d60b9202c00d7d82abec8b296fc881292e /gallery_dl/extractor/telegraph.py
parent889fc15f272118bf277737b6fac29d3faeffc641 (diff)
parenta6e995c093de8aae2e91a0787281bb34c0b871eb (diff)
Update upstream source from tag 'upstream/1.30.2'
Update to upstream version '1.30.2' with Debian dir f0dcd28a671f8600479182ff128e05ba8904a0d8
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