mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-15 14:22:14 +00:00
three techcrunch feeds
This commit is contained in:
1 parent
201481f969
commit
fe606c1610
1 file changed
+4
-2
@@ -7,12 +7,14 @@ use log::warn;
|
||||
use rss::Channel;
|
||||
|
||||
// NB: Contains 20 items
|
||||
const RSS_FEED : &'static str = "https://techcrunch.com/feed/";
|
||||
const MAIN_RSS_FEED : &'static str = "https://techcrunch.com/feed/";
|
||||
|
||||
const VENTURE_FEED : &'static str = "https://techcrunch.com/category/venture/feed/";
|
||||
|
||||
const STARTUPS_FEED : &'static str = "https://techcrunch.com/category/startups/feed/";
|
||||
|
||||
pub async fn techcrunch_scraper_test() -> AnyhowResult<Vec<WebScrapingTarget>> {
|
||||
let content = reqwest::get(VENTURE_FEED)
|
||||
let content = reqwest::get(STARTUPS_FEED)
|
||||
.await?
|
||||
.bytes()
|
||||
.await?;
|
||||
|
||||
Reference in new issue
Block a user