server: add another The Onion slurp config
This commit is contained in:
parent
f6665b6b6e
commit
198db1492a
@ -238,6 +238,8 @@ pub async fn thread(
|
|||||||
Selector::parse("div.p").unwrap(),
|
Selector::parse("div.p").unwrap(),
|
||||||
],
|
],
|
||||||
"theonion.com".to_string() => vec![
|
"theonion.com".to_string() => vec![
|
||||||
|
// Single image joke w/ title
|
||||||
|
Selector::parse("article > section > div > figure").unwrap(),
|
||||||
// Single cartoon
|
// Single cartoon
|
||||||
Selector::parse("article > div > div > figure").unwrap(),
|
Selector::parse("article > div > div > figure").unwrap(),
|
||||||
// Image at top of article
|
// Image at top of article
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user