Improve spoofing - match headers more closely, pull in real versions/builds

This commit is contained in:
Matthew Esposito 2023-12-28 15:37:02 -05:00
parent 4461a7d172
commit 9f41af6eee
No known key found for this signature in database
7 changed files with 397 additions and 53 deletions

View file

@ -443,7 +443,7 @@ async fn subreddit(sub: &str, quarantined: bool) -> Result<Subreddit, String> {
})
}
#[tokio::test(flavor = "multi_thread", worker_threads = 1)]
#[tokio::test(flavor = "multi_thread", worker_threads = 8)]
async fn test_fetching_subreddit() {
let subreddit = subreddit("rust", false).await;
assert!(subreddit.is_ok());