Files
rss-generator/rss-generator/Class/Eroterest/MovieEroterestConfig.cs
T

74 lines
2.7 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
namespace rss_generator.Class.Eroterest;
/// <summary>
/// movie.eroterest.net の RSS 生成設定
/// </summary>
internal static class MovieEroterestConfig
{
/// <summary>
/// 出力サブディレクトリ(要求仕様: https://movie.eroterest.net/ に基づき movie.eroterest.net)
/// </summary>
public const string OutputSubDir = "movie.eroterest.net";
/// <summary>
/// サイトのベースURL
/// </summary>
public const string BaseUrl = "https://movie.eroterest.net";
/// <summary>
/// 新着動画ページURL
/// </summary>
public const string NewVideosUrl = "https://movie.eroterest.net/";
/// <summary>
/// 今日の人気動画ページURL
/// </summary>
public const string PopularVideosUrl = "https://movie.eroterest.net/popular/?days=0";
/// <summary>
/// WebImageViewer のベースURL
/// </summary>
public const string WebImageViewerBaseUrl = "https://udukipc-web.armonica-vps.work";
/// <summary>
/// 出力対象の主要カテゴリ一覧 (カテゴリ名, URL)
/// </summary>
public static readonly Dictionary<string, string> Categories = new(StringComparer.OrdinalIgnoreCase)
{
{ "素人", "https://movie.eroterest.net/?c=%E7%B4%A0%E4%BA%BA" },
{ "人妻", "https://movie.eroterest.net/?c=%E4%BA%BA%E5%A6%BB" },
{ "中出し", "https://movie.eroterest.net/?c=%E4%B8%AD%E5%87%BA%E3%81%97" },
{ "マジックミラー号", "https://movie.eroterest.net/?c=%E3%83%9E%E3%82%B8%E3%83%83%E3%82%AF%E3%83%9F%E3%83%A9%E3%83%BC%E5%8F%B7" },
{ "熟女", "https://movie.eroterest.net/?c=%E7%86%9F%E5%A5%B3" },
{ "巨乳", "https://movie.eroterest.net/?c=%E5%B7%A8%E4%B9%B3" }
};
/// <summary>
/// 各フィードで取得する最大記事数
/// </summary>
public const int MaxArticlesPerFeed = 20;
/// <summary>
/// 記事詳細およびブログ取得時の並列度
/// </summary>
public const int MaxParallelTasks = 3;
/// <summary>
/// RSS の pubDate に元動画の公開日を優先するかどうか(false の場合は記事の実際の公開日を優先し、元動画公開日は本文に記載)
/// </summary>
public const bool PreferOriginalVideoDateOverArticleDate = false;
/// <summary>
/// 1記事あたりの動画探索における最大リンク階層深度(デフォルト: 3階層まで深掘り)
/// </summary>
public const int MaxCrawlDepth = 3;
/// <summary>
/// 1記事あたりの動画探索で訪問する最大ページ数(過剰クロール防止)
/// </summary>
public const int MaxCrawledPagesPerArticle = 10;
}