diff options
| author | Omar Roth <omarroth@protonmail.com> | 2019-07-01 10:07:19 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@protonmail.com> | 2019-07-01 10:07:19 -0500 |
| commit | 0632a2d3c8ddb81e5028af9ea0daa76d87fa1d5a (patch) | |
| tree | 9038b444afdd9dfd411e19b43863f29d54a4fde4 | |
| parent | 9f40b3a873db1b0876c7013767fac5ecc91d8647 (diff) | |
| download | invidious-0632a2d3c8ddb81e5028af9ea0daa76d87fa1d5a.tar.gz invidious-0632a2d3c8ddb81e5028af9ea0daa76d87fa1d5a.tar.bz2 invidious-0632a2d3c8ddb81e5028af9ea0daa76d87fa1d5a.zip | |
Fix logging for /watch URLs
| -rw-r--r-- | src/invidious.cr | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index f84c813e..56064393 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -483,8 +483,6 @@ get "/watch" do |env| video.description_html = replace_links(video.description_html) host_url = make_host_url(config, Kemal.config) - host_params = env.request.query_params - host_params.delete_all("v") if video.player_response["streamingData"]?.try &.["hlsManifestUrl"]? hlsvp = video.player_response["streamingData"]["hlsManifestUrl"].as_s @@ -659,8 +657,6 @@ get "/embed/:id" do |env| video.description_html = replace_links(video.description_html) host_url = make_host_url(config, Kemal.config) - host_params = env.request.query_params - host_params.delete_all("v") if video.player_response["streamingData"]?.try &.["hlsManifestUrl"]? hlsvp = video.player_response["streamingData"]["hlsManifestUrl"].as_s |
