mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2026-01-05 08:09:07 +03:00
Fix getting segments
(managed to break it last time)
This commit is contained in:
@@ -121,9 +121,9 @@ class ApiHelper:
|
||||
if str(i["videoID"]) == str(vid_id):
|
||||
response_json = i
|
||||
break
|
||||
return self.process_segments(response)
|
||||
return self.process_segments(response_json)
|
||||
|
||||
def process_segments(response):
|
||||
def process_segments(self, response):
|
||||
segments = []
|
||||
ignore_ttl = True
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user