Rai Play video download

This script allows you to download videos on Rai Play

ישן: v11.0.3 - 01-12-2020 - Fix headers issue on Violentmonkey (thanks to Greendragon) - Fix DRM warning
חדש: v11.0.4 - 22-01-2021 - Fix check for DRM errors

  • --- /tmp/diffy20241230-201735-cbl5ns 2024-12-30 17:57:04.388388800 +0000
  • +++ /tmp/diffy20241230-201735-xgxpg6 2024-12-30 17:57:04.388388800 +0000
  • @@ -1,7 +1,7 @@
  • // ==UserScript==
  • // @name Rai Play video download
  • // @namespace http://andrealazzarotto.com
  • -// @version 11.0.3
  • +// @version 11.0.4
  • // @description This script allows you to download videos on Rai Play
  • // @description:it Questo script ti permette di scaricare i video su Rai Play
  • // @author Andrea Lazzarotto
  • @@ -129,7 +129,8 @@
  • }
  • },
  • (response) => {
  • - var drm = response.finalUrl.indexOf('DRM_RaiPlay') > 0;
  • + console.log(response);
  • + var drm = response.finalUrl.indexOf('DRM_') > 0;
  • if (drm) {
  • DRMError();
  • } else {