implement yande.re source

This commit is contained in:
2021-08-06 17:18:18 +08:00
parent 600d81a3f1
commit 9d316cba77
18 changed files with 486 additions and 2 deletions

View File

@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<LangVersion>9.0</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<LangVersion>9.0</LangVersion>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Gallery.Util\Gallery.Util.csproj" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,24 @@
using System;
using System.Threading.Tasks;
using Gallery.Util.Interface;
using Gallery.Util.Model;
namespace Gallery.Danbooru
{
public class GallerySource : IGallerySource
{
public string Name => "Danbooru";
public string HomePage => "https://danbooru.donmai.us";
public Task<GalleryItem[]> GetRecentItemsAsync(int page)
{
throw new NotImplementedException();
}
public void SetCookie()
{
throw new NotImplementedException();
}
}
}