implement yande.re source
This commit is contained in:
16
GallerySources/Gallery.Danbooru/Gallery.Danbooru.csproj
Normal file
16
GallerySources/Gallery.Danbooru/Gallery.Danbooru.csproj
Normal 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>
|
24
GallerySources/Gallery.Danbooru/GallerySource.cs
Normal file
24
GallerySources/Gallery.Danbooru/GallerySource.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user