mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 10:42:34 +01:00
[kemonoparty] improve inline extraction (#1899)
This commit is contained in:
parent
975e0a4fe0
commit
db857b40d8
@ -29,7 +29,9 @@ class KemonopartyExtractor(Extractor):
|
||||
def items(self):
|
||||
self._prepare_ddosguard_cookies()
|
||||
|
||||
find_inline = re.compile(r'src="(/inline/[^"]+)').findall
|
||||
find_inline = re.compile(
|
||||
r'src="(?:https?://kemono\.party)?(/inline/[^"]+'
|
||||
r'|/[0-9a-f]{2}/[0-9a-f]{2}/[0-9a-f]{64}\.[^"]+)').findall
|
||||
skip_service = \
|
||||
"patreon" if self.config("patreon-skip-file", True) else None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user