NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name MyShows new series for beta // @namespace https://beta.myshows.me // @version 0.29.2b // @include https://myshows.me/* // @exclude https://myshows.me/news/* // @unwrap // @grant GM.xmlHttpRequest // @connect coldfilm.biz // @connect baibako.tv // @connect myshows.me // @connect self // @author Black_Sun // @require https://github.com/Black-Sunlight/lib-files/raw/master/jquery.js // @downloadURL https://github.com/Black-Sunlight/userscripts/raw/master/MyShows%20new%20series.user.js // @updateURL https://github.com/Black-Sunlight/userscripts/raw/master/MyShows%20new%20series.user.js // @license MIT // @copyright 2019, Black_Sun (https://openuserjs.org/users/Black_Sun) // @unsafeWindow // ==/UserScript== var $j = jQuery.noConflict(); var check=''; $j(function(){ function main(check){ var renewimg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAFF0lEQVRYhe1W3WsTWRT/3UkszUycRhriQkxcIpWY5qPGRVK/EqqIiuJC90HEDyLiQ9FFpf+AL/rWFRFp6fpQ9cGX1oc+NAjC4roFlV1TCWqXVkNB0agk0SSTycecfagzJGbS+gX74g8Oc+85557fufecexngO/5nMD3lqVOnuOvXr3eJovijzWbjFgpQqVSgKEpTezqdVt6/fz8XCoX+uXHjRoOj8WOFzWb7KZPJjIyOjnoCgQA4bkH+RaEoChKJBC5fvvyvzWaLplKpyVp73Qk4HI4fwuHw46GhIcvXEn8MIsKJEydysVis8/nz53Oqvo4ln8//HI1Gvzk5ADDGcOTIEbMkSb/U6utKQETrvF7vgoFevXqFeDwOs9mMjRs3avqpqSkwxuD3+5uu9Xg8MBqN62p1dVvt6OgIiqKouziRSCAYDMLj8WD//v2Ix+OaTZZlHDt2DD09PTh58iQkSdKN0draijVr1gR1E4hEIi2rVq1quv1ly5aB53kQEYgILpdLsw0PD2NmZgZEhKtXr2Lfvn2QZVk3jsvlWh0IBMzq3KAOJEkK7Nq1q6/2WFW8ePEC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8fPxoMpkMV6tVvjYJdfw5iamktV+DwVB0OBx/7t69+/ctW7bkvm5b3/GN8B/LWe5/FfVXFwAAAABJRU5ErkJggg=="; if(check==true){ $j('div.title__primary').first().before('<style>.seasonBlockBody a[href*="myshows"]{vertical-align: -webkit-baseline-middle;}</style><div id="newseries" class="seasonBlockBody" style="display:inline-block;width: 730px;"><button id="loadnew">Загрузить список выхода серий</button></div>'); $j('.title__main').first().before('<div id="newreload" class="seasonBlockBody" style="margin-right: 15px;cursor:pointer"><img id="reloadnew" src="'+renewimg+'" /></div>') $j('#reloadnew').on('click',function(){ $j('.totalloader').each(function(){ $j(this).remove(); }) $j('.torrentloader').each(function(){ $j(this).remove(); }) main() })} $j('div.AdBlock').remove(); var domaintocheck="coldfilm.biz"; var imgdownload="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAE3ElEQVRYheWWXWwUVRTH/+fOfky3u9vtB80KLUWoxPSBICY+0ILWWDTGRGKMATGG+GCMWhIMARrSWMIDRiJ9UHkwIZCGEB+MERMJ0fqR+IEaYviIFUqKLS2hBdrO7uzs7szcuceHpduubOlWy4PxJCeZzJz/ub/7v/fODPB/D5qrIHFsX4yAjeSpVmJeCSAEohSE6GfN9y0In0U2dyQXHMDo2RsSzHtIym1CemHiv5czWBDY508iEHyPNfFuZPPu7IIAJHr2NpLjnhC23USgXFmxSp4GgR46z0H92ciLuwb/FYBxtGu5yGZ/JDsbJ4iZIyFvAk8JZ8gJ4FD5CMrCzZEtu67+I4DJI506Ze3TwrJWg24/YgYH/NAaHoRW/wBID4MzKXgjl6GGLgGuW9gwWvkrykLNkZc6ZCkAvgKxK7fBTKxWHufxaHEDyto2Q6upK1SuWgfvxjCyvR9DXb8KgHMWGeOPCM33GoAP5uXAxEcdAaTMYVhmLYHAYIj7GlD+/JsQZeFZG6i0ifQnH0KNTrtOFVUjFK68v+KVzjldEPkrpR7nVLKWHQfKsc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jQ0LDUuNDQsMCwwLDEtMTEuNjYsOGE1LjQ0LDUuNDQsMCwwLDEtNS40NCw1LjQ0QTUuNDQsNS40NCwwLDAsMS0yMi41NCw4LDUuNDQsNS40NCwwLDAsMS0xNy4xLDIuNTZaIi8+PGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJ0cmFuc2xhdGUiIHZhbHVlcz0iMjMgMDszNiAwOzQ5IDA7NjIgMDs3NC41IDA7ODcuNSAwOzEwMCAwOzExMyAwOzEyNS41IDA7MTM4LjUgMDsxNTEuNSAwOzE2NC41IDA7MTc4IDAiIGNhbGNNb2RlPSJkaXNjcmV0ZSIgZHVyPSIxMzAwbXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+PC9nPjwvc3ZnPgo="; $j('#loadnew').on('click',function(){ $j.get("https://myshows.me/my/",function(data){ $j("#newseries").html($j("div.WatchSoon.MyHome-shows",data).html()); }); }); $j('div.UnwatchedEpisodeItem').each(function(i){ var that=$j(this).closest('div[id^="s"]'); var thatnameblock=that.closest('div[id^="s"]').find('.Unwatched-showTitle'); //var thatnameblock=that.closest('.seasonBlock').prev().find('.showHeaderName'); $j(this).find('div.episode-col').eq(0).after('<div class="totalloader" style="display: inline-block;padding: 0px 5px 0;"><select id="pageselector'+i+'" style="display: inline-block;vertical-align: -webkit-baseline-middle;width: 92px;height: 24px;padding:0;margin-right:8px;" title="Выбор страницы для загрузки"><option value=0 selected="selected" >Авто</option><option value=1>Первая</option><option value=2>Вторая</option><option value=3>Третья</option><option value=4>Четвёртая</option><option value=5>Пятая</option><option value=6>Шестая</option></select><img style="cursor: pointer;font-size:14px;vertical-align: -webkit-baseline-middle;" id="loader2'+i+'" title="Проверить наличие переведённой серии на '+domaintocheck+'" src="'+imgdownload+'"></img></div>'); $j(this).closest('div[id^="s"]').eq(0).before('<span class="torrentloader" id="torrentlink2'+i+'" style="display: none;width: 100%;font-size:14px;overflow-y: visible;overflow-x: hidden;"></span>'); $j('#loader2'+i).on('click',function(){ $j(this).hide().after("<img id='loadg2"+i+"' src='"+loading+"' style='width: 64x;' />"); $j('#torrentlink2'+i).hide().html(''); var name=that.find('.Unwatched-showTitle-title').eq(0).text().replace(/\s{2,}/g, ' '); name=name.trim(); //name=name.replace(/(\«[^\.\»])*?([а-яА-Я\.]{1,})*?([\.\«\»])/ig,'$2'); //console.log("After replace "+name); //var swchoose=name.match(/(Звездный|Детство Шелдона)/ig); //if (swchoose!=null){ console.log(name.toString()) switch (name.toString()){ case "Звездный": name=name.replace(/Звездный/ig,'Звёздный'); break; case "Звёздный путь: Пикар": name=name.replace(/Звёздный/ig,'Звездный'); break; case "Детство Шелдона": name=name.replace(/Детство Шелдона/ig,'Молодой Шелдон'); break; case "Студия Marvel: Легенды": name=name.replace(/Студия Marvel: Легенды/ig,'Marvel Studios: Легенды'); break; default: break; } //} //var curid=thatnameblock.closest('h2').attr('id').split('s')[1]; var season=that.find('div.Unwatched-showSeasonTitle').eq(0).text().split('Сезон')[1].replace(/\s{2,}/g, ' '); season.trim(); //var serie=that.find('div.UnwatchedEpisodeItem-index').eq(0).find('span').text().replace(/\s{2,}/g, ' '); var serie=$j(this).parent().prev().prev().find('span').text().replace(/\s{2,}/g, ' '); serie=serie.trim(); //var subname=that.find('.subHeader').eq(0).html('<a id="lnktosite'+i+'" target="_blank">'+that.find('.subHeader').eq(0).text()+'</a>') var fullname=name.trim()+''+season+'сезон '+serie; var newslnk,newstitle,curlink,loadstat=false,q,lnk,found=false; var sell=$j('#pageselector'+i).val(); if (sell==0){ found=false; if(found==false){ $j("#loadg2"+i).show(); var watch=req("",i,sell,found); watch.start(0); //reqsend() } }else{ found=false; var watch=req("",i,sell,found); watch.start("no"); //reqsend() } function req(lnk,i,sell,found){ var newslnk=lnk; return { start:function(){ if(sell==0){ console.log('starting with cycle'); for (var z=1;z<8;z++){ sell++; watch.urlget(sell); } } else { console.log("starting single"); watch.urlget(); } }, urlget:function(){ GM.xmlHttpRequest({ method: "GET", url: "http://"+domaintocheck+"/news/?page"+sell, headers: { "User-Agent": "Mozilla/5.0", // If not specified, navigator.userAgent will be used. "Accept": "text/html" // If not specified, browser defaults will be used. }, onload: function(response) { $j("#loadg2"+i).show(); var doc = new DOMParser().parseFromString(response.responseText, "text/html"); var el=doc.getElementsByClassName('kino-h'); for (var k = 0; k < el.length;k++){ console.log('searching '+el[k].getAttribute('title').toLowerCase()+'=='+fullname.toLowerCase()) if(el[k].getAttribute('title').toLowerCase().search(fullname.toLowerCase())!=-1){ console.log('search success with '+el[k].getAttribute('title').toLowerCase()+'=='+fullname.toLowerCase()); loadstat=true; newslnk=el[k].getAttribute("href"); $j("#loader2"+i).hide(); if(found==false){ console.log(newslnk+" start to get torrent lnk"); watch.torrentget(); } found=true; } else { if (loadstat == false){ $j("#loadg2"+i).hide(); $j("#loader2"+i).show().text("Серия не найдена"); } } } } }); }, torrentget:function(){ GM.xmlHttpRequest({ method: "GET", url: "http://"+domaintocheck+newslnk, headers: { "User-Agent": "Mozilla/5.0", // If not specified, navigator.userAgent will be used. "Accept": "text/html" // If not specified, browser defaults will be used. }, onload: function(responser) { var docr = new DOMParser().parseFromString(responser.responseText, "text/html"); newstitle=docr.getElementsByClassName('kino-h')[0].innerText; console.log('found name '+newstitle); var ah=docr.getElementsByClassName('player-box')[0].getElementsByTagName('a')[0]; curlink=responser.finalUrl; console.log('link found '+ah.getAttribute('href')); console.log('compare that '+newstitle+"=="+name+season+"сезон "+serie+" серия [Смотреть Онлайн]"); loadstat=false; writetosite(newstitle,name.trim(),season.trim(),serie.trim(),ah,i,curlink); } }); } }; } }); /*function reqsend(){ GM.xmlHttpRequest({ method: "GET", url: "http://"+domaintocheck+"/news/?page"+sell, headers: { "User-Agent": "Mozilla/5.0", // If not specified, navigator.userAgent will be used. "Accept": "text/html" // If not specified, browser defaults will be used. }, onload: function(response) { $j("#loadg2"+i).show(); var doc = new DOMParser().parseFromString(response.responseText, "text/html"); var el=doc.getElementsByClassName('kino-h'); for (var k = 0; k < el.length;k++){ if(el[k].getAttribute('title').toLowerCase().search(fullname.toLowerCase())!=-1){ loadstat=true; newslnk=el[k].getAttribute("href"); $j("#loader2"+i).hide(); found=true; GM.xmlHttpRequest({ method: "GET", url: "http://"+domaintocheck+newslnk, headers: { "User-Agent": "Mozilla/5.0", // If not specified, navigator.userAgent will be used. "Accept": "text/html" // If not specified, browser defaults will be used. }, onload: function(responser) { var docr = new DOMParser().parseFromString(responser.responseText, "text/html"); var ah=docr.getElementsByClassName('player-box')[0].getElementsByTagName('a')[0]; newstitle=docr.getElementsByClassName('kino-h')[0].innerText; curlink=responser.finalUrl console.log(ah.getAttribute('href')) writetosite(newstitle,name.trim(),season.trim(),serie.trim(),ah,i,curlink) loadstat=false; } }); } else { if (loadstat == false){ $j("#loadg2"+i).hide(); $j("#loader2"+i).show().text("Серия не найдена"); } } } } }); }*/ function writetosite(newstitle,name,season,serie,ah,i,curlink){ console.log(newstitle==name+" "+season+" сезон "+serie+" серия [Смотреть Онлайн]"); console.log("start to inject "+ah.getAttribute('href')); if(newstitle==name+" "+season+" сезон "+serie+" серия [Смотреть Онлайн]"){ if(ah.getAttribute('href')!=undefined){ var lnk=ah.getAttribute('href'); console.log(lnk+' found, launch injecting'); var q=lnk.replace(/(.*)(1080|720|400)[ррPР]?(.*)/ig,'$2'); $j('#torrentlink2'+i).show('block').append('<span style="display:block">'+newstitle+' <a href="'+lnk+'" target="_blank" title="Скачать '+newstitle+'"><img src="'+imgtorrent+'" style="width:32px" />'+q+'p</a> | <a href='+curlink+' target="_blank" title="Смотреть '+newstitle+'">Смотреть на сайте</a></span>'); $j("#loadg2"+i).hide(); } else { $j("#loadg2"+i).hide(); $j('#torrentlink2'+i).show('block').append('<img style="width:42px" src="'+imgnotexist+'" title="Серия '+newstitle+' ещё не переведена" />'); }} $j("#loader2"+i).show().text("Проверить серию"); $j("#loadg2"+i).hide(); console.log('Full Done'); } }); } setInterval(function(jQuery){ if (!$j('#newseries')[0]){ main(true); } },1000); main(true); });