mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 18:53:21 +01:00
[imagetwist] add phun.imagetwist.com and imagehaha.com alias to imagetwist extractor
This commit is contained in:
parent
78d3960a31
commit
29f0830b53
@ -187,7 +187,8 @@ class ImagevenueImageExtractor(ImagehostImageExtractor):
|
||||
class ImagetwistImageExtractor(ImagehostImageExtractor):
|
||||
"""Extractor for single images from imagetwist.com"""
|
||||
category = "imagetwist"
|
||||
pattern = r"(?:https?://)?((?:www\.)?imagetwist\.com/([a-z0-9]{12}))"
|
||||
pattern = (r"(?:https?://)?((?:www|phun\.)?"
|
||||
r"(?:imagetwist|imagehaha)\.com/([a-z0-9]{12}))")
|
||||
test = ("https://imagetwist.com/f1i2s4vhvbrq/test.png", {
|
||||
"url": "8d5e168c0bee30211f821c6f3b2116e419d42671",
|
||||
"keyword": "d1060a4c2e3b73b83044e20681712c0ffdd6cfef",
|
||||
|
Loading…
Reference in New Issue
Block a user