[pixiv:novel] only detect Pixiv embeds (#4175)
This commit is contained in:
@@ -865,7 +865,7 @@ class PixivNovelExtractor(PixivExtractor):
|
|||||||
illusts = {}
|
illusts = {}
|
||||||
|
|
||||||
for marker in text.extract_iter(content, "[", "]"):
|
for marker in text.extract_iter(content, "[", "]"):
|
||||||
if marker.startswith("[jumpuri:"):
|
if marker.startswith("[jumpuri:If you would like to "):
|
||||||
desktop = True
|
desktop = True
|
||||||
elif marker.startswith("pixivimage:"):
|
elif marker.startswith("pixivimage:"):
|
||||||
illusts[marker[11:].partition("-")[0]] = None
|
illusts[marker[11:].partition("-")[0]] = None
|
||||||
|
|||||||
Reference in New Issue
Block a user