server: remove done TODO

This commit is contained in:
Bill Thiede 2024-09-21 18:48:25 -07:00
parent 6f07817c0e
commit d1604f8e70

View File

@ -174,9 +174,6 @@ pub async fn thread(
.map(|h| Url::parse(&h).ok())
.flatten();
let mut body = r.summary.unwrap_or("NO SUMMARY".to_string());
// TODO: add site specific cleanups. For example:
// * Grafana does <div class="image-wrapp"><img class="lazyload>"<img src="/media/...>"</img></div>
// * Some sites appear to be HTML encoded, unencode them, i.e. imperialviolent
let cacher = Arc::new(Mutex::new(FilesystemCacher::new(&config.slurp_cache_path)?));
let body_tranformers: Vec<Box<dyn Transformer>> = vec![
Box::new(SlurpContents {