mirror of
https://github.com/simon987/chan_feed.git
synced 2025-04-19 18:16:44 +00:00
add 8kun
This commit is contained in:
parent
2c02920d45
commit
da32efdfe8
66
chan/chan.py
66
chan/chan.py
@ -8,6 +8,7 @@ from chan.endchan_html import EndchanHtmlChanHelper
|
|||||||
from chan.fchan_html import FChanHtmlChanHelper
|
from chan.fchan_html import FChanHtmlChanHelper
|
||||||
from chan.iichan_html import IichanHtmlChanHelper
|
from chan.iichan_html import IichanHtmlChanHelper
|
||||||
from chan.json import JsonChanHelper
|
from chan.json import JsonChanHelper
|
||||||
|
from chan.json_kun import JsonKunChanHelper
|
||||||
from chan.lolnada_html import LolNadaHtmlChanHelper
|
from chan.lolnada_html import LolNadaHtmlChanHelper
|
||||||
from chan.mayuri import MayuriChanHelper
|
from chan.mayuri import MayuriChanHelper
|
||||||
from chan.nowere_html import NowereHtmlChanHelper
|
from chan.nowere_html import NowereHtmlChanHelper
|
||||||
@ -378,5 +379,70 @@ CHANS = {
|
|||||||
"b", "d", "tu", "a", "ph", "wa", "cg", "t", "p"
|
"b", "d", "tu", "a", "ph", "wa", "cg", "t", "p"
|
||||||
),
|
),
|
||||||
rps=1 / 60
|
rps=1 / 60
|
||||||
|
),
|
||||||
|
"8kun": JsonKunChanHelper(
|
||||||
|
28,
|
||||||
|
"https://8kun.net/",
|
||||||
|
"https://media.8kun.net/",
|
||||||
|
"/res/",
|
||||||
|
"file_store/",
|
||||||
|
(
|
||||||
|
"1",
|
||||||
|
"a",
|
||||||
|
"aneki",
|
||||||
|
"ara",
|
||||||
|
"asatru",
|
||||||
|
"asmr",
|
||||||
|
"aus",
|
||||||
|
"b",
|
||||||
|
"baka",
|
||||||
|
"brit",
|
||||||
|
"builders",
|
||||||
|
"cafechan",
|
||||||
|
"canada",
|
||||||
|
"choroy",
|
||||||
|
"co",
|
||||||
|
"cuckquean",
|
||||||
|
"cute",
|
||||||
|
"cyoa",
|
||||||
|
"dempart",
|
||||||
|
"e9y",
|
||||||
|
"egy", "hgg",
|
||||||
|
"f1",
|
||||||
|
"fa",
|
||||||
|
"feet",
|
||||||
|
"film",
|
||||||
|
"furry",
|
||||||
|
"hentai",
|
||||||
|
"hisparefugio",
|
||||||
|
"hypno",
|
||||||
|
"islam",
|
||||||
|
"ita",
|
||||||
|
"jp",
|
||||||
|
"komika",
|
||||||
|
"lewd",
|
||||||
|
"lit",
|
||||||
|
"magick",
|
||||||
|
"mde",
|
||||||
|
"monster",
|
||||||
|
"mu",
|
||||||
|
"newbrit",
|
||||||
|
"newsplus",
|
||||||
|
"ntr",
|
||||||
|
"philosophy",
|
||||||
|
"qresearch",
|
||||||
|
"rzabczan",
|
||||||
|
"s",
|
||||||
|
"sl",
|
||||||
|
"tg",
|
||||||
|
"turul",
|
||||||
|
"tv",
|
||||||
|
"v",
|
||||||
|
"vichan",
|
||||||
|
"vr",
|
||||||
|
"wx",
|
||||||
|
"x",
|
||||||
|
),
|
||||||
|
rps=2/3
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
8
chan/json_kun.py
Normal file
8
chan/json_kun.py
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
from chan.json import JsonChanHelper
|
||||||
|
|
||||||
|
|
||||||
|
class JsonKunChanHelper(JsonChanHelper):
|
||||||
|
|
||||||
|
def image_url(self, board, tim, extension):
|
||||||
|
return "%s%s%s%s" % (self._image_url, self._image_path, tim, extension)
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user