[8chan] remove module
This commit is contained in:
@@ -10,7 +10,6 @@ Site URL Capabilities
|
|||||||
4chan https://www.4chan.org/ Threads
|
4chan https://www.4chan.org/ Threads
|
||||||
4plebs https://archive.4plebs.org/ Threads
|
4plebs https://archive.4plebs.org/ Threads
|
||||||
500px https://500px.com/ Galleries, individual Images, User Profiles
|
500px https://500px.com/ Galleries, individual Images, User Profiles
|
||||||
8chan https://8ch.net/ Threads
|
|
||||||
8muses https://www.8muses.com/ Albums
|
8muses https://www.8muses.com/ Albums
|
||||||
Adobe Portfolio https://www.myportfolio.com/ Galleries
|
Adobe Portfolio https://www.myportfolio.com/ Galleries
|
||||||
Adult Empire https://www.adultempire.com/ Galleries
|
Adult Empire https://www.adultempire.com/ Galleries
|
||||||
|
|||||||
@@ -1,29 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
# Copyright 2014-2019 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 and videos from https://8ch.net/"""
|
|
||||||
|
|
||||||
from . import chan
|
|
||||||
|
|
||||||
|
|
||||||
class InfinitychanThreadExtractor(chan.ChanThreadExtractor):
|
|
||||||
"""Extractor for images from threads from 8ch.net"""
|
|
||||||
category = "8chan"
|
|
||||||
filename_fmt = "{time}-{filename}{ext}"
|
|
||||||
pattern = r"(?:https?://)?(?:www\.)?8ch\.net/([^/]+)/res/(\d+)"
|
|
||||||
test = ("https://8ch.net/builders/res/3.html", {
|
|
||||||
"url": "5d85c0509f907f217aea379f862b41bf3d01f645",
|
|
||||||
"keyword": "0c497190c0c0f826925fde09815351d01869c783",
|
|
||||||
})
|
|
||||||
api_url = "https://8ch.net/{board}/res/{thread}.json"
|
|
||||||
file_url = "https://media.8ch.net/{board}/src/{tim}{ext}"
|
|
||||||
file_url_v2 = "https://media.8ch.net/file_store/{tim}{ext}"
|
|
||||||
|
|
||||||
def build_url(self, post):
|
|
||||||
fmt = self.file_url if len(post["tim"]) < 64 else self.file_url_v2
|
|
||||||
return fmt.format_map(post)
|
|
||||||
@@ -15,7 +15,6 @@ modules = [
|
|||||||
"3dbooru",
|
"3dbooru",
|
||||||
"4chan",
|
"4chan",
|
||||||
"500px",
|
"500px",
|
||||||
"8chan",
|
|
||||||
"8muses",
|
"8muses",
|
||||||
"adultempire",
|
"adultempire",
|
||||||
"artstation",
|
"artstation",
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ TRAVIS_SKIP = {
|
|||||||
|
|
||||||
# temporary issues, etc.
|
# temporary issues, etc.
|
||||||
BROKEN = {
|
BROKEN = {
|
||||||
"8chan",
|
|
||||||
"mangapark",
|
"mangapark",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user