mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-10 02:08:23 +00:00
Remove commented line
This commit is contained in:
parent
c5ccefe6f7
commit
8823753b46
@ -358,7 +358,6 @@ end
|
|||||||
def fetch_channel_playlists(ucid, author, continuation, sort_by)
|
def fetch_channel_playlists(ucid, author, continuation, sort_by)
|
||||||
if continuation
|
if continuation
|
||||||
response_json = request_youtube_api_browse(continuation)
|
response_json = request_youtube_api_browse(continuation)
|
||||||
# result = JSON.parse(response_json.match(/"continuationItems": (?<items>\[.*\]),/m).try &.["items"] || "{}")
|
|
||||||
result = JSON.parse(response_json)
|
result = JSON.parse(response_json)
|
||||||
continuationItems = result["onResponseReceivedActions"]?
|
continuationItems = result["onResponseReceivedActions"]?
|
||||||
.try &.[0]["appendContinuationItemsAction"]["continuationItems"]
|
.try &.[0]["appendContinuationItemsAction"]["continuationItems"]
|
||||||
|
Loading…
Reference in New Issue
Block a user