YoutubeDL

Download youtube videos at the comfort of your browser.

< Feedback on YoutubeDL

Question/comment

§
Posted: 10-02-2025

Doesn't work for me. After click the plugin button appears error alart, an error message appears about invalid token from "utomp3" site. I tried to look through code, it seems this happens when tryRequest() method tries to send request to the site with some data, but there's no any tokens exists neither as parameter, neither as body data. After that, with this object, it goes through to the code, until it throws an exception due to an attempt to read the value of a non-existent property(with my response). I tried recreate that request manually with Postman, and I had the same response even without any additional information. Just idk how the API of this site works.

P.S. Some comments on the code :)

  1. Line 586 (tampmonk editor lines). In the part where you try to check the response status in the tryRequest() method you've a ternary with "notok" option,which is not used anywhere else in the code. You can change it to "error", you have a check for that below.
  2. Line 592. The respose in my case has "mess" property with speciefic text value, that differs from your check property result["mess"] == "Token expired". Instead of that speciefic declaration you can use result.hasOwnProperty("mess"), just to check that the specified property exists in object (of course, in case if it doesn't exists on a successful response). This will throw exception more specifically, without going to the downloading part.
§
Posted: 10-02-2025

I don't know, I hope it's not my environment and brain's fault, otherwise it would be silly xD.
Anyway, I'm looking forward to your answer <3.

realcolorideAuthor
§
Posted: 08-03-2025

Hello and sorry for the lack of news. The link in question has started to actively block requests manually, so I need to look for a fix. Sorry for the inconvenience :v

Post reply

Sign in to post a reply.