[imgclick] use 'http://' for image URLs

The TLS certificate for main.imgclick.net is invalid.
This commit is contained in:
Mike Fährmann
2021-03-18 23:28:07 +01:00
parent 0725cfde4f
commit 204523611c
2 changed files with 3 additions and 2 deletions

View File

@@ -285,7 +285,7 @@ Consider all sites to be NSFW unless otherwise known.
</tr>
<tr>
<td>Imgclick</td>
<td>https://imgclick.net/</td>
<td>http://imgclick.net/</td>
<td>individual Images</td>
<td></td>
</tr>

View File

@@ -257,10 +257,11 @@ class ImgclickImageExtractor(ImagehostImageExtractor):
category = "imgclick"
pattern = r"(?:https?://)?((?:www\.)?imgclick\.net/([^/?#]+))"
test = ("http://imgclick.net/4tbrre1oxew9/test-_-_.png.html", {
"url": "b967f2d372ffb9f5d3a927c6dd560e120b10a808",
"url": "140dcb250a325f2d26b2d918c18b8ac6a2a0f6ab",
"keyword": "6895256143eab955622fc149aa367777a8815ba3",
"content": "0c8768055e4e20e7c7259608b67799171b691140",
})
https = False
params = "complex"
def get_info(self, page):