[common] implement 'parent-session'
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2015-2025 Mike Fährmann
|
||||
# Copyright 2015-2026 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
|
||||
@@ -459,6 +459,9 @@ class DownloadJob(Job):
|
||||
if kwdict:
|
||||
job.kwdict.update(kwdict)
|
||||
|
||||
if pextr.config("parent-session", pextr.parent):
|
||||
extr.session = pextr.session
|
||||
|
||||
while True:
|
||||
try:
|
||||
if pextr.config("parent-skip"):
|
||||
|
||||
Reference in New Issue
Block a user