Don't use categories for sponsorBlock ( forgot to revert that )

This commit is contained in:
Loïc Bersier 2020-09-02 23:26:48 +00:00
parent 98c815ee71
commit 20969f948f

View file

@ -211,7 +211,7 @@ class DownloadController {
if (data.sponsorBlock) { // WARNING: THIS PART SUCK if (data.sponsorBlock) { // WARNING: THIS PART SUCK
let filter = ''; let filter = '';
let abc = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']; let abc = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'];
fetch(`https://sponsor.ajay.app/api/skipSegments?videoID=${videoID}?categories=["sponsor","music_offtopic"]`) fetch(`https://sponsor.ajay.app/api/skipSegments?videoID=${videoID}`)
.then(res => { .then(res => {
if (res.status === 404) { if (res.status === 404) {
let viewOption = {...defaultViewOption}; let viewOption = {...defaultViewOption};