Beispiel #1
0
    public EshuuSite()
    {
        DownloadTypes.Add("原图", DownloadTypeEnum.Origin);

        Config.IsSupportKeyword    = true;
        Config.IsSupportRating     = true;
        Config.IsSupportResolution = true;
        Config.IsSupportScore      = true;
        Lv2Cat = new Categories(Config);
        Lv2Cat.Adds("标签", "来源", "画师", "角色");
    }
Beispiel #2
0
    public BilibiliSite()
    {
        Config.IsSupportKeyword = true;
        Config.IsSupportScore   = true;

        Lv2Cat = new Categories(Config);
        Lv2Cat.Adds("画友", "摄影(COS)", "摄影(私服)");
        Lv2Cat.EachSubAdds("最新", "最热");

        DownloadTypes.Add("原图", DownloadTypeEnum.Origin);
        LoginPageUrl = "https://passport.bilibili.com/login";
    }
Beispiel #3
0
    public void InitCat()
    {
        // 最新/搜索
        //var mangaIlluLv3Cat = new Categories(Config, "插画+动图", "漫画");
        //var newItemCat = new Category(Config, "最新/搜索", mangaIlluLv3Cat);
        //newItemCat.Config.IsSupportSearchByImageLastId = true;
        //Lv2Cat.Add(newItemCat); //0

        //// 作者ID搜索
        //Lv2Cat.Add(new Category(Config, "作者ID搜索", mangaIlluLv3Cat)); //1

        //// 排行
        //var rankLv4Cat = new Categories(Config, "综合", "插画", "漫画", "动图");
        //var r18Lv3Cats = new Categories(Config, rankLv4Cat, "今日", "本周", "最受男性欢迎", "最受女性欢迎");
        //var normalLv3Cats = new Categories(Config, rankLv4Cat, "今日", "本周", "本月", "新人", "原创", "最受男性欢迎", "最受女性欢迎");
        //var item = new Category(Config, "排行", IsR18 ? r18Lv3Cats : normalLv3Cats); //2
        //item.Config.IsSupportDatePicker = true;
        //item.Config.IsSupportKeyword = false;
        //Lv2Cat.Add(item);

        Config.IsSupportKeyword    = true;
        Config.IsSupportRating     = true;
        Config.IsSupportResolution = true;
        Config.IsSupportScore      = true;
        Config.IsSupportAccount    = true;

        Lv2Cat = new Categories(Config);
        // 最新/搜索 + 作者ID搜索
        Lv2Cat.Adds("最新/搜索", "作者ID搜索");
        Lv2Cat.EachSubAdds("插画+动图", "漫画");

        // 排行
        var rank = Lv2Cat.AddAndSelect("排行");

        rank.Config.IsSupportDatePicker = true;
        rank.Config.IsSupportKeyword    = false;
        if (IsR18)
        {
            rank.SubCategories.Adds("今日", "本周", "最受男性欢迎", "最受女性欢迎");
        }
        else
        {
            rank.SubCategories.Adds("今日", "本周", "本月", "新人", "原创", "最受男性欢迎", "最受女性欢迎");
        }
        rank.SubCategories.EachSubAdds("综合", "插画", "漫画", "动图");
    }
Beispiel #4
0
    public MiniTokyoSite()
    {
        Config.IsSupportKeyword    = true;
        Config.IsSupportResolution = true;
        Config.IsSupportScore      = true;

        //var lv3 = new Categories(Config, "最新", "最热");
        //Lv2Cat.Add(new Category(Config, "壁纸", lv3));
        //Lv2Cat.Add(new Category(Config, "扫描图", lv3));
        //Lv2Cat.Add(new Category(Config, "手机壁纸", lv3));
        //Lv2Cat.Add(new Category(Config, "Indy Art", lv3));

        Lv2Cat = new Categories(Config);
        Lv2Cat.Adds("最新", "壁纸", "扫描图", "手机壁纸", "Indy Art");
        Lv2Cat.EachSubAdds("最新", "最热");
        DownloadTypes.Add("原图", DownloadTypeEnum.Origin);
    }
Beispiel #5
0
    public SankakuChanSite()
    {
        DownloadTypes.Add("原图", DownloadTypeEnum.Origin);
        LoginPageUrl = "https://login.sankakucomplex.com/login";


        Config.IsSupportKeyword       = true;
        Config.IsSupportRating        = true;
        Config.IsSupportResolution    = true;
        Config.IsSupportScore         = true;
        Config.IsSupportAccount       = true;
        Config.IsSupportStarButton    = true;
        Config.IsSupportMultiKeywords = true;
        Config.ImageOrders.Add(new ImageOrder {
            Name = "最新", Order = ImageOrderBy.Date
        });
        Config.ImageOrders.Add(new ImageOrder {
            Name = "最受欢迎", Order = ImageOrderBy.Popular
        });

        Lv2Cat = new Categories(Config);
        Lv2Cat.Adds("最新/搜索", "收藏");
    }