1
Fork 0

Compare commits

..

No commits in common. "166a8c9996ca147c0ebb3356296ceecdd2dc631f" and "f56ff3e06fcf5c8b89a5a50057a10ff6d1e15044" have entirely different histories.

4 changed files with 3 additions and 7 deletions

2
Cargo.lock generated
View File

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

View File

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

View File

@ -13,12 +13,8 @@ USAGE:
OPTIONS: OPTIONS:
-a, --appid <APPID> A game's AppID, can be used multiple times -a, --appid <APPID> A game's AppID, can be used multiple times
-h, --help Print help information -h, --help Print help information
--opml Output the feeds as OPML
-t, --timeout <TIMEOUT> The time in milliseconds to sleep between HTTP requests [default: -t, --timeout <TIMEOUT> The time in milliseconds to sleep between HTTP requests [default:
250] 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 -v, --verify Verify potential feeds by downloading them and checking if they
return XML return XML
-V, --version Print version information -V, --version Print version information

View File

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