Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dislikes API should only run if updatetitleyoutubestats or showdescription is set to true. #51

Closed
Samillion opened this issue Sep 23, 2024 · 0 comments

Comments

@Samillion
Copy link

If user_opts does not require exec_dislikes(), halt API calls through curl.

ModernX/modernx.lua

Lines 1363 to 1365 in 4e7ec24

-- Youtube Return Dislike API
state.dislikes = ""
if path:find('youtu%.?be') then

For example:

if  path:find('youtu%.?be') and (user_opts.showdescription or user_opts.updatetitleyoutubestats) then
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants