mirror of
https://github.com/hama3254/Crunchyroll-Downloader-v3.0.git
synced 2024-12-24 15:11:48 +01:00
fix CR custom name
fix CR custom name
This commit is contained in:
parent
78ee5c02ef
commit
7e36229705
Binary file not shown.
@ -1146,6 +1146,7 @@ Public Class Main
|
||||
Dim CR_FilenName As String = Nothing
|
||||
Me.Invoke(New Action(Function() As Object
|
||||
' My.Computer.Clipboard.SetText(WebbrowserText)
|
||||
TextBox2_Text = Anime_Add.TextBox2.Text
|
||||
Return Nothing
|
||||
End Function))
|
||||
#Region "Name von Crunchyroll"
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,55 @@
|
||||
<html>
|
||||
<meta charset="UTF-8">
|
||||
<head>
|
||||
|
||||
</head>
|
||||
<style>
|
||||
body {
|
||||
text-align: center;
|
||||
padding: 40px 0;
|
||||
background: #EBF0F5;
|
||||
}
|
||||
h1 {
|
||||
color: #88B04B;
|
||||
font-family: sans-serif;
|
||||
font-weight: 900;
|
||||
font-size: 40px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
p {
|
||||
color: #404F5E;
|
||||
font-family: sans-serif;
|
||||
font-size:20px;
|
||||
margin: 0;
|
||||
}
|
||||
i {
|
||||
color: #9ABC66;
|
||||
font-size: 100px;
|
||||
line-height: 200px;
|
||||
margin-left:-15px;
|
||||
}
|
||||
.card {
|
||||
background: white;
|
||||
padding: 60px;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 2px 3px #C8D0D8;
|
||||
display: inline-block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div class="card">
|
||||
<div style="border-radius:200px; height:200px; width:200px; background: #F8FAF5; margin:0 auto;">
|
||||
<i class="checkmark">✓</i>
|
||||
</div>
|
||||
<h1>Success</h1>
|
||||
<p>Your Downloads have been added to the queue!</p>
|
||||
</div>
|
||||
<script>
|
||||
|
||||
setInterval(function loadXMLDoc() {
|
||||
window.close();
|
||||
}, 3000);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,56 @@
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
||||
</head>
|
||||
<style>
|
||||
body {
|
||||
text-align: center;
|
||||
padding: 40px 0;
|
||||
background: #EBF0F5;
|
||||
}
|
||||
h1 {
|
||||
color: #88B04B;
|
||||
font-family: sans-serif;
|
||||
font-weight: 900;
|
||||
font-size: 40px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
p {
|
||||
color: #404F5E;
|
||||
font-family: sans-serif;
|
||||
font-size:20px;
|
||||
margin: 0;
|
||||
}
|
||||
i {
|
||||
color: #9ABC66;
|
||||
font-size: 100px;
|
||||
line-height: 200px;
|
||||
margin-left:-15px;
|
||||
}
|
||||
.card {
|
||||
background: white;
|
||||
padding: 60px;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 2px 3px #C8D0D8;
|
||||
display: inline-block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div class="card">
|
||||
<div style="border-radius:200px; height:200px; width:200px; background: #F8FAF5; margin:0 auto;">
|
||||
<i class="checkmark">✓</i>
|
||||
</div>
|
||||
<h1>Success</h1>
|
||||
<p>Your Download was added!</p>
|
||||
</div>
|
||||
<script>
|
||||
|
||||
setInterval(function loadXMLDoc() {
|
||||
window.close();
|
||||
}, 3000);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
BIN
Crunchyroll Downloader/bin/x64/Debug/WebInterface/balken.png
Normal file
BIN
Crunchyroll Downloader/bin/x64/Debug/WebInterface/balken.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 202 B |
BIN
Crunchyroll Downloader/bin/x64/Debug/WebInterface/cc.png
Normal file
BIN
Crunchyroll Downloader/bin/x64/Debug/WebInterface/cc.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 224 B |
@ -0,0 +1,49 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<style>
|
||||
body {
|
||||
text-align: center;
|
||||
padding: 40px 0;
|
||||
background: #EBF0F5;
|
||||
}
|
||||
h1 {
|
||||
color: #ad3f26;
|
||||
font-family: sans-serif;
|
||||
font-weight: 900;
|
||||
font-size: 40px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
p {
|
||||
color: #404F5E;
|
||||
font-family: sans-serif;
|
||||
font-size:20px;
|
||||
margin: 0;
|
||||
}
|
||||
i {
|
||||
color: #ad3f26;
|
||||
font-size: 100px;
|
||||
line-height: 200px;
|
||||
margin-left:-15px;
|
||||
}
|
||||
.card {
|
||||
background: white;
|
||||
padding: 60px;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 2px 3px #C8D0D8;
|
||||
display: inline-block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div class="card">
|
||||
<div style="border-radius:200px; height:200px; width:200px; background: #f7ebeb; margin:0 auto;">
|
||||
<i class="checkmark">✘</i>
|
||||
</div>
|
||||
<h1>Failed!</h1>
|
||||
<p>System.IndexOutOfRangeException: Der Index war außerhalb des Arraybereichs.
|
||||
bei Crunchyroll_Downloader.Main.ProcessRequest(NetworkStream stream, String htmlReq) in D:\Projecte\Crunchyroll Downloader - v3.0-final\Crunchyroll-Downloader-v3.0 - CefSharp\Crunchyroll Downloader\Main.vb:Zeile 4584.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,49 @@
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<style>
|
||||
body {
|
||||
text-align: center;
|
||||
padding: 40px 0;
|
||||
background: #EBF0F5;
|
||||
}
|
||||
h1 {
|
||||
color: #ad3f26;
|
||||
font-family: sans-serif;
|
||||
font-weight: 900;
|
||||
font-size: 40px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
p {
|
||||
color: #404F5E;
|
||||
font-family: sans-serif;
|
||||
font-size:20px;
|
||||
margin: 0;
|
||||
}
|
||||
i {
|
||||
color: #ad3f26;
|
||||
font-size: 100px;
|
||||
line-height: 200px;
|
||||
margin-left:-15px;
|
||||
}
|
||||
.card {
|
||||
background: white;
|
||||
padding: 60px;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 2px 3px #C8D0D8;
|
||||
display: inline-block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div class="card">
|
||||
<div style="border-radius:200px; height:200px; width:200px; background: #f7ebeb; margin:0 auto;">
|
||||
<i class="checkmark">✘</i>
|
||||
</div>
|
||||
<h1>Failed!</h1>
|
||||
<p>Something has gone wrong here.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
Crunchyroll Downloader/bin/x64/Debug/WebInterface/favicon.ico
Normal file
BIN
Crunchyroll Downloader/bin/x64/Debug/WebInterface/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
47
Crunchyroll Downloader/bin/x64/Debug/WebInterface/index.html
Normal file
47
Crunchyroll Downloader/bin/x64/Debug/WebInterface/index.html
Normal file
@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
</head>
|
||||
<html>
|
||||
<title>CRD</title>
|
||||
|
||||
<style>
|
||||
.main-bg {margin:0 0 0 0;background-color:#F2F2F2;font-family:Consolas;font-size:16px;}
|
||||
.div-spacer{width:16px;height:110px;display:block;margin-bottom:14px;position:relative}
|
||||
.div-episode{width:730px;height:110px;display:block;margin-bottom:14px;position:relative}
|
||||
.class-balken{width:735px;height:8px;display:block;margin-bottom:4px;margin-top:6px}
|
||||
.class-cc{width:36px;height:36px;display:block;margin-bottom:4px;margin-top:-6px;float: left;margin-left:-20px;}
|
||||
.imagestyle{width:156px;height:105px;display:block;margin-bottom:8px;margin-top:5px;margin-right: 10px;margin-left: 10px;float: left;}
|
||||
.spacediv{width:620px;height:175px;display:block;margin-bottom:4px}
|
||||
.ulStyle li{margin-left:12px;float:left;display:block;position:relative}
|
||||
.liOld{margin-left:12px;display:block}
|
||||
.ulStyle{margin:0 0 0 -10px;display:block;position:relative;margin-top:8px}
|
||||
.listyle{width:156px;display:block;background:#fff;padding:16px;margin-bottom:14px;position:relative;background-color:#b5b3b3}
|
||||
.progressbar{width:540px;height:20px;background:#dedede;margin-left: 170px;margin-top:8px;}
|
||||
.progressbar-value{background:#F78C25;height:20px;font-weight:bold;}
|
||||
.percenttext{float:right;text-align:right;font-size:16px;display:inline-block;margin-right:25px}
|
||||
.resotext{text-align: left;font-size:18px;margin-left:0px;font-weight:550;}
|
||||
.titel{font-size:18px;font-weight:550;display:block;margin-top:5px}
|
||||
.main_titel{font-size:18px;font-weight:550;display:block;text-align:center;margin-top:5px}
|
||||
.cc-wert{font-size:18px;font-weight:550;display:block;margin-top:-20px;margin-left:250px;text-decoration: none;color:black;}
|
||||
.liClass{margin-bottom:8px}
|
||||
</style>
|
||||
<body id="bodypage" class="main-bg" >
|
||||
<a class="main_titel">Crunchyroll Downloader</a>
|
||||
<img alt="image error" src="balken.png" class="class-balken">
|
||||
|
||||
<script>
|
||||
|
||||
setInterval(function loadXMLDoc() {
|
||||
var xhttp = new XMLHttpRequest();
|
||||
xhttp.onreadystatechange = function() {
|
||||
if (this.readyState == 4 && this.status == 200) {
|
||||
document.getElementById("bodypage").innerHTML = this.responseText;
|
||||
//console.log(this.responseText);
|
||||
}
|
||||
};
|
||||
xhttp.open("GET", "/", true);
|
||||
xhttp.send();
|
||||
}, 1000);
|
||||
</script>
|
||||
</body></html>
|
34
Crunchyroll Downloader/bin/x64/Debug/WebInterface/inject.js
Normal file
34
Crunchyroll Downloader/bin/x64/Debug/WebInterface/inject.js
Normal file
@ -0,0 +1,34 @@
|
||||
var episodeCount = document.getElementsByClassName("episode").length;
|
||||
var i;
|
||||
for (i = 0; i < episodeCount; i++) {
|
||||
document.getElementsByClassName("episode")[i].setAttribute('href', "javascript:" + document.getElementsByClassName("episode")[i].href);
|
||||
document.getElementsByClassName("episode")[i].setAttribute('onclick', 'deselect(this.id)')
|
||||
//document.getElementsByClassName("episode")[i].style.background = "#f78c25";
|
||||
document.getElementsByClassName("episode")[i].setAttribute('id', makeid(8))
|
||||
//document.getElementsByClassName("episode")[i].classList.add('CRD-Selected')
|
||||
}
|
||||
|
||||
function deselect(clicked_id) {
|
||||
var seleceted = document.getElementById(clicked_id).classList.contains('CRD-Selected')
|
||||
|
||||
if (seleceted == true) {
|
||||
document.getElementById(clicked_id).classList.remove('CRD-Selected')
|
||||
document.getElementById(clicked_id).style.background = "#ffffff";
|
||||
|
||||
} else {
|
||||
document.getElementById(clicked_id).classList.add('CRD-Selected')
|
||||
document.getElementById(clicked_id).style.background = "#f78c25";
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function makeid(length) {
|
||||
var result = '';
|
||||
var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
||||
var charactersLength = characters.length;
|
||||
for (var i = 0; i < length; i++) {
|
||||
result += characters.charAt(Math.floor(Math.random() * charactersLength));
|
||||
}
|
||||
return result;
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
var episodeCount = document.getElementsByClassName("c-playable-card__link").length;
|
||||
var i;
|
||||
for (i = 0; i < episodeCount; i++) {
|
||||
var old_element = document.getElementsByClassName("c-playable-card__link")[i];
|
||||
var new_element = old_element.cloneNode(true);
|
||||
old_element.parentNode.replaceChild(new_element, old_element);
|
||||
document.getElementsByClassName("c-playable-card__link")[i].setAttribute('href', "javascript:" + document.getElementsByClassName("c-playable-card__link")[i].href);
|
||||
document.getElementsByClassName("c-playable-card__link")[i].setAttribute('onclick', 'this.classList.contains("CRD-Selected")?(this.classList.remove("CRD-Selected"),this.style.background="#000000",this.style.opacity="0"):(this.classList.add("CRD-Selected"),this.style.background="#f78c25",this.style.opacity="0.5");');
|
||||
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
var episodeCount = document.getElementsByClassName("fullEpisodeThumbs").length;
|
||||
var i;
|
||||
for (i = 0; i < episodeCount; i++) {
|
||||
|
||||
document.getElementsByClassName("trackVideo")[i * 3].setAttribute('href', "javascript:" + document.getElementsByClassName("trackVideo")[i * 3].href);
|
||||
document.getElementsByClassName("trackVideo")[i * 3 + 1].setAttribute('href', "javascript:" + document.getElementsByClassName("trackVideo")[i * 3 + 1].href);
|
||||
document.getElementsByClassName("trackVideo")[i * 3 + 2].setAttribute('href', "javascript:" + document.getElementsByClassName("trackVideo")[i * 3 + 2].href);
|
||||
|
||||
//document.getElementsByClassName("fullEpisodeThumbs")[i].setAttribute('href', "javascript:" + document.getElementsByClassName("trackVideo")[i].href);
|
||||
|
||||
document.getElementsByClassName("fullEpisodeThumbs")[i].setAttribute('href', document.getElementsByClassName("trackVideo")[i * 3].href);
|
||||
|
||||
document.getElementsByClassName("fullEpisodeThumbs")[i].setAttribute('onclick', 'deselect(this.id)')
|
||||
//document.getElementsByClassName("fullEpisodeThumbs")[i].style.background = "#f78c25";
|
||||
|
||||
document.getElementsByClassName("fullEpisodeThumbs")[i].setAttribute('id', makeid(8))
|
||||
|
||||
//document.getElementsByClassName("fullEpisodeThumbs")[i].classList.add('CRD-Selected')
|
||||
}
|
||||
|
||||
function deselect(clicked_id) {
|
||||
var seleceted = document.getElementById(clicked_id).classList.contains('CRD-Selected')
|
||||
|
||||
if (seleceted == true) {
|
||||
document.getElementById(clicked_id).classList.remove('CRD-Selected')
|
||||
document.getElementById(clicked_id).style.background = "#ffffff";
|
||||
|
||||
} else {
|
||||
document.getElementById(clicked_id).classList.add('CRD-Selected')
|
||||
document.getElementById(clicked_id).style.background = "#f78c25";
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function makeid(length) {
|
||||
var result = '';
|
||||
var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
||||
var charactersLength = characters.length;
|
||||
for (var i = 0; i < length; i++) {
|
||||
result += characters.charAt(Math.floor(Math.random() * charactersLength));
|
||||
}
|
||||
return result;
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user