From 2847c34f58ea6b32b39c231a0cbdb5d764895e04 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 25 Feb 2019 12:16:13 -0600 Subject: [PATCH] Bump version --- shard.yml | 2 +- src/invidious/comments.cr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shard.yml b/shard.yml index e0fea2ee..3ce6e76f 100644 --- a/shard.yml +++ b/shard.yml @@ -1,5 +1,5 @@ name: invidious -version: 0.14.0 +version: 0.14.1 authors: - Omar Roth diff --git a/src/invidious/comments.cr b/src/invidious/comments.cr index 87cd4294..8ac3b156 100644 --- a/src/invidious/comments.cr +++ b/src/invidious/comments.cr @@ -252,7 +252,7 @@ end def fetch_reddit_comments(id) client = make_client(REDDIT_URL) - headers = HTTP::Headers{"User-Agent" => "web:invidio.us:v0.14.0 (by /u/omarroth)"} + headers = HTTP::Headers{"User-Agent" => "web:invidio.us:v0.14.1 (by /u/omarroth)"} query = "(url:3D#{id}%20OR%20url:#{id})%20(site:youtube.com%20OR%20site:youtu.be)" search_results = client.get("/search.json?q=#{query}", headers)