/// nhentai collector.
/// Host matching: nhentai.to or nhentai.net
use again::RetryPolicy;
use ipnet::Ipv6Net;
use regex::Regex;
use reqwest::Response;
use std::time::Duration;
use crate::{
http_client::{GhostClient, GhostClientBuilder},
stream::AsyncStream,
util::get_bytes,
util::match_first_group,
};
use super::{AlbumMeta, Collector, ImageData, ImageMeta};
lazy_static::lazy_static! {
static ref TITLE_RE: Regex = Regex::new(r#"(.*?)"#).unwrap();
static ref PAGE_RE: Regex = Regex::new(r#"