summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shard.yml2
-rw-r--r--src/invidious/comments.cr2
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 <omarroth@hotmail.com>
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)