diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-02-25 12:16:13 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-02-25 12:16:13 -0600 |
| commit | 2847c34f58ea6b32b39c231a0cbdb5d764895e04 (patch) | |
| tree | 3bc11bd9eb5f2edf69b6f29b663b1902f80247d0 | |
| parent | b5a00f3c47f76871722bf5ae957b2b890789ca72 (diff) | |
| download | invidious-2847c34f58ea6b32b39c231a0cbdb5d764895e04.tar.gz invidious-2847c34f58ea6b32b39c231a0cbdb5d764895e04.tar.bz2 invidious-2847c34f58ea6b32b39c231a0cbdb5d764895e04.zip | |
Bump version
| -rw-r--r-- | shard.yml | 2 | ||||
| -rw-r--r-- | src/invidious/comments.cr | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ name: invidious -version: 0.14.0 +version: 0.14.1 authors: - Omar Roth <omarroth@hotmail.com> 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) |
