use sets for ' in { ... }' checks
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2020-2025 Mike Fährmann
|
||||
# Copyright 2020-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
|
||||
@@ -156,11 +156,11 @@ class AryionExtractor(Extractor):
|
||||
headers = response.headers
|
||||
|
||||
# folder
|
||||
if headers["content-type"] in (
|
||||
if headers["content-type"] in {
|
||||
"application/x-folder",
|
||||
"application/x-comic-folder",
|
||||
"application/x-comic-folder-nomerge",
|
||||
):
|
||||
}:
|
||||
return False
|
||||
|
||||
# get filename from 'Content-Disposition' header
|
||||
|
||||
Reference in New Issue
Block a user