summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRadoslavL <rlelchev@abv.bg>2023-11-08 10:18:29 +0200
committerRadoslavL <rlelchev@abv.bg>2023-11-08 10:18:29 +0200
commit76369eb599ff3ae8a1fd89e6c2d1ae745b1276e3 (patch)
tree5e567f4a973a96836f0865b903227daf469aefc8 /src
parent6236cea33e1393a4708bfd3a0083e05e553bc8ed (diff)
downloadinvidious-76369eb599ff3ae8a1fd89e6c2d1ae745b1276e3.tar.gz
invidious-76369eb599ff3ae8a1fd89e6c2d1ae745b1276e3.tar.bz2
invidious-76369eb599ff3ae8a1fd89e6c2d1ae745b1276e3.zip
Removed unused attribute
Diffstat (limited to 'src')
-rw-r--r--src/invidious/videos/parser.cr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/invidious/videos/parser.cr b/src/invidious/videos/parser.cr
index 52623051..275395df 100644
--- a/src/invidious/videos/parser.cr
+++ b/src/invidious/videos/parser.cr
@@ -93,7 +93,7 @@ def extract_video_info(video_id : String, proxy_region : String? = nil)
player_response = player_response.merge(next_response)
end
- params = parse_video_info(video_id, player_response, proxy_region)
+ params = parse_video_info(video_id, player_response)
params["reason"] = JSON::Any.new(reason) if reason
new_player_response = nil
@@ -158,7 +158,7 @@ def try_fetch_streaming_data(id : String, client_config : YoutubeAPI::ClientConf
end
end
-def parse_video_info(video_id : String, player_response : Hash(String, JSON::Any), proxy_region : String? = nil) : Hash(String, JSON::Any)
+def parse_video_info(video_id : String, player_response : Hash(String, JSON::Any)) : Hash(String, JSON::Any)
# Top level elements
main_results = player_response.dig?("contents", "twoColumnWatchNextResults")