このコミットが含まれているのは:
Omar Roth 2019-01-19 10:03:23 -06:00
コミット 2425368c3a
2個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -1,5 +1,5 @@
name: invidious
version: 0.13.0
version: 0.13.1
authors:
- Omar Roth <omarroth@hotmail.com>

ファイルの表示

@ -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)