// ==UserScript==
// @name JavBus Javdb library trailer
// @name:zh-CN JavBus/Javdb/library图书馆预告片花Direct
// @namespace https://greasyfork.org/zh-CN/scripts/441120-javbus-javdb-library-trailer
// @homepageURL https://greasyfork.org/zh-CN/scripts/441120-javbus-javdb-library-trailer
// @version 2022.1102.1410
// @description JavBus/Javdb/library图书馆预告片花Direct,番号页封面下直接显示,默认静音播放
// @description:zh-cn JavBus/Javdb/library图书馆预告片花Direct,番号页封面下直接显示,默认静音播放
// @author 匿名
// @license GPL
// @include /^.*(jav|bus|dmm|see|cdn|fan){2}\..*$/
// @include *://*.javlib.com/*
// @include *://*.javlibrary.com/*
// @include *://*/cn/?v=jav*
// @include *://*/en/?v=jav*
// @include *://*/tw/?v=jav*
// @include *://*/ja/?v=jav*
// @include *://*/tw/movie/jav*
// @include *://javdb*.com/v/*
// @match *://*.javlib.com/*
// @match *://*.javlibrary.com/*
// @match *://www.javbus.com/*
// @match *://www.javdb.com/*
// @grant GM_download
// @grant GM_xmlhttpRequest
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_notification
// @grant GM_setClipboard
// @grant GM_getResourceURL
// @connect btsow.club
// ==/UserScript==
/**
* - 2022-11-01 新增支持javdb,补足db已有预览片不足,legsjapan全系列数据静态支持
* - 2022-09-15 重新对片花地址进行修正,支持bus和图书馆,并公开分享脚本,期待愈加完善
* - 以下为历史记录
* - 2022-03-08
* 脚本由 https://greasyfork.org/zh-CN/scripts/400267-javbus 二次修改以兼容老司机脚本
* - 只保留 预告片 功能,其它剔除
* - 可根据电脑分辨率自行调整播放器宽度,高度会自适应(搜索1120px修改合适值)
* - (脚本是在和老司机脚本做兼容,不保证兼容其它脚本,水平有限,仅作自用,不予公开)
*/
(function () {
'use strict';
function GM_addStyle(css) {
const style = document.getElementById("GM_addStyleBy8626") || (function () {
const style = document.createElement('style');
style.type = 'text/css';
style.id = "GM_addStyleBy8626";
document.head.appendChild(style);
return style;
})();
style.innerHTML = css;
}
/**
* 左则补零
* @param num
* @param len
* @returns {*}
*/
function format_zero(num, len) {
if (String(num).length > len) return num;
return (Array(len).join(0) + num).slice(-len);
}
//瀑布流
class Waterfull {
constructor() {
// 瀑布流状态:1:开启、0:关闭
this.waterfullScrollStatus = GM_getValue('scroll_status', 1);
this.done = true;
this.masonryObj = null;
this.config = {};
}
init(config) {
this.config = config;
//滚动
if (this.waterfullScrollStatus > 0 && $(this.config['pagination']).length > 0) {
document.addEventListener('scroll', this.scroll.bind(this));
}
if (this.config['useMasonry']) {
this.masonryObj = $(this.config['selector']).masonry({
itemSelector: this.config['items'],
isAnimated : false,
isFitWidth : true
})
}
}
//滚动到底获取数据
scroll() {
if ($(this.config['pagination'])[0].getBoundingClientRect().top - $(window).height() < 500 && this.done) {
this.getData();
}
};
//获取数据
getData() {
let url = $(this.config['next']).attr('href');
let _this = this;
if (url !== undefined) {
this.done = false;
fetch(url, {credentials: 'same-origin'})
.then(function (response) {
return response.text();
})
.then(function (html) {
let dom = new DOMParser().parseFromString(html, 'text/html');
dom = $(dom);
let avatarBox = dom.find(_this.config['items']).find('.avatar-box');
if (avatarBox.length > 0) {
avatarBox.parent().remove();
}
let elems = dom.find(_this.config['items']);
elems.each(function (i) {
$(this).attr('style', '');
$(this).find('a').attr('target', '_blank')
if (_this.config['selector'] === 'div#video_comments') {
let text = $(this).find('textarea').val();
text = text.replace(/\[url=([^\[\]]*?)\](.*?)\[\/url\]/g, '<a href="redirect.php?url=$1" target="_blank">$2</a>')
text = text.replace(/\[color=([^\[\]]*?)\](.*?)\[\/color\]/g, '<span style="color:$1">$2</span>')
text = text.replace(/\[b\](.*?)\[\/b\]/g, '<b>$1</b>')
$(this).find('.text').html(text).css('width', '442px');
}
});
$(_this.config['pagination']).html(dom.find(_this.config['pagination']).html());
$(_this.config['selector']).append(elems);
if (_this.config['useMasonry']) {
_this.masonryObj.masonry('appended', elems).masonry();
}
_this.done = true;
})
}
}
}
class Request {
constructor() {
this.lock = [];
}
send(url, successCallback) {
let _this = this;
return new Promise(function (resolve, reject) {
let index = _this.lock.indexOf(url);
if (index === -1) {
_this.lock.push(url);
GM_xmlhttpRequest({
url,
method : 'GET',
headers : {
"Cache-Control": "no-cache"
},
timeout : 30000,
onload : function (response) {
console.log(url + ' success');
_this.lock.splice(index, 1);
resolve(response);
},
onabort : (e) => {
console.log(url + " abort");
reject("wrong");
},
onerror : (e) => {
console.log(url + " error");
console.log(e);
reject("wrong");
},
ontimeout: (e) => {
console.log(url + " timeout");
reject("wrong");
},
});
} else {
reject("发送请求ing");
}
}).then(function (response) {
successCallback(response);
}, function (err) {
console.log(err)
});
}
}
class Base {
downloadPic(title, imgUrl) {
GM_download({
url : imgUrl,
saveAs: false,
name : title + imgUrl.substring(imgUrl.lastIndexOf("."))
});
}
addVideo(code, obj) {
let codeArr = code.split(/-/);
let videoSeries = codeArr[0].toLowerCase();
let videoNo = format_zero(codeArr[1], 5);
let videoTwo = codeArr[1].substring(1);
let videoUrl = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_dmb_w.mp4';
if (code.indexOf('HEYZO') !== -1) {
videoUrl = 'https://www.heyzo.com/contents/3000/' + codeArr[1] + '/heyzo_hd_' + codeArr[1] + '_sample.mp4'
}
let videoUrl2 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl3 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + codeArr[1] + '/1' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl4 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + codeArr[1] + '/1' + videoSeries + codeArr[1] + '_mhb_w.mp4';
let videoUrl5 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1324' + videoSeries + codeArr[1] + '/h_1324' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl6 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1472' + videoSeries + videoNo + '/h_1472' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl7 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_113' + videoSeries + codeArr[1] + '/h_113' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl8 = '//cc3001.dmm.co.jp/litevideo/freepv/1/118/118' + videoSeries + videoNo + '/118' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl9 = '//cc3001.dmm.co.jp/litevideo/freepv/1/118/118' + videoSeries + codeArr[1] + '/118' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl10 = '//cc3001.dmm.co.jp/litevideo/freepv/5/53' + videoSeries.substr(0, 1) + '/53' + videoSeries + codeArr[1] + '/53' + videoSeries + codeArr[1] + '_sm_s.mp4';
let videoUrl11 = '//cc3001.dmm.co.jp/litevideo/freepv/5/53' + videoSeries.substr(0, 1) + '/53' + videoSeries + codeArr[1] + '/53' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl12 = '//cc3001.dmm.co.jp/litevideo/freepv/1/13' + videoSeries.substr(0, 1) + '/13' + videoSeries + codeArr[1] + '/13' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl13 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_6/h_687' + videoSeries + codeArr[1] + '/h_687' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl14 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1594' + videoSeries + videoNo + '/h_1594' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl15 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl16 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1100' + videoSeries + codeArr[1] + '/h_1100' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl17 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_2/h_283' + videoSeries + codeArr[1] + '/h_283' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl18 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_4/h_491' + videoSeries + codeArr[1] + '/h_491' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl19 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1616' + videoSeries + videoNo + '/h_1616' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl20 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1386' + videoSeries + videoNo + '/h_1386' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl21 = '//cc3001.dmm.co.jp/litevideo/freepv/5/55' + videoSeries.substr(0, 1) + '/55' + videoSeries + codeArr[1] + '/55' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl22 = '//cc3001.dmm.co.jp/litevideo/freepv/1/12l/12' + videoSeries + codeArr[1] + '/12' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl26 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1560' + videoSeries + videoNo + '/h_1560' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl27 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1160' + videoSeries + codeArr[1] + '/h_1160' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl28 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_2/h_254' + videoSeries + codeArr[1] + '/h_254' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl29 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_2/h_227' + videoSeries + videoNo + '/h_227' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl30 = '//cc3001.dmm.co.jp/litevideo/freepv/1/125/125' + videoSeries + codeArr[1] + '/125' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl31 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_3/h_346' + videoSeries + codeArr[1] + '/h_346' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl32 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1495' + videoSeries + codeArr[1] + '/h_1495' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl33 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_0/h_068' + videoSeries + codeArr[1] + '/h_068' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl34 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_0/h_086' + videoSeries + videoTwo + '/h_086' + videoSeries + videoTwo + '_dmb_w.mp4';
let videoUrl35 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_0/h_086' + videoSeries + videoTwo + '/h_086' + videoSeries + videoTwo + '_sm_w.mp4';
let videoUrl36 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_0/h_086' + videoSeries + codeArr[1] + '/h_086' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl37 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_0/h_086' + videoSeries + videoTwo + '/h_086' + videoSeries + videoTwo + '_dm_w.mp4';
let videoUrl38 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1160' + videoSeries + videoTwo + '/h_1160' + videoSeries + videoTwo + '_dm_w.mp4';
let videoUrl39 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_6/h_635' + videoSeries + codeArr[1] + '/h_635' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl40 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_6/h_635' + videoSeries + codeArr[1] + '/h_635' + videoSeries + codeArr[1] + '_sm_w.mp4';
let videoUrl41 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_127' + videoSeries + videoNo + '/h_127' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl42 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_127' + videoSeries + codeArr[1] + '/h_127' + videoSeries + codeArr[1] + '_sm_s.mp4';
let videoUrl43 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_4/h_480' + videoSeries + videoNo + '/h_480' + videoSeries + videoNo + '_dm_w.mp4'; //AAJB-143
let videoUrl44 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_170' + videoSeries + codeArr[1] + '/h_170' + videoSeries + codeArr[1] + '_dmb_w.mp4'; //AAK-048
let videoUrl45 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_2/h_237' + videoSeries + codeArr[1] + '/h_237' + videoSeries + codeArr[1] + '_dmb_w.mp4'; //FIND-002
let videoUrl46 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1615' + videoSeries + videoNo + '/h_1615' + videoSeries + videoNo + '_mhb_w.mp4';
let videoUrl47 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1350' + videoSeries + videoNo + '/h_1350' + videoSeries + videoNo + '_dm_w.mp4'; // VOV-004
let videoUrl48 = '//cc3001.dmm.co.jp/litevideo/freepv/1/118/118' + videoSeries + codeArr[1] + '/118' + videoSeries + codeArr[1] + '_dm_w.mp4'; // CRS-058
let videoUrl49 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1133' + videoSeries + codeArr[1] + '/h_1133' + videoSeries + codeArr[1] + '_dmb_w.mp4'; // knwf005
let videoUrl50 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dm_s.mp4';
let videoUrl95 = 'http://smovie.1pondo.tv/sample/movies/' + code + '/1080p.mp4'; //一本道 1pondo
let videoUrl96 = 'https://www.prestige-av.com/sample_movie/TKT' + code + '.mp4';
let videoUrl97 = 'https://sample.mgstage.com/sample/fullsail/' + videoSeries + '/' + codeArr[1] + '/' + code + '.mp4'; //ABC-056
let videoUrl98 = 'https://my.cdn.tokyo-hot.com/media/samples/' + code + '.mp4'; //东京热 tokyo-hot AB-001
let videoUrl99 = 'https://smovie.caribbeancom.com/sample/movies/' + code + '/1080p.mp4'; //加勒比 carib
let videoUrl100 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_dmb_w.mp4';
let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
<video controls autoplay muted style="width: 1120px;">\
<source src="' + videoUrl + '" type="video/mp4" />\
<source src="' + videoUrl2 + '" type="video/mp4" />\
<source src="' + videoUrl3 + '" type="video/mp4" />\
<source src="' + videoUrl4 + '" type="video/mp4" />\
<source src="' + videoUrl5 + '" type="video/mp4" />\
<source src="' + videoUrl6 + '" type="video/mp4" />\
<source src="' + videoUrl7 + '" type="video/mp4" />\
<source src="' + videoUrl8 + '" type="video/mp4" />\
<source src="' + videoUrl9 + '" type="video/mp4" />\
<source src="' + videoUrl10 + '" type="video/mp4" />\
<source src="' + videoUrl11 + '" type="video/mp4" />\
<source src="' + videoUrl12 + '" type="video/mp4" />\
<source src="' + videoUrl13 + '" type="video/mp4" />\
<source src="' + videoUrl14 + '" type="video/mp4" />\
<source src="' + videoUrl15 + '" type="video/mp4" />\
<source src="' + videoUrl16 + '" type="video/mp4" />\
<source src="' + videoUrl17 + '" type="video/mp4" />\
<source src="' + videoUrl18 + '" type="video/mp4" />\
<source src="' + videoUrl19 + '" type="video/mp4" />\
<source src="' + videoUrl20 + '" type="video/mp4" />\
<source src="' + videoUrl21 + '" type="video/mp4" />\
<source src="' + videoUrl22 + '" type="video/mp4" />\
<source src="' + videoUrl26 + '" type="video/mp4" />\
<source src="' + videoUrl27 + '" type="video/mp4" />\
<source src="' + videoUrl28 + '" type="video/mp4" />\
<source src="' + videoUrl29 + '" type="video/mp4" />\
<source src="' + videoUrl30 + '" type="video/mp4" />\
<source src="' + videoUrl31 + '" type="video/mp4" />\
<source src="' + videoUrl32 + '" type="video/mp4" />\
<source src="' + videoUrl33 + '" type="video/mp4" />\
<source src="' + videoUrl34 + '" type="video/mp4" />\
<source src="' + videoUrl35 + '" type="video/mp4" />\
<source src="' + videoUrl36 + '" type="video/mp4" />\
<source src="' + videoUrl37 + '" type="video/mp4" />\
<source src="' + videoUrl38 + '" type="video/mp4" />\
<source src="' + videoUrl39 + '" type="video/mp4" />\
<source src="' + videoUrl40 + '" type="video/mp4" />\
<source src="' + videoUrl41 + '" type="video/mp4" />\
<source src="' + videoUrl42 + '" type="video/mp4" />\
<source src="' + videoUrl43 + '" type="video/mp4" />\
<source src="' + videoUrl44 + '" type="video/mp4" />\
<source src="' + videoUrl45 + '" type="video/mp4" />\
<source src="' + videoUrl46 + '" type="video/mp4" />\
<source src="' + videoUrl47 + '" type="video/mp4" />\
<source src="' + videoUrl48 + '" type="video/mp4" />\
<source src="' + videoUrl49 + '" type="video/mp4" />\
<source src="' + videoUrl50 + '" type="video/mp4" />\
<source src="' + videoUrl95 + '" type="video/mp4" />\
<source src="' + videoUrl96 + '" type="video/mp4" />\
<source src="' + videoUrl97 + '" type="video/mp4" />\
<source src="' + videoUrl98 + '" type="video/mp4" />\
<source src="' + videoUrl99 + '" type="video/mp4" />\
<source src="' + videoUrl100 + '" type="video/mp4" />\
</video>\
</div>');
$(obj).before(video)
}
addVideoN(code, objN) {
let videoUrl = 'https://my.cdn.tokyo-hot.com/media/samples/' + code + '.mp4';
if (null != location.href.match(/crazyasia/)) {
videoUrl = 'https://my.cdn.tokyo-hot.com/media/samples/' + code + '.mp4'
} //东京热 tokyo-hot AB-001
if (null != code.match(/RED048/i)) {
videoUrl = 'https://my.cdn.tokyo-hot.com/media/samples/5923.mp4'
}
if (null != code.match(/RED065/i)) {
videoUrl = 'https://my.cdn.tokyo-hot.com/media/samples/5924.mp4'
}
let videoUrl2 = 'https://ppvclips02.aventertainments.com/00m3u8/' + code + '/' + code + '.mp4';
//https://ppvclips02.aventertainments.com/00m3u8/RED170/RED170.m3u8
//https://ppvclips02.aventertainments.com/00m3u8/RHJ-210/RHJ-210.m3u8
let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
<video controls autoplay muted style="width: 1120px;">\
<source src="' + videoUrl + '" type="video/mp4" />\
<source src="' + videoUrl2 + '" type="video/mp4" />\
</video>\
</div>');
$(objN).before(video)
}
addVideoY(code, objY) {
let videoUrl = 'http://smovie.1pondo.tv/sample/movies/' + code + '/1080p.mp4';
let videoUrl2 = 'https://smovie.1pondo.tv/sample/movies/' + code + '/480p.mp4';
let videoUrl3 = 'https://smovie.1pondo.tv/sample/movies/' + code + '/520p.mp4';
let videoUrl4 = 'https://smovie.1pondo.tv/sample/movies/' + code + '/720p.mp4';
if (null != location.href.match(/crazyasia/)) {
videoUrl = 'http://smovie.1pondo.tv/sample/movies/' + code + '/1080p.mp4'
} //一本道
let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
<video controls autoplay muted style="width: 1120px;">\
<source src="' + videoUrl + '" type="video/mp4" />\
<source src="' + videoUrl2 + '" type="video/mp4" />\
<source src="' + videoUrl3 + '" type="video/mp4" />\
<source src="' + videoUrl4 + '" type="video/mp4" />\
</video>\
</div>');
$(objY).before(video)
}
addVideoC(code, objC) {
let videoUrl = 'https://smovie.caribbeancom.com/sample/movies/' + code + '/1080p.mp4';
if (null != location.href.match(/crazyasia/)) {
videoUrl = 'https://smovie.caribbeancom.com/sample/movies/' + code + '/1080p.mp4'
} //加勒比
let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
<video controls autoplay muted style="width: 1120px;">\
<source src="' + videoUrl + '" type="video/mp4" />\
</video>\
</div>');
$(objC).before(video)
}
addVideoH(code, objH) {
let videoUrl = 'https://smovie.10musume.com/sample/movies/' + code + '/1080p.mp4';
if (null != location.href.match(/crazyasia/)) {
videoUrl = 'https://smovie.10musume.com/sample/movies/' + code + '/1080p.mp4'
} //天然むすめ https://smovie.10musume.com/sample/movies/052319_01/1080p.mp4
let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
<video controls autoplay muted style="width: 1120px;">\
<source src="' + videoUrl + '" type="video/mp4" />\
</video>\
</div>');
$(objH).before(video)
}
addVideoVR(code, objVR) {
let codeArr = code.split(/-/);
let videoSeries = codeArr[0].toLowerCase();
let videoNo = format_zero(codeArr[1], 5);
let videoTwo = codeArr[1].substring(1);
let videoUrl = '//cc3001.dmm.co.jp/vrsample/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + 'vrlite.mp4';
let videoUrl2 = '//cc3001.dmm.co.jp/vrsample/1/13' + videoSeries[0] + '/13' + videoSeries + videoNo + '/13' + videoSeries + videoNo + 'vrlite.mp4';
let videoUrl3 = '//cc3001.dmm.co.jp/vrsample/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + 'vrlite.mp4';
let videoUrl4 = '//cc3001.dmm.co.jp/vrsample/2/24' + videoSeries[0] + '/24' + videoSeries + videoNo + '/24' + videoSeries + videoNo + 'vrlite.mp4';
let videoUrl5 = '//cc3001.dmm.co.jp/vrsample/h/h_9/h_955' + videoSeries + videoNo + '/h_955' + videoSeries + videoNo + 'vrlite.mp4';
let videoUrl6 = '//cc3001.dmm.co.jp/vrsample/h/h_1/h_1248' + videoSeries + videoNo + '/h_1248' + videoSeries + videoNo + 'vrlite.mp4';
let videoUrl7 = '//cc3001.dmm.co.jp/vrsample/h/h_1/h_1321' + videoSeries + videoNo + '/h_1321' + videoSeries + videoNo + 'vrlite.mp4';
let videoUrl8 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1245' + videoSeries + videoNo + '/h_1245' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl9 = '//cc3001.dmm.co.jp/litevideo/freepv/1/13' + videoSeries[0] + '/13' + videoSeries + videoNo + '/13' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl10 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl11 = '//cc3001.dmm.co.jp/litevideo/freepv/2/24' + videoSeries[0] + '/24' + videoSeries + videoNo + '/24' + videoSeries + videoNo + '_dm_w.mp4';
let videoUrl12 = '//cc3001.dmm.co.jp/vrsample/5/55' + videoSeries[0] + '/55' + videoSeries + videoNo + '/55' + videoSeries + videoNo + 'vrlite.mp4';
let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
<video controls autoplay muted style="width: 1120px;">\
<source src="' + videoUrl + '" type="video/mp4" />\
<source src="' + videoUrl2 + '" type="video/mp4" />\
<source src="' + videoUrl3 + '" type="video/mp4" />\
<source src="' + videoUrl4 + '" type="video/mp4" />\
<source src="' + videoUrl5 + '" type="video/mp4" />\
<source src="' + videoUrl6 + '" type="video/mp4" />\
<source src="' + videoUrl7 + '" type="video/mp4" />\
<source src="' + videoUrl8 + '" type="video/mp4" />\
<source src="' + videoUrl9 + '" type="video/mp4" />\
<source src="' + videoUrl10 + '" type="video/mp4" />\
<source src="' + videoUrl11 + '" type="video/mp4" />\
<source src="' + videoUrl12 + '" type="video/mp4" />\
</video>\
</div>');
$(objVR).before(video)
}
//适配dandan-系列 全5位00 DMM分辨率 mhb_w.mp4=3000 kbps\dmb_w.mp4=1500 kbps\dm_w.mp4=1000 kbps\sm_w.mp4=300 kbps
addVideodandan(code, objdandan) {
let codeArr = code.split(/-/);
let videoSeries = codeArr[0].toLowerCase();
let videoNo = format_zero(codeArr[1], 5);
let videoTwo = codeArr[1].substring(1);
let videoUrl = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + '_mhb_w.mp4';
let videoUrl2 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl3 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + '_dm_w.mp4';
let videoUrl4 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + '_sm_w.mp4';
let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
<video controls autoplay muted style="width: 1120px;">\
<source src="' + videoUrl + '" type="video/mp4" />\
<source src="' + videoUrl2 + '" type="video/mp4" />\
<source src="' + videoUrl3 + '" type="video/mp4" />\
<source src="' + videoUrl4 + '" type="video/mp4" />\
</video>\
</div>');
$(objdandan).before(video)
}
// MDTM-系列
addVideoMDTM(code, objMDTM) {
let codeArr = code.split(/-/);
let videoSeries = codeArr[0].toLowerCase();
let videoNo = format_zero(codeArr[1], 5);
let videoTwo = codeArr[1].substring(1);
let videoUrl = '//cc3001.dmm.co.jp/litevideo/freepv/8/84' + videoSeries.substr(0, 1) + '/84' + videoSeries + codeArr[1] + '/84' + videoSeries + codeArr[1] + '_mhb_w.mp4';
let videoUrl2 = '//cc3001.dmm.co.jp/litevideo/freepv/8/84' + videoSeries.substr(0, 1) + '/84' + videoSeries + codeArr[1] + '/84' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl3 = '//cc3001.dmm.co.jp/litevideo/freepv/8/84' + videoSeries.substr(0, 1) + '/84' + videoSeries + codeArr[1] + '/84' + videoSeries + codeArr[1] + '_dm_w.mp4';
let videoUrl4 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl5 = '//cc3001.dmm.co.jp/litevideo/freepv/8/84' + videoSeries.substr(0, 1) + '/84' + videoSeries + codeArr[1] + '/84' + videoSeries + codeArr[1] + '_sm_w.mp4';
let videoUrl6 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_mhb_w.mp4';
let videoUrl7 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dm_w.mp4';
let videoUrl8 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_sm_w.mp4';
let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
<video controls autoplay muted style="width: 1120px;">\
<source src="' + videoUrl + '" type="video/mp4" />\
<source src="' + videoUrl2 + '" type="video/mp4" />\
<source src="' + videoUrl3 + '" type="video/mp4" />\
<source src="' + videoUrl4 + '" type="video/mp4" />\
<source src="' + videoUrl5 + '" type="video/mp4" />\
<source src="' + videoUrl6 + '" type="video/mp4" />\
<source src="' + videoUrl7 + '" type="video/mp4" />\
<source src="' + videoUrl8 + '" type="video/mp4" />\
</video>\
</div>');
$(objMDTM).before(video)
}
//db无码legsjapan系列 Digital J 制作商 因此系列地址无规则,用的编号后随机字符,所以把所有数据弄下来啦
addVideolegsjapan(code, objlegsjapan) {
let videoUrl = 'https://cdn.legsjapan.com/samples/003f7386/sample.mp4'; //如果脚本数据里没有则默认显示003的预览
if (code.indexOf('003') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/003f7386/sample.mp4'}
if (code.indexOf('005') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/005svnvl/sample.mp4'}
if (code.indexOf('007') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/007d8q8a/sample.mp4'}
if (code.indexOf('009') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/009l3sw9/sample.mp4'}
if (code.indexOf('011') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/011awxdf/sample.mp4'}
if (code.indexOf('013') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/013h4raz/sample.mp4'}
if (code.indexOf('015') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/015eu2rm/sample.mp4'}
if (code.indexOf('0188') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/0188kl4g/sample.mp4'}
if (code.indexOf('020') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/020z6z0t/sample.mp4'}
if (code.indexOf('022') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/022b4rc3/sample.mp4'}
if (code.indexOf('024') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/024ewta0/sample.mp4'}
if (code.indexOf('026') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/026wbfmu/sample.mp4'}
if (code.indexOf('02889') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/02889gzs/sample.mp4'}
if (code.indexOf('030644') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/030644s6/sample.mp4'}
if (code.indexOf('033') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/033pgjlv/sample.mp4'}
if (code.indexOf('035') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/035ctn5t/sample.mp4'}
if (code.indexOf('037') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/037pryla/sample.mp4'}
if (code.indexOf('039') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/039vk0te/sample.mp4'}
if (code.indexOf('041') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/041s8ktd/sample.mp4'}
if (code.indexOf('043') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/043si18i/sample.mp4'}
if (code.indexOf('045') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/045ceuwi/sample.mp4'}
if (code.indexOf('0489') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/0489ytob/sample.mp4'}
if (code.indexOf('050') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/050i9s31/sample.mp4'}
if (code.indexOf('0523') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/0523dvo4/sample.mp4'}
if (code.indexOf('0548') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/0548r56u/sample.mp4'}
if (code.indexOf('056') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/056cq8ju/sample.mp4'}
if (code.indexOf('058') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/058cwrag/sample.mp4'}
if (code.indexOf('060') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/060wfd8z/sample.mp4'}
if (code.indexOf('063') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/063c7nrq/sample.mp4'}
if (code.indexOf('065') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/065bb7br/sample.mp4'}
if (code.indexOf('067261') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/067261c0/sample.mp4'}
if (code.indexOf('069') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/069s6cu8/sample.mp4'}
if (code.indexOf('071') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/071vjvwe/sample.mp4'}
if (code.indexOf('07382') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/07382tba/sample.mp4'}
if (code.indexOf('075') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/075b1d1r/sample.mp4'}
if (code.indexOf('0771') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/0771lshk/sample.mp4'}
if (code.indexOf('080') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/080oitor/sample.mp4'}
if (code.indexOf('083') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/083w5mwq/sample.mp4'}
if (code.indexOf('086') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/086asld5/sample.mp4'}
if (code.indexOf('08800') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/08800vm8/sample.mp4'}
if (code.indexOf('090') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/090hoe8y/sample.mp4'}
if (code.indexOf('092') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/092hklz1/sample.mp4'}
if (code.indexOf('094') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/094jpmf8/sample.mp4'}
if (code.indexOf('097') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/097cwyb9/sample.mp4'}
if (code.indexOf('0995') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/0995d3lw/sample.mp4'}
if (code.indexOf('1001') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1001rbxe/sample.mp4'}
if (code.indexOf('1003') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1003dcoh/sample.mp4'}
if (code.indexOf('1005') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1005bxjw/sample.mp4'}
if (code.indexOf('1007') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1007ucld/sample.mp4'}
if (code.indexOf('1009') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1009powz/sample.mp4'}
if (code.indexOf('1011') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1011smvy/sample.mp4'}
if (code.indexOf('1013') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1013qxaa/sample.mp4'}
if (code.indexOf('1015') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1015mgmg/sample.mp4'}
if (code.indexOf('1017') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1017xqfs/sample.mp4'}
if (code.indexOf('1019') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1019bkmo/sample.mp4'}
if (code.indexOf('1021') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1021nxhn/sample.mp4'}
if (code.indexOf('1023') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1023clhj/sample.mp4'}
if (code.indexOf('1025') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1025sqhz/sample.mp4'}
if (code.indexOf('1027') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1027agfm/sample.mp4'}
if (code.indexOf('1029') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1029wwlb/sample.mp4'}
if (code.indexOf('1031') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1031bvzp/sample.mp4'}
if (code.indexOf('1033') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1033tzwi/sample.mp4'}
if (code.indexOf('1035') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1035yqdr/sample.mp4'}
if (code.indexOf('1037') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1037zhxh/sample.mp4'}
if (code.indexOf('1039') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1039lmtq/sample.mp4'}
if (code.indexOf('103') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/103rgal2/sample.mp4'}
if (code.indexOf('1041') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1041yrtf/sample.mp4'}
if (code.indexOf('1043') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1043ajlw/sample.mp4'}
if (code.indexOf('1045') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1045xcwt/sample.mp4'}
if (code.indexOf('1047') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1047eqcn/sample.mp4'}
if (code.indexOf('1049') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1049lose/sample.mp4'}
if (code.indexOf('1051') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1051cyin/sample.mp4'}
if (code.indexOf('1053') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1053ykvj/sample.mp4'}
if (code.indexOf('1055') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1055pwvx/sample.mp4'}
if (code.indexOf('1057') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1057eqog/sample.mp4'}
if (code.indexOf('1059') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1059gciz/sample.mp4'}
if (code.indexOf('1061') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1061kshe/sample.mp4'}
if (code.indexOf('1063') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1063jakn/sample.mp4'}
if (code.indexOf('1065') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1065vrcn/sample.mp4'}
if (code.indexOf('1067') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1067yzue/sample.mp4'}
if (code.indexOf('1069') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1069ecrj/sample.mp4'}
if (code.indexOf('1071') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1071xsel/sample.mp4'}
if (code.indexOf('1073') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1073fglx/sample.mp4'}
if (code.indexOf('1075') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1075qyef/sample.mp4'}
if (code.indexOf('1077') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1077oaen/sample.mp4'}
if (code.indexOf('1078') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1078ou76/sample.mp4'}
if (code.indexOf('1079') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1079epnh/sample.mp4'}
if (code.indexOf('1081') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1081nrti/sample.mp4'}
if (code.indexOf('1083') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1083bdrk/sample.mp4'}
if (code.indexOf('1085') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1085duga/sample.mp4'}
if (code.indexOf('1087') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1087hnff/sample.mp4'}
if (code.indexOf('1089') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1089wajn/sample.mp4'}
if (code.indexOf('1091') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1091lqar/sample.mp4'}
if (code.indexOf('1093') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1093fecn/sample.mp4'}
if (code.indexOf('1095') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1095hgmz/sample.mp4'}
if (code.indexOf('1097') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1097gncl/sample.mp4'}
if (code.indexOf('1099') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1099wraa/sample.mp4'}
if (code.indexOf('109') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/109pb42v/sample.mp4'}
if (code.indexOf('1101') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1101jrix/sample.mp4'}
if (code.indexOf('1103') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1103lzlo/sample.mp4'}
if (code.indexOf('1105') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1105rhyr/sample.mp4'}
if (code.indexOf('1107') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1107wpxl/sample.mp4'}
if (code.indexOf('1109') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1109hefw/sample.mp4'}
if (code.indexOf('1111') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1111fosi/sample.mp4'}
if (code.indexOf('1113') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1113ufqk/sample.mp4'}
if (code.indexOf('1115') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1115zhdh/sample.mp4'}
if (code.indexOf('1117') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1117eaal/sample.mp4'}
if (code.indexOf('1119') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1119ilnk/sample.mp4'}
if (code.indexOf('1121') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1121zpex/sample.mp4'}
if (code.indexOf('1123') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1123wpci/sample.mp4'}
if (code.indexOf('1125') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1125azfh/sample.mp4'}
if (code.indexOf('1127') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1127leqg/sample.mp4'}
if (code.indexOf('1129') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1129jxza/sample.mp4'}
if (code.indexOf('112') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/112whon5/sample.mp4'}
if (code.indexOf('1131') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1131sceo/sample.mp4'}
if (code.indexOf('1133') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1133zokt/sample.mp4'}
if (code.indexOf('1135') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1135aecx/sample.mp4'}
if (code.indexOf('1137') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1137shaw/sample.mp4'}
if (code.indexOf('1139') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1139qopr/sample.mp4'}
if (code.indexOf('1141') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1141zdkr/sample.mp4'}
if (code.indexOf('1143') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1143dfen/sample.mp4'}
if (code.indexOf('1145') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1145mdar/sample.mp4'}
if (code.indexOf('1147') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1147wjhz/sample.mp4'}
if (code.indexOf('1149') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1149bpso/sample.mp4'}
if (code.indexOf('115') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/115xnok3/sample.mp4'}
if (code.indexOf('117') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/117sb3di/sample.mp4'}
if (code.indexOf('119') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/119v29gl/sample.mp4'}
if (code.indexOf('121') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/121rt53d/sample.mp4'}
if (code.indexOf('123') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/123zqja6/sample.mp4'}
if (code.indexOf('125') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/125h4gu8/sample.mp4'}
if (code.indexOf('127') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/127j0fa9/sample.mp4'}
if (code.indexOf('1299') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1299svs7/sample.mp4'}
if (code.indexOf('131') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/131gkbj8/sample.mp4'}
if (code.indexOf('133') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/133fz2ma/sample.mp4'}
if (code.indexOf('1359') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1359kmom/sample.mp4'}
if (code.indexOf('138') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/138rrbib/sample.mp4'}
if (code.indexOf('140') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/140uy0m2/sample.mp4'}
if (code.indexOf('142') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/142lcnrz/sample.mp4'}
if (code.indexOf('144') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/144ph14i/sample.mp4'}
if (code.indexOf('146') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/146oz6dl/sample.mp4'}
if (code.indexOf('14859') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/14859gs0/sample.mp4'}
if (code.indexOf('1506') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1506y0f1/sample.mp4'}
if (code.indexOf('153') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/153gom6y/sample.mp4'}
if (code.indexOf('155') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/155zhuhs/sample.mp4'}
if (code.indexOf('157') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/157hpc80/sample.mp4'}
if (code.indexOf('159') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/159a9v20/sample.mp4'}
if (code.indexOf('161') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/161m6flm/sample.mp4'}
if (code.indexOf('163') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/163dw9g8/sample.mp4'}
if (code.indexOf('165') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/165ci1xf/sample.mp4'}
if (code.indexOf('168') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/168jvxs4/sample.mp4'}
if (code.indexOf('171') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/171z1nk5/sample.mp4'}
if (code.indexOf('174') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/174fl8o2/sample.mp4'}
if (code.indexOf('176') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/176bs2rm/sample.mp4'}
if (code.indexOf('178') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/178b8ah5/sample.mp4'}
if (code.indexOf('180') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/180bxdw0/sample.mp4'}
if (code.indexOf('183') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/183wys91/sample.mp4'}
if (code.indexOf('185') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/185w55xu/sample.mp4'}
if (code.indexOf('187') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/187zp2bc/sample.mp4'}
if (code.indexOf('189') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/189y9zxx/sample.mp4'}
if (code.indexOf('1910') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1910htdy/sample.mp4'}
if (code.indexOf('1934') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/19340vrn/sample.mp4'}
if (code.indexOf('195') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/195gtkjd/sample.mp4'}
if (code.indexOf('1988') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1988r12d/sample.mp4'}
if (code.indexOf('2008') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/2008gbb4/sample.mp4'}
if (code.indexOf('2021') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/2021rw39/sample.mp4'}
if (code.indexOf('204') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/204e25hr/sample.mp4'}
if (code.indexOf('206949') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/206949ci/sample.mp4'}
if (code.indexOf('208') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/208dct6n/sample.mp4'}
if (code.indexOf('210') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/210xraj0/sample.mp4'}
if (code.indexOf('213') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/213c7gcs/sample.mp4'}
if (code.indexOf('215') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/215aaqxm/sample.mp4'}
if (code.indexOf('217') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/217pfiuy/sample.mp4'}
if (code.indexOf('2196') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/2196qmlc/sample.mp4'}
if (code.indexOf('22194') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/22194ags/sample.mp4'}
if (code.indexOf('223') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/223amh31/sample.mp4'}
if (code.indexOf('225') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/225hlhka/sample.mp4'}
if (code.indexOf('228') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/228ar6i6/sample.mp4'}
if (code.indexOf('231') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/231g25q6/sample.mp4'}
if (code.indexOf('23424') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/23424hif/sample.mp4'}
if (code.indexOf('236') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/236kawal/sample.mp4'}
if (code.indexOf('2386550') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/2386550k/sample.mp4'}
if (code.indexOf('240') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/240dm6z1/sample.mp4'}
if (code.indexOf('242') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/242cfij0/sample.mp4'}
if (code.indexOf('244') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/244gwhgt/sample.mp4'}
if (code.indexOf('246') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/246af2ae/sample.mp4'}
if (code.indexOf('248') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/248n5tha/sample.mp4'}
if (code.indexOf('250953') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/250953fr/sample.mp4'}
if (code.indexOf('252') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/252e77ix/sample.mp4'}
if (code.indexOf('254') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/254bsn3p/sample.mp4'}
if (code.indexOf('257') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/257e1cmf/sample.mp4'}
if (code.indexOf('2598') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/2598yjxw/sample.mp4'}
if (code.indexOf('261') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/261urdyb/sample.mp4'}
if (code.indexOf('263') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/263nn6hf/sample.mp4'}
if (code.indexOf('265') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/265jl54g/sample.mp4'}
if (code.indexOf('267') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/267ndn3i/sample.mp4'}
if (code.indexOf('269') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/269aum0p/sample.mp4'}
if (code.indexOf('272') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/272bqdgj/sample.mp4'}
if (code.indexOf('275') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/275mt1cl/sample.mp4'}
if (code.indexOf('277') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/277ynqst/sample.mp4'}
if (code.indexOf('27988') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/27988tb9/sample.mp4'}
if (code.indexOf('281') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/281x7gbu/sample.mp4'}
if (code.indexOf('2836') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/2836ubyw/sample.mp4'}
if (code.indexOf('286') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/286qohis/sample.mp4'}
if (code.indexOf('288') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/288l6wet/sample.mp4'}
if (code.indexOf('290') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/290toaza/sample.mp4'}
if (code.indexOf('292') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/292pdsdn/sample.mp4'}
if (code.indexOf('2946') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/2946ty6w/sample.mp4'}
if (code.indexOf('296') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/296wmbov/sample.mp4'}
if (code.indexOf('2985') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/2985vvtf/sample.mp4'}
if (code.indexOf('3010') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3010w6fx/sample.mp4'}
if (code.indexOf('303') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/303trwpl/sample.mp4'}
if (code.indexOf('3054') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3054m25z/sample.mp4'}
if (code.indexOf('3077') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3077w9sl/sample.mp4'}
if (code.indexOf('309') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/309eekdd/sample.mp4'}
if (code.indexOf('311') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/311lzpiz/sample.mp4'}
if (code.indexOf('313') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/313v5162/sample.mp4'}
if (code.indexOf('3158') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3158tei7/sample.mp4'}
if (code.indexOf('317') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/317zxbur/sample.mp4'}
if (code.indexOf('3190') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3190xa1l/sample.mp4'}
if (code.indexOf('321') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/321jf036/sample.mp4'}
if (code.indexOf('323') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/323phxm2/sample.mp4'}
if (code.indexOf('3252') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3252y6t2/sample.mp4'}
if (code.indexOf('327') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/327o2hls/sample.mp4'}
if (code.indexOf('3307') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3307l2cg/sample.mp4'}
if (code.indexOf('3324') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3324ltot/sample.mp4'}
if (code.indexOf('33471') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/33471f13/sample.mp4'}
if (code.indexOf('336') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/336yxldg/sample.mp4'}
if (code.indexOf('338') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/338npj0g/sample.mp4'}
if (code.indexOf('3408') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3408s4ig/sample.mp4'}
if (code.indexOf('342') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/342oxvb1/sample.mp4'}
if (code.indexOf('344') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/344ne3y4/sample.mp4'}
if (code.indexOf('3469129') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3469129k/sample.mp4'}
if (code.indexOf('348') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/348fnp0d/sample.mp4'}
if (code.indexOf('350') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/350cxxyc/sample.mp4'}
if (code.indexOf('352') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/352raznw/sample.mp4'}
if (code.indexOf('354') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/354js8qo/sample.mp4'}
if (code.indexOf('356') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/356c15be/sample.mp4'}
if (code.indexOf('359') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/359d8nx2/sample.mp4'}
if (code.indexOf('361') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/361ux6q6/sample.mp4'}
if (code.indexOf('3631') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3631eury/sample.mp4'}
if (code.indexOf('365') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/365mjhhp/sample.mp4'}
if (code.indexOf('367') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/367hkfbd/sample.mp4'}
if (code.indexOf('369') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/369owojh/sample.mp4'}
if (code.indexOf('372') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/372nbvr7/sample.mp4'}
if (code.indexOf('375') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/375ldjdk/sample.mp4'}
if (code.indexOf('377') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/377qees6/sample.mp4'}
if (code.indexOf('379') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/379uxyp5/sample.mp4'}
if (code.indexOf('38119') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/38119ix8/sample.mp4'}
if (code.indexOf('383') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/383ywz83/sample.mp4'}
if (code.indexOf('385') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/385s5t51/sample.mp4'}
if (code.indexOf('3875') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3875ur0d/sample.mp4'}
if (code.indexOf('390') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/390xgkya/sample.mp4'}
if (code.indexOf('392') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/392jxl8t/sample.mp4'}
if (code.indexOf('3942') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3942dzwx/sample.mp4'}
if (code.indexOf('396') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/396l670k/sample.mp4'}
if (code.indexOf('398') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/398vcy3h/sample.mp4'}
if (code.indexOf('400') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/400kjv70/sample.mp4'}
if (code.indexOf('403') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/403c2qu7/sample.mp4'}
if (code.indexOf('405') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/405c6gyd/sample.mp4'}
if (code.indexOf('407') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/407cfe7p/sample.mp4'}
if (code.indexOf('409') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/409zm7hi/sample.mp4'}
if (code.indexOf('4117690') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4117690q/sample.mp4'}
if (code.indexOf('413') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/413nzeqq/sample.mp4'}
if (code.indexOf('416') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/416xgkkc/sample.mp4'}
if (code.indexOf('418') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/418bn64j/sample.mp4'}
if (code.indexOf('420') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/420o61bz/sample.mp4'}
if (code.indexOf('422') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/422kqu7d/sample.mp4'}
if (code.indexOf('4244') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4244giee/sample.mp4'}
if (code.indexOf('426') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/426qj96z/sample.mp4'}
if (code.indexOf('429') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/429k1eev/sample.mp4'}
if (code.indexOf('43188') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/43188voc/sample.mp4'}
if (code.indexOf('433611') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/433611ab/sample.mp4'}
if (code.indexOf('4354') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4354dyit/sample.mp4'}
if (code.indexOf('4375') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4375ae6s/sample.mp4'}
if (code.indexOf('439') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/439w1tsb/sample.mp4'}
if (code.indexOf('441') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/441jlbl4/sample.mp4'}
if (code.indexOf('443') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/443ek9th/sample.mp4'}
if (code.indexOf('445') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/445qg8xp/sample.mp4'}
if (code.indexOf('447') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/447k60s5/sample.mp4'}
if (code.indexOf('449') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/449zjkxc/sample.mp4'}
if (code.indexOf('4517') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4517zyl3/sample.mp4'}
if (code.indexOf('453') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/453j4tp3/sample.mp4'}
if (code.indexOf('455') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/455uoobe/sample.mp4'}
if (code.indexOf('457') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/457xhh48/sample.mp4'}
if (code.indexOf('460') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/460uu2p6/sample.mp4'}
if (code.indexOf('462') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/462o2hw8/sample.mp4'}
if (code.indexOf('4641') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4641teow/sample.mp4'}
if (code.indexOf('46664') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/46664w8w/sample.mp4'}
if (code.indexOf('4684') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4684k93j/sample.mp4'}
if (code.indexOf('470') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/470kf201/sample.mp4'}
if (code.indexOf('472') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/472dmpyl/sample.mp4'}
if (code.indexOf('4753') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4753ulrd/sample.mp4'}
if (code.indexOf('477') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/477kfwza/sample.mp4'}
if (code.indexOf('479') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/479b8bkc/sample.mp4'}
if (code.indexOf('481') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/481hwwjd/sample.mp4'}
if (code.indexOf('483') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/483bjz33/sample.mp4'}
if (code.indexOf('485') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/485e1ubj/sample.mp4'}
if (code.indexOf('4886') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4886d610/sample.mp4'}
if (code.indexOf('49006') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/49006pt8/sample.mp4'}
if (code.indexOf('4929') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4929djj3/sample.mp4'}
if (code.indexOf('494') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/494kuft9/sample.mp4'}
if (code.indexOf('49638') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/49638ia3/sample.mp4'}
if (code.indexOf('498') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/498fck3c/sample.mp4'}
if (code.indexOf('500') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/500cacc3/sample.mp4'}
if (code.indexOf('503') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/503ix6xt/sample.mp4'}
if (code.indexOf('505') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/505u2mpm/sample.mp4'}
if (code.indexOf('507') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/507dmyyo/sample.mp4'}
if (code.indexOf('509') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/509m7t8t/sample.mp4'}
if (code.indexOf('51149') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/51149sex/sample.mp4'}
if (code.indexOf('513') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/513rih4m/sample.mp4'}
if (code.indexOf('515') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/515w1cye/sample.mp4'}
if (code.indexOf('517') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/517pkcu6/sample.mp4'}
if (code.indexOf('520') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/520amm4b/sample.mp4'}
if (code.indexOf('5225') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5225h84y/sample.mp4'}
if (code.indexOf('524') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/524qrxtr/sample.mp4'}
if (code.indexOf('526') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/526l1xi8/sample.mp4'}
if (code.indexOf('528') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/528zilrm/sample.mp4'}
if (code.indexOf('5308') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5308v7jc/sample.mp4'}
if (code.indexOf('5327') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5327oq0b/sample.mp4'}
if (code.indexOf('534') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/534usryf/sample.mp4'}
if (code.indexOf('536') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/536kpzxz/sample.mp4'}
if (code.indexOf('538') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/538gp18p/sample.mp4'}
if (code.indexOf('540') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/540wg8av/sample.mp4'}
if (code.indexOf('5420') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5420kpec/sample.mp4'}
if (code.indexOf('544') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/544z9lwt/sample.mp4'}
if (code.indexOf('546') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/546xluqy/sample.mp4'}
if (code.indexOf('548') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/548gvixw/sample.mp4'}
if (code.indexOf('5512') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5512qn51/sample.mp4'}
if (code.indexOf('5532') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5532ypug/sample.mp4'}
if (code.indexOf('5552') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5552r37b/sample.mp4'}
if (code.indexOf('557') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/557h12vw/sample.mp4'}
if (code.indexOf('5597') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5597q79p/sample.mp4'}
if (code.indexOf('561') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/561klol5/sample.mp4'}
if (code.indexOf('563') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/563dtm1e/sample.mp4'}
if (code.indexOf('565') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/565gmy9s/sample.mp4'}
if (code.indexOf('568') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/568bcn3x/sample.mp4'}
if (code.indexOf('57099') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/57099yv0/sample.mp4'}
if (code.indexOf('572') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/572huact/sample.mp4'}
if (code.indexOf('57427') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/57427jwj/sample.mp4'}
if (code.indexOf('5767') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5767a9ib/sample.mp4'}
if (code.indexOf('578') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/578xlmph/sample.mp4'}
if (code.indexOf('58051') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/58051s4k/sample.mp4'}
if (code.indexOf('582') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/582c75qj/sample.mp4'}
if (code.indexOf('584') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/584nzqpe/sample.mp4'}
if (code.indexOf('586') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/586e47ty/sample.mp4'}
if (code.indexOf('588079') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/588079qe/sample.mp4'}
if (code.indexOf('5907') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5907ewl7/sample.mp4'}
if (code.indexOf('5922') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5922sndl/sample.mp4'}
if (code.indexOf('594') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/594lam2w/sample.mp4'}
if (code.indexOf('597') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/597rvbpy/sample.mp4'}
if (code.indexOf('599') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/599wfclc/sample.mp4'}
if (code.indexOf('601') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/601lux89/sample.mp4'}
if (code.indexOf('603') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/603paz69/sample.mp4'}
if (code.indexOf('605') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/605m2mnw/sample.mp4'}
if (code.indexOf('607') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/607e0mbp/sample.mp4'}
if (code.indexOf('609') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/609zdube/sample.mp4'}
if (code.indexOf('611') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/611yjpca/sample.mp4'}
if (code.indexOf('613') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/613zcplw/sample.mp4'}
if (code.indexOf('615') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/615qu0s5/sample.mp4'}
if (code.indexOf('617') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/617tcshm/sample.mp4'}
if (code.indexOf('6196723') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6196723v/sample.mp4'}
if (code.indexOf('623') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/623aelkv/sample.mp4'}
if (code.indexOf('6259') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6259kfza/sample.mp4'}
if (code.indexOf('627') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/627uib2u/sample.mp4'}
if (code.indexOf('630') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/630pevv0/sample.mp4'}
if (code.indexOf('633') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/633ruz71/sample.mp4'}
if (code.indexOf('6369') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6369lvw3/sample.mp4'}
if (code.indexOf('638') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/638l2pco/sample.mp4'}
if (code.indexOf('6403') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6403klii/sample.mp4'}
if (code.indexOf('64278') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/64278uu5/sample.mp4'}
if (code.indexOf('644') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/644nzvec/sample.mp4'}
if (code.indexOf('646') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/646yeefr/sample.mp4'}
if (code.indexOf('6650') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6650qw7y/sample.mp4'}
if (code.indexOf('668') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/668kz15c/sample.mp4'}
if (code.indexOf('6709') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6709blo5/sample.mp4'}
if (code.indexOf('672') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/672dfqyj/sample.mp4'}
if (code.indexOf('674') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/674s9cmj/sample.mp4'}
if (code.indexOf('676') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/676skwtk/sample.mp4'}
if (code.indexOf('678') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/678wuyas/sample.mp4'}
if (code.indexOf('6807') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6807zbum/sample.mp4'}
if (code.indexOf('682') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/682hm2zm/sample.mp4'}
if (code.indexOf('684') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/684rkmr3/sample.mp4'}
if (code.indexOf('6860') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6860jm9q/sample.mp4'}
if (code.indexOf('688') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/688hrzpw/sample.mp4'}
if (code.indexOf('690') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/690vse7l/sample.mp4'}
if (code.indexOf('6921') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6921tb0v/sample.mp4'}
if (code.indexOf('694') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/694rxr6n/sample.mp4'}
if (code.indexOf('696') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/696pfsmy/sample.mp4'}
if (code.indexOf('698') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/698zpppj/sample.mp4'}
if (code.indexOf('700') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/700h59gw/sample.mp4'}
if (code.indexOf('702') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/702zjchq/sample.mp4'}
if (code.indexOf('703') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/703gbsfs/sample.mp4'}
if (code.indexOf('7058703') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7058703v/sample.mp4'}
if (code.indexOf('707') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/707o0c2r/sample.mp4'}
if (code.indexOf('7092') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7092xcyx/sample.mp4'}
if (code.indexOf('711') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/711ce9o0/sample.mp4'}
if (code.indexOf('713') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/713k0u71/sample.mp4'}
if (code.indexOf('7155') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7155uera/sample.mp4'}
if (code.indexOf('7177') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7177rw6p/sample.mp4'}
if (code.indexOf('719') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/719wfksj/sample.mp4'}
if (code.indexOf('721') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/721a91ck/sample.mp4'}
if (code.indexOf('723') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/723tkwg3/sample.mp4'}
if (code.indexOf('725') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/725gc1w8/sample.mp4'}
if (code.indexOf('7279') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7279bc92/sample.mp4'}
if (code.indexOf('7295') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7295af8d/sample.mp4'}
if (code.indexOf('731') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/731ikba6/sample.mp4'}
if (code.indexOf('7330') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7330y262/sample.mp4'}
if (code.indexOf('735') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/735ngxch/sample.mp4'}
if (code.indexOf('7377') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7377fga4/sample.mp4'}
if (code.indexOf('739') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/739c2lya/sample.mp4'}
if (code.indexOf('741') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/741cfgkv/sample.mp4'}
if (code.indexOf('743') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/743tzxs2/sample.mp4'}
if (code.indexOf('74695') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/74695dv7/sample.mp4'}
if (code.indexOf('748') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/748fdnjb/sample.mp4'}
if (code.indexOf('750') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/750q84ya/sample.mp4'}
if (code.indexOf('7520') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7520xbg5/sample.mp4'}
if (code.indexOf('75465') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/75465p95/sample.mp4'}
if (code.indexOf('75662407') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/75662407/sample.mp4'}
if (code.indexOf('758') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/758cqcs6/sample.mp4'}
if (code.indexOf('760') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/760n2zp0/sample.mp4'}
if (code.indexOf('762') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/762gfyk5/sample.mp4'}
if (code.indexOf('764074') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/764074td/sample.mp4'}
if (code.indexOf('766') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/766dj1e0/sample.mp4'}
if (code.indexOf('768') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/768smzvk/sample.mp4'}
if (code.indexOf('770') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/770oqpc8/sample.mp4'}
if (code.indexOf('7723') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7723kfwj/sample.mp4'}
if (code.indexOf('774') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/774xdfy3/sample.mp4'}
if (code.indexOf('7766') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7766fk3t/sample.mp4'}
if (code.indexOf('778') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/778px6yg/sample.mp4'}
if (code.indexOf('7801') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7801cmks/sample.mp4'}
if (code.indexOf('7828') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7828jyju/sample.mp4'}
if (code.indexOf('7848') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7848vobv/sample.mp4'}
if (code.indexOf('7863') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7863cdhl/sample.mp4'}
if (code.indexOf('788') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/788knxin/sample.mp4'}
if (code.indexOf('7906') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7906zskr/sample.mp4'}
if (code.indexOf('792') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/792wklsa/sample.mp4'}
if (code.indexOf('794') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/794wtzln/sample.mp4'}
if (code.indexOf('796') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/796wl2bv/sample.mp4'}
if (code.indexOf('798') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/798kl6rh/sample.mp4'}
if (code.indexOf('800') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/800k0l0t/sample.mp4'}
if (code.indexOf('802') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/802lqa9r/sample.mp4'}
if (code.indexOf('804') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/804m2t73/sample.mp4'}
if (code.indexOf('806') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/806ak5pb/sample.mp4'}
if (code.indexOf('809') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/809b2bpk/sample.mp4'}
if (code.indexOf('8111') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8111jiug/sample.mp4'}
if (code.indexOf('813') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/813umfqq/sample.mp4'}
if (code.indexOf('815') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/815fz9h1/sample.mp4'}
if (code.indexOf('817') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/817jwbxt/sample.mp4'}
if (code.indexOf('8192722') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8192722b/sample.mp4'}
if (code.indexOf('82105') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/82105dkl/sample.mp4'}
if (code.indexOf('8241') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8241daba/sample.mp4'}
if (code.indexOf('827') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/827yoqrc/sample.mp4'}
if (code.indexOf('829') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/829hjhd0/sample.mp4'}
if (code.indexOf('831') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/831m450o/sample.mp4'}
if (code.indexOf('83342') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/83342gpl/sample.mp4'}
if (code.indexOf('835') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/835c6ck1/sample.mp4'}
if (code.indexOf('837') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/837ut1pp/sample.mp4'}
if (code.indexOf('839') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/839eo0a9/sample.mp4'}
if (code.indexOf('841') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/841rd9vw/sample.mp4'}
if (code.indexOf('8431') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8431qgtf/sample.mp4'}
if (code.indexOf('8457') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8457ojtn/sample.mp4'}
if (code.indexOf('847') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/847cfilf/sample.mp4'}
if (code.indexOf('849') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/849i9wbp/sample.mp4'}
if (code.indexOf('851') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/851cypwi/sample.mp4'}
if (code.indexOf('853') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/853hojeo/sample.mp4'}
if (code.indexOf('8554') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8554rsdg/sample.mp4'}
if (code.indexOf('858') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/858xe0db/sample.mp4'}
if (code.indexOf('860') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/860oyutp/sample.mp4'}
if (code.indexOf('86228') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/86228c0w/sample.mp4'}
if (code.indexOf('864') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/864foziu/sample.mp4'}
if (code.indexOf('866') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/866m031k/sample.mp4'}
if (code.indexOf('868') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/868mmydi/sample.mp4'}
if (code.indexOf('870') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/870xenfc/sample.mp4'}
if (code.indexOf('8725387') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8725387o/sample.mp4'}
if (code.indexOf('875') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/875zix1w/sample.mp4'}
if (code.indexOf('8776') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8776aosw/sample.mp4'}
if (code.indexOf('879') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/879mcqpk/sample.mp4'}
if (code.indexOf('881') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/881mdmr6/sample.mp4'}
if (code.indexOf('883') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/883nelcm/sample.mp4'}
if (code.indexOf('885') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/885h8rq5/sample.mp4'}
if (code.indexOf('8879') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8879jjlk/sample.mp4'}
if (code.indexOf('889') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/889jy8kc/sample.mp4'}
if (code.indexOf('892') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/892fcr7g/sample.mp4'}
if (code.indexOf('894') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/894knhvx/sample.mp4'}
if (code.indexOf('89620') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/89620k1s/sample.mp4'}
if (code.indexOf('898') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/898rusl9/sample.mp4'}
if (code.indexOf('9000') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9000ybqj/sample.mp4'}
if (code.indexOf('902') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/902tpno8/sample.mp4'}
if (code.indexOf('9046') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9046rc5q/sample.mp4'}
if (code.indexOf('906') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/906g9ofc/sample.mp4'}
if (code.indexOf('909') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/909fw7br/sample.mp4'}
if (code.indexOf('9116') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9116zagi/sample.mp4'}
if (code.indexOf('913') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/913apnrh/sample.mp4'}
if (code.indexOf('915') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/915bhm07/sample.mp4'}
if (code.indexOf('917') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/917o9xxu/sample.mp4'}
if (code.indexOf('9199') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9199wbtx/sample.mp4'}
if (code.indexOf('921') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/921cmx2o/sample.mp4'}
if (code.indexOf('923') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/923ikz1r/sample.mp4'}
if (code.indexOf('9252') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9252qk6d/sample.mp4'}
if (code.indexOf('927') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/927p4797/sample.mp4'}
if (code.indexOf('9299') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9299qr3j/sample.mp4'}
if (code.indexOf('931') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/931l2p53/sample.mp4'}
if (code.indexOf('933') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/933l8gea/sample.mp4'}
if (code.indexOf('935') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/935mcgj8/sample.mp4'}
if (code.indexOf('937') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/937k0ll6/sample.mp4'}
if (code.indexOf('939') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/939fjwey/sample.mp4'}
if (code.indexOf('9412') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9412lonn/sample.mp4'}
if (code.indexOf('943') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/943h55p1/sample.mp4'}
if (code.indexOf('945') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/945m8a0k/sample.mp4'}
if (code.indexOf('947') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/947gu3a8/sample.mp4'}
if (code.indexOf('949') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/949frjsc/sample.mp4'}
if (code.indexOf('951') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/951j1vca/sample.mp4'}
if (code.indexOf('953') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/953liyvp/sample.mp4'}
if (code.indexOf('955') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/955gqjp9/sample.mp4'}
if (code.indexOf('957') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/957y4b99/sample.mp4'}
if (code.indexOf('959') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/959lqaz7/sample.mp4'}
if (code.indexOf('961') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/961udlh1/sample.mp4'}
if (code.indexOf('9631') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9631sf8j/sample.mp4'}
if (code.indexOf('9651') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9651q13f/sample.mp4'}
if (code.indexOf('967') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/967xlq9c/sample.mp4'}
if (code.indexOf('969') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/969ycqoc/sample.mp4'}
if (code.indexOf('972') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/972gvlkx/sample.mp4'}
if (code.indexOf('974') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/974su4c2/sample.mp4'}
if (code.indexOf('976') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/976dnbbt/sample.mp4'}
if (code.indexOf('978') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/978gt6gh/sample.mp4'}
if (code.indexOf('980') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/980tsi8o/sample.mp4'}
if (code.indexOf('982') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/982diizq/sample.mp4'}
if (code.indexOf('984') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/984nm5kb/sample.mp4'}
if (code.indexOf('987') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/987l45tm/sample.mp4'}
if (code.indexOf('989') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/989wkccy/sample.mp4'}
if (code.indexOf('991335') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/991335aj/sample.mp4'}
if (code.indexOf('993') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/993mw06d/sample.mp4'}
if (code.indexOf('995') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/995x9u13/sample.mp4'}
if (code.indexOf('9970') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9970by24/sample.mp4'}
if (code.indexOf('999') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/999bt703/sample.mp4'}
let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
<video controls autoplay muted style="width: 1120px;">\
<source src="' + videoUrl + '" type="video/mp4" />\
</video>\
</div>');
$(objlegsjapan).before(video)
}
// XVSR-系列 3种格式 多种后缀
addVideoXVSR(code, objXVSR) {
let codeArr = code.split(/-/);
let videoSeries = codeArr[0].toLowerCase();
let videoNo = format_zero(codeArr[1], 5);
let videoTwo = codeArr[1].substring(1);
let videoUrl = '//cc3001.dmm.co.jp/litevideo/freepv/6/60' + videoSeries.substr(0, 1) + '/60' + videoSeries + codeArr[1] + '/60' + videoSeries + codeArr[1] + '_dm_s.mp4';
let videoUrl2 = '//cc3001.dmm.co.jp/litevideo/freepv/6/60' + videoSeries.substr(0, 1) + '/60' + videoSeries + codeArr[1] + '/60' + videoSeries + codeArr[1] + '_dmb_s.mp4';
let videoUrl3 = '//cc3001.dmm.co.jp/litevideo/freepv/6/60' + videoSeries.substr(0, 1) + '/60' + videoSeries + codeArr[1] + '/60' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl4 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_mhb_w.mp4';
let videoUrl5 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl6 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_mhb_w.mp4';
let videoUrl7 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl8 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_dm_w.mp4';
let videoUrl9 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_sm_w.mp4';
let videoUrl10 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dm_w.mp4';
let videoUrl11 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_sm_w.mp4';
let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
<video controls autoplay muted style="width: 1120px;">\
<source src="' + videoUrl + '" type="video/mp4" />\
<source src="' + videoUrl2 + '" type="video/mp4" />\
<source src="' + videoUrl3 + '" type="video/mp4" />\
<source src="' + videoUrl4 + '" type="video/mp4" />\
<source src="' + videoUrl5 + '" type="video/mp4" />\
<source src="' + videoUrl6 + '" type="video/mp4" />\
<source src="' + videoUrl7 + '" type="video/mp4" />\
<source src="' + videoUrl8 + '" type="video/mp4" />\
<source src="' + videoUrl9 + '" type="video/mp4" />\
<source src="' + videoUrl10 + '" type="video/mp4" />\
<source src="' + videoUrl11 + '" type="video/mp4" />\
</video>\
</div>');
$(objXVSR).before(video)
}
// 数据节点结束
}
class JavBus extends Base {
constructor(Request, Waterfull) {
super(Request, Waterfull);
GM_addStyle(`
.info a.red {color:red;padding-right:15px;}
.screencap {
position: relative;
}
.screencap a.download {
position: absolute;
background: #fff;
background:rgba(255,255,255,0.7);
font-size: 12px;
right: 20px;
top: 5px;
border:0px solid;
border-radius: 4px;
padding: 2px 3px;
border-radius: 5px;
}
`);
if ($('.col-md-3.info').length > 0) {
this.detailPage();
}
}
detailPage() {
let _this = this;
let info = $('.col-md-3.info');
//标题
let title = $('.container > h3').text();
//识别码
let codeRow = info.find('p').eq(0);
let code = codeRow.find('span').eq(1).html();
//製作商
//let studioN = info.find('P').eq(3);
//let studio = info.replace("製作商:","").trim();
//let studio = studioN.find('a[href]').eq(0).html();
let studio = info.find('a[href*="/studio/"]').eq(0).html();
codeRow.append($('<span style="color:red">←点击复制</span>'));
codeRow.on('click', function () {
GM_setClipboard(code);
$(this).find('span').eq(2).html('←已复制到黏贴板');
});
//添加预告视频观看按钮
if(null != studio.match(/カリビアンコム|Caribbeancom/)) {
this.addVideoC(code, '.row.movie');
}else if(null != studio.match(/東京熱|Tokyo-Hot|レッドホットコレクション/)) {
this.addVideoN(code, '.row.movie');
}else if(null != studio.match(/一本道|1pondo/)) {
this.addVideoY(code, '.row.movie');
}else if (null != studio.match(/天然むすめ|10musume/)) {
this.addVideoH(code, '.row.movie');
}else if (null != code.match(/VR-/)) {
this.addVideoVR(code, '.row.movie');
}else if (null != code.match(/DANDAN-/)) {
this.addVideodandan(code, '.row.movie');
}else if (null != code.match(/MDTM-/)) {
this.addVideoMDTM(code, '.row.movie');
}else if (null != code.match(/XVSR-/)) {
this.addVideoXVSR(code, '.row.movie');
}else {
this.addVideo(code, '.row.movie');
}
//添加跳转到javlibrary链接
info.append("<p><a class='red' href='http://www.javlibrary.com/cn/vl_searchbyid.php?keyword=" + code + "' target='_blank'>javlib</a><a class='red' href='https://javdb005.com/search?q=" + code + "' target='_blank'>javdb</a><a class='red' href='https://dd7448.com/serch_censored.htm?skey=" + code + "' target='_blank'>javbooks</a><a class='red' href='https://api1.javspyl.tk/?" + code + "' target='_blank'>javspyl</a></p>");
//封面图添加下载按钮
let downloadBtn = $('<a class="download">' + studio + ' 封面下载</a>');
let imgUrl = $('.screencap img').attr('src');
downloadBtn.on('click', function (e) {
e.stopPropagation();
_this.downloadPic(title, imgUrl);
return true;
});
downloadBtn.attr('download', code);
$('.screencap').append(downloadBtn);
}
}
class JavLibrary extends Base {
constructor(Request, Waterfull) {
super(Request, Waterfull);
GM_addStyle(`
.header a.red {color:red;padding-right:15px;}
#video_info td {
vertical-align: text-bottom;
}
#video_jacket {
position: relative;
}
#video_jacket a {
position: absolute;
background: #fff;
background:rgba(255,255,255,0.7);
font-size: 12px;
right: 20px;
top: 5px;
border:0px solid;
border-radius: 4px;
padding: 2px 3px;
border-radius: 5px;
}
`);
if ($('#video_info').length > 0) {
this.detailPage();
}
if ($('div.page_selector').length > 0) {
this.listPage();
}
}
detailPage() {
let _this = this;
let info = $('#video_info');
//标题
let title = $('.post-title').text();
//识别码
let codeRow = info.find('.item').eq(0);
let code = codeRow.find('.text').html();
let studio = info.find('a[href*="vl_maker.php?m"]').eq(0).html();
codeRow.find('tr').append($('<td class="text" style="color:red">←点击复制</td>'));
codeRow.on('click', function () {
GM_setClipboard(code);
$(this).find('td').last().html('←已复制到黏贴板');
});
//添加跳转到javlibrary链接
info.append("<div class='item'><table><tbody><tr><td class='header'><a class='red' href='https://www.javbus.com/" + code + "' target='_blank'>javbus</a><a class='red' href='https://javdb005.com/search?q=" + code + "' target='_blank'>javdb</a><a class='red' href='https://dd7448.com/serch_censored.htm?skey=" + code + "' target='_blank'>javbooks</a><a class='red' href='https://api1.javspyl.tk/?" + code + "' target='_blank'>javspyl</a></td></tr></tbody></table></div>");
//演员
info.find('a').attr('target', '_blank');
//添加预告视频观看按钮
if(null != studio.match(/カリビアンコム|Caribbeancom/)) {
this.addVideoC(code, '#video_favorite_edit');
}else if(null != studio.match(/東京熱|Tokyo-Hot|レッドホットコレクション/)) {
this.addVideoN(code, '#video_favorite_edit');
}else if(null != studio.match(/一本道|1pondo/)) {
this.addVideoY(code, '#video_favorite_edit');
}else if (null != studio.match(/天然むすめ|10musume/)) {
this.addVideoH(code, '#video_favorite_edit');
}else if (null != code.match(/VR-/)) {
this.addVideoVR(code, '#video_favorite_edit');
}else if (null != code.match(/DANDAN-/)) {
this.addVideodandan(code, '#video_favorite_edit');
}else if (null != code.match(/MDTM-/)) {
this.addVideoMDTM(code, '#video_favorite_edit');
}else if (null != code.match(/XVSR-/)) {
this.addVideoXVSR(code, '.row.movie');
}else {
this.addVideo(code, '#video_favorite_edit');
}
//封面图添加下载按钮
let downloadBtn = $('<a class="download">' + studio + ' 封面下载</a>');
let imgUrl = $('#video_jacket img').attr('src');
downloadBtn.on('click', function (e) {
e.stopPropagation();
_this.downloadPic(title, imgUrl);
return false;
});
downloadBtn.attr('download', code);
$('#video_jacket').append(downloadBtn);
}
}
//新增db支持
class Javdb extends Base {
constructor(Request, Waterfull) {
super(Request, Waterfull);
GM_addStyle(`
.header a.red {color:red;padding-right:15px;}
.column.column-video-cover {
position: relative;
}
.column.column-video-cover a {
position: absolute;
background: #fff;
background:rgba(255,255,255,0.7);
font-size: 12px;
right: 20px;
top: 5px;
border:0px solid;
border-radius: 4px;
padding: 2px 3px;
border-radius: 5px;
}
`);
if ($('.panel.movie-panel-info').length > 0) {
this.detailPage();
}
if ($('div.page_selector').length > 0) {
this.listPage();
}
}
detailPage() {
let _this = this;
let info = $('.panel.movie-panel-info');
//标题
let title = $('.title.is-4').text().trim();
//识别码
let code = $('body > section > div > div.video-detail > h2 > strong').text().trim().split(' ')[0];
let studio = info.find('a[href*="/makers/"]').eq(0).html();
//添加跳转到javlibrary链接
info.append("<div class='item'><table><tbody><tr><td class='header'><a class='red' href='http://www.javlibrary.com/cn/vl_searchbyid.php?keyword=" + code + "' target='_blank'>javlib</a><a class='red' href='https://www.javbus.com/" + code + "' target='_blank'>javbus</a><a class='red' href='https://dd7448.com/serch_censored.htm?skey=" + code + "' target='_blank'>javbooks</a><a class='red' href='https://api1.javspyl.tk/?" + code + "' target='_blank'>javspyl</a></td></tr></tbody></table></div>");
//添加预告视频观看按钮
if(null != studio.match(/カリビアンコム|Caribbeancom/)) {
this.addVideoC(code, '.video-meta-panel');
}else if(null != studio.match(/東京熱|Tokyo-Hot|レッドホットコレクション/)) {
this.addVideoN(code, '.video-meta-panel');
}else if(null != studio.match(/一本道|1pondo/)) {
this.addVideoY(code, '.video-meta-panel');
}else if (null != studio.match(/天然むすめ|10musume/)) {
this.addVideoH(code, '.video-meta-panel');
}else if (null != code.match(/legsjapan/)) {
this.addVideolegsjapan(code, '.video-meta-panel');
}else if (null != code.match(/VR-/)) {
this.addVideoVR(code, '.video-meta-panel');
}else if (null != code.match(/DANDAN-/)) {
this.addVideodandan(code, '.video-meta-panel');
}else if (null != code.match(/MDTM-/)) {
this.addVideoMDTM(code, '.video-meta-panel');
}else if (null != code.match(/XVSR-/)) {
this.addVideoXVSR(code, '.row.movie');
}else {
this.addVideo(code, '.video-meta-panel');
}
//封面图添加下载按钮
let downloadBtn = $('<a class="download">' + studio + ' 封面下载</a>');
let imgUrl = $('.column.column-video-cover img').attr('src');
downloadBtn.on('click', function (e) {
e.stopPropagation();
_this.downloadPic(title, imgUrl);
return false;
});
downloadBtn.attr('download', code);
$('.column.column-video-cover').append(downloadBtn);
}
}
//db段结束
class Main {
constructor() {
if ($("footer:contains('JavBus')").length) {
this.site = 'javBus';
} else if ($("#bottomcopyright:contains('JAVLibrary')").length) {
this.site = 'javLibrary'
} else if ($("#footer:contains('javdb')").length) {
this.site = 'javdb'
}
}
make() {
let WaterfullObj = new Waterfull();
let requestObj = new Request();
let obj;
switch (this.site) {
case 'javBus':
obj = new JavBus(requestObj, WaterfullObj);
break;
case 'javLibrary':
obj = new JavLibrary(requestObj, WaterfullObj);
break;
case 'javdb':
obj = new Javdb(requestObj, WaterfullObj);
break;
}
return obj;
}
}
let main = new Main();
main.make();
})();