summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2019-01-19 10:03:23 -0600
committerOmar Roth <omarroth@hotmail.com>2019-01-19 10:03:23 -0600
commit2425368c3ab23a438f15fe77910050f164c4934c (patch)
tree70a228b5d9bae329adb0d6f71c6644bf70255b77 /src
parent20c4d213d9565efa27bde05c17080a95ebb6b6d3 (diff)
downloadinvidious-2425368c3ab23a438f15fe77910050f164c4934c.tar.gz
invidious-2425368c3ab23a438f15fe77910050f164c4934c.tar.bz2
invidious-2425368c3ab23a438f15fe77910050f164c4934c.zip
Bump version
Diffstat (limited to 'src')
-rw-r--r--src/invidious/comments.cr2
1 files changed, 1 insertions, 1 deletions
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)