herta-lib 1.1.8

Backend library for herta-bin
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod character;
mod enemy;

pub use character::*;
pub use enemy::*;
use scraper::Html;
use url::Url;

pub(in crate::extractor) fn parse_html(html: &str) -> Html {
    Html::parse_document(html)
}

pub(in crate::extractor) fn parse_url(url: &str) -> Url {
    Url::parse(url).unwrap()
}