
package app.crossword.yourealwaysbe.forkyz.net

import kotlin.time.Duration

import app.crossword.yourealwaysbe.puz.io.PuzzleStreamReader

/**
 * Custom daily downloader
 * URL: customDailyLink from settings
 * Date = Daily
 *
 * Create a new custom downloader
 *
 * @param title the title of the puzzles
 * @param urlDateFormatPattern java date format string for creating URL
 */
class CustomDailyDownloader(
    downloaderID : DownloaderID,
    title : String,
    urlDateFormatPattern : String?,
) : AbstractDateDownloader(
    downloaderID,
    title,
    DAYS_DAILY,  // Currently no option to configure availability time
    Duration.ZERO,
    null,
    PuzzleStreamReader(),
    urlDateFormatPattern,
    urlDateFormatPattern,
)
