mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-03-04 21:29:50 +00:00
SigHelper: Small fixes + suggestions from code review
This commit is contained in:
@@ -101,7 +101,7 @@ struct Video
|
||||
# Methods for parsing streaming data
|
||||
|
||||
def convert_url(fmt)
|
||||
if cfr = fmt["signatureCipher"]?.try { |h| HTTP::Params.parse(h.as_s) }
|
||||
if cfr = fmt["signatureCipher"]?.try { |json| HTTP::Params.parse(json.as_s) }
|
||||
sp = cfr["sp"]
|
||||
url = URI.parse(cfr["url"])
|
||||
params = url.query_params
|
||||
|
||||
Reference in New Issue
Block a user