[audiochan] use proper variable name

This commit is contained in:
Mike Fährmann
2025-12-13 10:40:06 +01:00
parent d36a441e92
commit 0907ba13ed
2 changed files with 7 additions and 7 deletions

View File

@@ -88,17 +88,17 @@ class AudiochanExtractor(Extractor):
break
params["page"] += 1
def _extract_description(self, description, asd=None):
if asd is None:
asd = []
def _extract_description(self, description, texts=None):
if texts is None:
texts = []
if "text" in description:
asd.append(description["text"])
texts.append(description["text"])
elif "content" in description:
for desc in description["content"]:
self._extract_description(desc, asd)
self._extract_description(desc, texts)
return asd
return texts
class AudiochanAudioExtractor(AudiochanExtractor):

View File

@@ -6,5 +6,5 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
__version__ = "1.31.0"
__version__ = "1.31.1-dev"
__variant__ = None