Mishiranu / Dashchan-Extensions

Dashchan extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for lainchan.jp

prometheus-lain opened this issue · comments

Hi, could you please make an extension for lainchan.jp?
I tried compiling myself, but even a fresh pull from git fails with

src/com/mishiranu/dashchan/chan/lainchan/LainchanBoardsParser.java:39: error: TemplateParser() is not public in TemplateParser; cannot be accessed from outside package
        private static final TemplateParser<LainchanBoardsParser> PARSER = new TemplateParser<LainchanBoardsParser>()
                                                                           ^
src/com/mishiranu/dashchan/chan/lainchan/LainchanBoardsParser.java:40: error: method equals in class Object cannot be applied to given types;
                        .equals("div", "class", "boardlist").open((i, holder, t, a) -> !(holder.boardListParsing = true))
                        ^
  required: Object
  found: String,String,String
  reason: actual and formal argument lists differ in length
src/com/mishiranu/dashchan/chan/lainchan/LainchanBoardsParser.java:42: error: illegal start of type
                if (holder.boardListParsing) {
                   ^
8 errors
:compileReleaseJavaWithJavac FAILED
:compileRetrolambdaRelease

FAILURE: Build failed with an exception.

The problem is that I've updated the library so about 50% extensions can't be compiled without some small changes.

The second problem that there is a long queue of requests and I fulfill them very slowly because I a bit tired of making extensions. So if you wish I can update the lainchan extension to compileable state and you can try to finish it yourself.

I've updated the lainchan package.