Compare commits
No commits in common. "166a8c9996ca147c0ebb3356296ceecdd2dc631f" and "f56ff3e06fcf5c8b89a5a50057a10ff6d1e15044" have entirely different histories.
166a8c9996
...
f56ff3e06f
|
@ -538,7 +538,7 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
|
|||
|
||||
[[package]]
|
||||
name = "steam-rss"
|
||||
version = "0.2.0"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"color-eyre",
|
||||
|
|
|
@ -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.2.0"
|
||||
version = "0.1.0"
|
||||
authors = ["Bauke <me@bauke.xyz>"]
|
||||
edition = "2021"
|
||||
|
||||
|
|
|
@ -13,12 +13,8 @@ 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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue