[pixhost] support .to TLDs

This commit is contained in:
Mike Fährmann
2018-05-23 18:32:34 +02:00
parent aab2391c7b
commit ecdc3475b8
2 changed files with 4 additions and 4 deletions

View File

@@ -184,9 +184,9 @@ class ImgspiceImageExtractor(ImagehostImageExtractor):
class PixhostImageExtractor(ImagehostImageExtractor):
"""Extractor for single images from pixhost.org"""
"""Extractor for single images from pixhost.to"""
category = "pixhost"
pattern = [(r"(?:https?://)?((?:www\.)?pixhost\.org/show/"
pattern = [(r"(?:https?://)?((?:www\.)?pixhost\.(?:to|org)/show/"
r"\d+/(\d+)_[^/]+)")]
https = True
params = None