Uploader sur son serveur des liens MU
jobam7
Messages postés
55
Statut
Membre
-
jobam7 Messages postés 55 Statut Membre -
jobam7 Messages postés 55 Statut Membre -
Salut à tous!
Je possède actuellement un serveur privé avec bien entendu un accès SSH.
Je voudrai pouvoir UP une liste de liens megaupload sur mon serveur, en utilisant mon compte prenium.
Je ne sais pas comment m'y prendre, pourriez-vous m'aider s'il vous plait?
Je possède actuellement un serveur privé avec bien entendu un accès SSH.
Je voudrai pouvoir UP une liste de liens megaupload sur mon serveur, en utilisant mon compte prenium.
Je ne sais pas comment m'y prendre, pourriez-vous m'aider s'il vous plait?
A voir également:
- Uploader sur son serveur des liens MU
- Créer un lien pour partager des photos - Guide
- Changer serveur dns - Guide
- Vérificateur de liens - Guide
- Serveur dns gratuit - Guide
- Serveur entrant et sortant - Guide
1 réponse
UP!
j'ai trouvé ceci sur les pages de Megaupload, mais comment l'utiliser?
Code : HTML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<script language="Javascript">
function postlogin(login,password)
{
document.loginform.login.value = login;
document.loginform.password.value = password;
document.loginform.submit();
}
function postlogin2()
{
document.loginform2.submit();
}
</script>
<div style="position:absolute; top:0px; left:0px;">
<form action="" method="POST" name="loginform">
<input type="hidden" name="login">
<input type="hidden" name="password">
</form>
</div>
et voici le code du bouton de téléchargement lorsque je suis connecté à mon compte prenium ("ici pour télécharger un épisode de Gundam 00")
Code : HTML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<div id="downloadbutton" style="position:absolute; top:3px; left:0px;">
<TABLE cellpadding="0" cellspacing="0">
<TR>
<TD width="350" height="35" align="center" valign="middle">
<table style="border-color: #FF8923; border-style: solid; border-width: 1px; 1px; border-spacing: 0; border-collapse: collapse;">
<tr>
<td style="border-color: #FF8923; border-style: solid; border-width: 1px 1px 0 0; background-color: #F5F5F5;" align="center" width="250" height="23">
<div id="download_html" class="downloadhtml" style="font: Arial; font-weight: normal; font-size: 13px; color: black; }">Javascript/ActiveScripting required..</div>
</td>
</tr>
</table>
<script language="Javascript">
x3005=1;
function countdown()
{
if ((0 <= 100) || (0 > 0))
{
x3005--;
if(x3005 == 0)
{
if (0)
document.getElementById("downloadhtml").innerHTML = '<a href="http://www21..megaupload.com/files/e17e8a1436e66f46dbaf2b02ab79a8d5/[FA]_Gundam_00_S2_05_FullHD.mkv" class="downloadlink" onclick="loadingdownload();">Cliquez ici pour télécharger</font></a>';
if (0)
document.getElementById("download_html").innerHTML = '<a href="http://www21..megaupload.com/files/e36e885436e66f46dbaf2b02ab79a8d5/[FA]_Gundam_00_S2_05_FullHD.mkv" class="downloadhtml" onclick="loadingdownload();">Cliquez ici pour télécharger</font></a>';
var b = String.fromCharCode(Math.abs(-52));
var e = 'a' + String.fromCharCode(Math.sqrt(2401));
document.getElementById("download_html").innerHTML = '<a href="http://www495.megaupload.com/files/e17e8' + e + b + '36e66f46dbaf2b02ab79a8d5/[FA]_Gundam_00_S2_05_FullHD.mkv" class="downloadhtml" onclick="loadingdownload();">Cliquez ici pour télécharger</font></a>';
}
if(x3005 > 0)
{
document.getElementById("download_html").innerHTML = 'Merci de patienter '+x3005+' secondes..';
setTimeout('countdown()',1000);
}
}
}
countdown();
function loadingdownload()
{
document.getElementById("download_html").innerHTML = 'Téléchargement en cours...';
}
function popup(url,name,wwidth,wheight)
{
window.open(url,name,'width='+wwidth+',height='+wheight+',scrollbars=no,status=no,resizable=yes, toolbar=no');
}
function popup2(url,name,wwidth,wheight)
{
window.open(url,name,'width='+wwidth+',height='+wheight+',scrollbars=yes,status=no,resizable=yes, toolbar=no');
}
function popup3(url,name,wwidth,wheight)
{
window.open(url,name,'width='+wwidth+',height='+wheight+',scrollbars=yes,status=yes,resizable=yes, toolbar=yes,location=yes,menubar=yes,left=0,top=0');
}
</script>
</TD>
</TR>
</TABLE>
</div>
Je pense que tous les éléments sont là, comment peut-on les utiliser pour répondre à ma demande s'il vous plait?
POUR UNE MEILLEURE PRESENTATION DU CODE, ALLEZ SUR:
https://openclassrooms.com/forum/sujet/uploader-sur-son-serveur-des-liens-mu-55511
j'ai trouvé ceci sur les pages de Megaupload, mais comment l'utiliser?
Code : HTML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<script language="Javascript">
function postlogin(login,password)
{
document.loginform.login.value = login;
document.loginform.password.value = password;
document.loginform.submit();
}
function postlogin2()
{
document.loginform2.submit();
}
</script>
<div style="position:absolute; top:0px; left:0px;">
<form action="" method="POST" name="loginform">
<input type="hidden" name="login">
<input type="hidden" name="password">
</form>
</div>
et voici le code du bouton de téléchargement lorsque je suis connecté à mon compte prenium ("ici pour télécharger un épisode de Gundam 00")
Code : HTML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<div id="downloadbutton" style="position:absolute; top:3px; left:0px;">
<TABLE cellpadding="0" cellspacing="0">
<TR>
<TD width="350" height="35" align="center" valign="middle">
<table style="border-color: #FF8923; border-style: solid; border-width: 1px; 1px; border-spacing: 0; border-collapse: collapse;">
<tr>
<td style="border-color: #FF8923; border-style: solid; border-width: 1px 1px 0 0; background-color: #F5F5F5;" align="center" width="250" height="23">
<div id="download_html" class="downloadhtml" style="font: Arial; font-weight: normal; font-size: 13px; color: black; }">Javascript/ActiveScripting required..</div>
</td>
</tr>
</table>
<script language="Javascript">
x3005=1;
function countdown()
{
if ((0 <= 100) || (0 > 0))
{
x3005--;
if(x3005 == 0)
{
if (0)
document.getElementById("downloadhtml").innerHTML = '<a href="http://www21..megaupload.com/files/e17e8a1436e66f46dbaf2b02ab79a8d5/[FA]_Gundam_00_S2_05_FullHD.mkv" class="downloadlink" onclick="loadingdownload();">Cliquez ici pour télécharger</font></a>';
if (0)
document.getElementById("download_html").innerHTML = '<a href="http://www21..megaupload.com/files/e36e885436e66f46dbaf2b02ab79a8d5/[FA]_Gundam_00_S2_05_FullHD.mkv" class="downloadhtml" onclick="loadingdownload();">Cliquez ici pour télécharger</font></a>';
var b = String.fromCharCode(Math.abs(-52));
var e = 'a' + String.fromCharCode(Math.sqrt(2401));
document.getElementById("download_html").innerHTML = '<a href="http://www495.megaupload.com/files/e17e8' + e + b + '36e66f46dbaf2b02ab79a8d5/[FA]_Gundam_00_S2_05_FullHD.mkv" class="downloadhtml" onclick="loadingdownload();">Cliquez ici pour télécharger</font></a>';
}
if(x3005 > 0)
{
document.getElementById("download_html").innerHTML = 'Merci de patienter '+x3005+' secondes..';
setTimeout('countdown()',1000);
}
}
}
countdown();
function loadingdownload()
{
document.getElementById("download_html").innerHTML = 'Téléchargement en cours...';
}
function popup(url,name,wwidth,wheight)
{
window.open(url,name,'width='+wwidth+',height='+wheight+',scrollbars=no,status=no,resizable=yes, toolbar=no');
}
function popup2(url,name,wwidth,wheight)
{
window.open(url,name,'width='+wwidth+',height='+wheight+',scrollbars=yes,status=no,resizable=yes, toolbar=no');
}
function popup3(url,name,wwidth,wheight)
{
window.open(url,name,'width='+wwidth+',height='+wheight+',scrollbars=yes,status=yes,resizable=yes, toolbar=yes,location=yes,menubar=yes,left=0,top=0');
}
</script>
</TD>
</TR>
</TABLE>
</div>
Je pense que tous les éléments sont là, comment peut-on les utiliser pour répondre à ma demande s'il vous plait?
POUR UNE MEILLEURE PRESENTATION DU CODE, ALLEZ SUR:
https://openclassrooms.com/forum/sujet/uploader-sur-son-serveur-des-liens-mu-55511