server: remove done TODO
This commit is contained in:
parent
6f07817c0e
commit
d1604f8e70
@ -174,9 +174,6 @@ pub async fn thread(
|
|||||||
.map(|h| Url::parse(&h).ok())
|
.map(|h| Url::parse(&h).ok())
|
||||||
.flatten();
|
.flatten();
|
||||||
let mut body = r.summary.unwrap_or("NO SUMMARY".to_string());
|
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 cacher = Arc::new(Mutex::new(FilesystemCacher::new(&config.slurp_cache_path)?));
|
||||||
let body_tranformers: Vec<Box<dyn Transformer>> = vec![
|
let body_tranformers: Vec<Box<dyn Transformer>> = vec![
|
||||||
Box::new(SlurpContents {
|
Box::new(SlurpContents {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user