[pixiv] update 'work' extractor pattern & add tests
This commit is contained in:
@@ -531,7 +531,7 @@ class PixivMeExtractor(PixivExtractor):
|
||||
class PixivWorkExtractor(PixivExtractor):
|
||||
"""Extractor for a single pixiv work/illustration"""
|
||||
subcategory = "work"
|
||||
pattern = (r"(?:https?://)?(?:(?:www\.|touch\.)?pixiv\.net"
|
||||
pattern = (r"(?:https?://)?(?:(?:www\.|touch\.)?ph?ixiv\.net"
|
||||
r"/(?:(?:en/)?artworks/"
|
||||
r"|member_illust\.php\?(?:[^&]+&)*illust_id=)(\d+)"
|
||||
r"|(?:i(?:\d+\.pixiv|\.pximg)\.net"
|
||||
|
||||
Reference in New Issue
Block a user