summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/message.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/message.py')
-rw-r--r--gallery_dl/extractor/message.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/gallery_dl/extractor/message.py b/gallery_dl/extractor/message.py
index d5c2554..6eda213 100644
--- a/gallery_dl/extractor/message.py
+++ b/gallery_dl/extractor/message.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Copyright 2015-2021 Mike Fährmann
+# Copyright 2015-2025 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -14,13 +14,14 @@ class Message():
is one of the following identifiers. This message-identifier determines
the type and meaning of the other elements in such a tuple.
- - Message.Version:
+ - Message.Version: # obsolete
- Message protocol version (currently always '1')
- 2nd element specifies the version of all following messages as integer
- Message.Directory:
- Sets the target directory for all following images
- - 2nd element is a dictionary containing general metadata
+ - 2nd element is unused
+ - 3rd element is a dictionary containing general metadata
- Message.Url:
- Image URL and its metadata
@@ -45,7 +46,7 @@ class Message():
- The additional URLs serve as a fallback if the primary one fails
"""
- Version = 1
+ # Version = 1
Directory = 2
Url = 3
# Headers = 4