Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Uncaught SyntaxError #16

Open
compotts opened this issue Oct 10, 2024 · 5 comments
Open

Uncaught SyntaxError #16

compotts opened this issue Oct 10, 2024 · 5 comments

Comments

@compotts
Copy link

image
when clicking on the download button instead of downloading in the console, an error occurred

@IvanTheDeveloper
Copy link

im having the same issue

@patritha
Copy link

me too

@Typical-Engineer
Copy link

Seeing the same error on Chrome:

ncaught SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
    at JSON.parse (<anonymous>)
    at Object.onload (userscript.html?name=YouTube-downloader.user.js&id=8831cb0b-1bf7-4d0b-85d4-663cd3abd9a4:99:39)
    at wt (<anonymous>:9:89)
    at <anonymous>:36:335
    at wt (<anonymous>:9:89)
    at r (<anonymous>:24:484)
    at <anonymous>:25:112
    at <anonymous>:76:491
    at v (<anonymous>:77:15)

@PixelGuy123
Copy link

image
Apparently this is what is being returned on the snippet that requests a callback to the cobalt service. A whole html string instead of the expected json string. I've accessed cobalt.tools and I noticed they use the CloudFlare service... I tried using a yt link, but the bot detection (service provided by CloudFlare) seems to never give a response, making me unable of downloading the video.

This was referenced Oct 20, 2024
@madkarmaa
Copy link
Owner

The API used to download the videos has stopped providing free instances. The repository is archived until further notice.

MORE INFO

@madkarmaa madkarmaa pinned this issue Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants