From 49c7e70c10e58f34282340fcab1cbd161168e7e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sat, 9 Sep 2017 15:17:51 +0200 Subject: [PATCH] [acidimg] add image extractor --- docs/supportedsites.rst | 7 ++++--- gallery_dl/extractor/imagehosts.py | 7 +++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/supportedsites.rst b/docs/supportedsites.rst index 2f0e62b7..42baadb4 100644 --- a/docs/supportedsites.rst +++ b/docs/supportedsites.rst @@ -3,7 +3,7 @@ Supported Sites ==================== =================================== ================================================== ================ Site URL Capabilities Authentication ==================== =================================== ================================================== ================ -3dbooru http://behoimi.org/ Pools, Posts, Tag-Searches +3dbooru http://behoimi.org/ Pools, Popular Images, Posts, Tag-Searches 4chan https://www.4chan.org/ Threads 4plebs https://archive.4plebs.org/ Threads 8chan https://8ch.net/ Threads @@ -15,7 +15,7 @@ Desuarchive https://desuarchive.org/ Threads DeviantArt https://www.deviantart.com/ |Collections, De-1| Doki Reader https://kobato.hologfx.com/ Chapters, Manga Dynasty Reader https://dynasty-scans.com/ Chapters -e621 https://e621.net/ Pools, Posts, Tag-Searches +e621 https://e621.net/ Pools, Popular Images, Posts, Tag-Searches ExHentai https://exhentai.org/ Galleries Optional Fallen Angels Scans https://www.fascans.com/ Chapters, Manga Fireden https://boards.fireden.net/ Threads @@ -39,7 +39,7 @@ Jaimini's Box https://jaiminisbox.com/ Chapters, Manga Khinsider https://downloads.khinsider.com/ Soundtracks Kirei Cake https://reader.kireicake.com/ Chapters, Manga KissManga http://kissmanga.com/ Chapters, Manga -Konachan https://konachan.com/ Pools, Posts, Tag-Searches +Konachan https://konachan.com/ Pools, Popular Images, Posts, Tag-Searches Love is Over Archive https://archive.loveisover.me/ Threads Luscious https://luscious.net/ Albums Manga Fox http://www.mangafox.me/ Chapters @@ -73,6 +73,7 @@ Twitter https://twitter.com/ Tweets Warosu https://warosu.org/ Threads World Three http://www.slide.world-three.org/ Chapters, Manga Yandere https://yande.re/ Pools, Popular Images, Posts, Tag-Searches +Acidimg https://acidimg.cc/ individual Images Chronos http://chronos.to/ individual Images Coreimg http://coreimg.net/ individual Images Fapat http://fapat.me/ individual Images diff --git a/gallery_dl/extractor/imagehosts.py b/gallery_dl/extractor/imagehosts.py index cfbe27e9..526be3f1 100644 --- a/gallery_dl/extractor/imagehosts.py +++ b/gallery_dl/extractor/imagehosts.py @@ -118,6 +118,13 @@ class FapatImageExtractor(ImgytImageExtractor): https = False +class AcidimgImageExtractor(ImgytImageExtractor): + """Extractor for single images from acidimg.cc""" + category = "acidimg" + pattern = [r"(?:https?://)?((?:www\.)?acidimg\.cc/img-([a-z0-9]+)\.html)"] + test = [] + + class ChronosImageExtractor(ImagehostImageExtractor): """Extractor for single images from chronos.to""" category = "chronos"