1
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Bauke 166a8c9996
Version 0.2.0! 2022-09-22 21:20:04 +02:00
Bauke 5e82d2ef38
Fix Clippy warning. 2022-09-22 21:19:49 +02:00
4 changed files with 7 additions and 3 deletions

2
Cargo.lock generated
View File

@ -538,7 +538,7 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
[[package]]
name = "steam-rss"
version = "0.1.0"
version = "0.2.0"
dependencies = [
"clap",
"color-eyre",

View File

@ -3,7 +3,7 @@ name = "steam-rss"
description = "Get RSS feeds for Steam games."
repository = "https://git.bauke.xyz/Bauke/steam-rss"
license = "AGPL-3.0-or-later"
version = "0.1.0"
version = "0.2.0"
authors = ["Bauke <me@bauke.xyz>"]
edition = "2021"

View File

@ -13,8 +13,12 @@ USAGE:
OPTIONS:
-a, --appid <APPID> A game's AppID, can be used multiple times
-h, --help Print help information
--opml Output the feeds as OPML
-t, --timeout <TIMEOUT> The time in milliseconds to sleep between HTTP requests [default:
250]
--url <URL> A game's store URL, can be used multiple times
--user <USER> A person's steamcommunity.com ID or full URL, can be used multiple
times
-v, --verify Verify potential feeds by downloading them and checking if they
return XML
-V, --version Print version information

View File

@ -169,7 +169,7 @@ fn main() -> Result<()> {
if args.verify {
let verify_feed = |url: &str| -> Result<_> {
let response = ureq_agent.get(&url).call()?;
let response = ureq_agent.get(url).call()?;
sleep(timeout);
Ok((
response.content_type() == "text/xml",