Bellesa Download

Download videos from www.bellesa.co.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         Bellesa Download
// @name:zh-CN   Bellesa Download
// @namespace    uuvvser
// @version      0.9
// @description  Download videos from www.bellesa.co.
// @description:zh-cn 下载www.bellesa.co站点的视频。
// @author       uuvvser
// @match        https://www.bellesa.co/videos/*
// @grant        none
// @run-at       context-menu
// ==/UserScript==
(function() {
    'use strict';
    var blurl=document.querySelector("video source[type='video/mp4']").src;
    var bltitle=document.querySelectorAll("h2")[0].textContent;
    var bldom=document.querySelectorAll("h2")[0];
    var newdom=document.createElement("a");
    newdom.textContent="DOWNLOAD";
    newdom.href=blurl;
    newdom.download=bltitle;
    newdom.target="_blank";
    bldom.appendChild(newdom);
})();