From 16c764c6ddb7e5738898ec9532f6990768e56057 Mon Sep 17 00:00:00 2001 From: Daniel Aleksandersen Date: Sat, 11 Aug 2018 00:44:32 +0000 Subject: [PATCH] Set an actual User-Agent --- podcasts-data/src/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/podcasts-data/src/lib.rs b/podcasts-data/src/lib.rs index 45a7444..0870dd4 100644 --- a/podcasts-data/src/lib.rs +++ b/podcasts-data/src/lib.rs @@ -105,11 +105,7 @@ pub use feed::{Feed, FeedBuilder}; pub use models::Save; pub use models::{Episode, EpisodeWidgetModel, Show, ShowCoverModel, Source}; -// Set the user agent, See #53 for more -// Keep this in sync with Tor-browser releases -/// The user-agent to be used for all the requests. -/// It originates from the Tor-browser UA. -pub const USER_AGENT: &str = "Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0"; +pub const USER_AGENT: &str = "Hammond/1.0"; /// [XDG Base Direcotory](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) Paths. #[allow(missing_debug_implementations)]