From 2425368c3ab23a438f15fe77910050f164c4934c Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 19 Jan 2019 10:03:23 -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 6ed680f2..79997ad4 100644 --- a/shard.yml +++ b/shard.yml @@ -1,5 +1,5 @@ name: invidious -version: 0.13.0 +version: 0.13.1 authors: - Omar Roth diff --git a/src/invidious/comments.cr b/src/invidious/comments.cr index 86dbb6b5..1b81c6b7 100644 --- a/src/invidious/comments.cr +++ b/src/invidious/comments.cr @@ -270,7 +270,7 @@ end def fetch_reddit_comments(id) client = make_client(REDDIT_URL) - headers = HTTP::Headers{"User-Agent" => "web:invidio.us:v0.13.0 (by /u/omarroth)"} + headers = HTTP::Headers{"User-Agent" => "web:invidio.us:v0.13.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)