[rapidimg] add extractor

This commit is contained in:
Mike Fährmann
2016-10-03 16:13:05 +02:00
parent 883e702fd6
commit a0c044f0c9
3 changed files with 24 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
# -*- coding: utf-8 -*-
# Copyright 2016 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
"""Extract images from http://rapidimg.net/"""
from . import imgyt
class RapidimgImageExtractor(imgyt.ImgytImageExtractor):
"""Extractor for single images from rapidimg.net"""
category = "rapidimg"
pattern = [r"(?:https?://)?(?:www\.)?rapidimg\.net/img-([a-z0-9]+)\.html"]
url = "http://rapidimg.net"
https = False