From c524eb16e5fbe30dcd217fa8ba2ccd7acaaa2cf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Wed, 5 Oct 2022 10:13:54 +0800 Subject: Disable download by RIAA issues Ref: https://torrentfreak.com/riaa-thwarts-youts-attempt-to-declare-youtube-ripping-legal-221002/ Archive: https://archive.ph/OZQbN --- youtube/templates/settings.html | 4 ++-- youtube/templates/watch.html | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'youtube/templates') diff --git a/youtube/templates/settings.html b/youtube/templates/settings.html index 7a7ce9e..cb2b3cd 100644 --- a/youtube/templates/settings.html +++ b/youtube/templates/settings.html @@ -13,9 +13,9 @@ {% if not setting_info.get('hidden', false) %}
  • {% if 'label' is in(setting_info) %} - + {% else %} - + {% endif %} {% if setting_info['type'].__name__ == 'bool' %} diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html index 383d7cb..dc0b6ce 100644 --- a/youtube/templates/watch.html +++ b/youtube/templates/watch.html @@ -97,6 +97,7 @@ Direct Link + {% if settings.use_video_download != 0 %}
    Download
      @@ -116,6 +117,9 @@ {% endfor %}
    + {% else %} + + {% endif %} {{ common_elements.text_runs(description)|escape|urlize|timestamps|safe }}
    -- cgit v1.2.3