Hungarian hosts
![]() ![]() |
Dear yah, I've added some hosts to your script (hope you don't mind), but updating to 2.30 cleared out my modifications, so I decided to contact you (hope you don't mind that either :) ). Here, in Hungary these host are pretty popular, and (without your script) checking the links one by one are very painful / takes some time :) So, here we go:
Here are some working links for you to test:
And these are dead / not working:
The second host is called "data.hu". This is the code for it:
Working links:
Dead links:
The third one's called "hellshare.hu". Here, you can create folders too.
Working links:
http://download.hellshare.hu/tmnt-rolemodels-xvid-part1.rar/564699
Dead links:
The next one isn't Hungarian, but the uploaders use it quite lot around here: It's called "load.to".
Workin' links:
And not working ones:
And one more to go: "4shared.com". Here's the code I've added:
Links that are working:
And dead ones:
Plus I modified the "uploaded.to" code, because some moderators on a Hungarian forum claimed that sometimes the script gave them a false-positive or false-negative signal on this host. This is the code:
I tested these codes in the TCLC 2.20 and worked perfect, although this doesn't mean that they are good enough to copy-paste them into a release version of your script (that's why I posted some links to you, to check my code out and if you think it's wrong you can modify it). Your script is a huge help for moderators, saves lots of time to them, and they are very thankful for it! Sorry for my english btw, my native is Hungarian, and i hope i didn't made (a lot of) mistakes in the post! Pörköltszaft |
![]() ![]() |
Porkoltszaft,
|
![]() ![]() |
Dear yah, First of all, thank you for your work, and support! I've checked the data.hu links, they are all right. But, I think you made a typo in the script source: hosts.push (["data.hu", /http:\/\/data\.hu/gi, /következo fájl letöltése/gi, /az adott fájl nem létezik/gi, "" ]); The mistake is in the "következo" word. It's supposed to be "következő". So the last letter is not 'o', it's 'ő'. I think thats why all the links show up as dead links. Another thing involves "addat.hu". In the previous post I forgot to mention, that you can provide the addat.hu links in two forms. The first one is when you put the ".html" to the back of the link like
And there is the another way when you link this way:
The script works with the first one OK. But, the second link starts the download immediately (and the script downloads it too...) To avoid that, i modified the "other_get_url" function:
function other_get_url(URL, file_is_alive, file_is_dead){
var TempURL;
if (URL.search("addat.hu") != -1 && URL.search(".html") == -1)
{
TempURL = URL + ".html";
}
else
{
TempURL = URL;
}
GM_xmlhttpRequest({
method: 'GET',
url: TempURL,
headers: { 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)', },
onload: function(responseDetails) {
if (responseDetails.responseText.search(file_is_dead) != -1 && file_is_dead != ""){
display_flag(URL, "DEL");
} else {
if (responseDetails.responseText.search(file_is_alive) == -1) {
display_flag(URL, "DEL");
} else {
display_flag(URL, "LIVE");
}
}
}
});
}
As you can see, i'm only added an if..else to check if it's an "addat.hu" link and if it has the ".html" in the back of the string or not. If not, i'm adding it to the URL, so no immediate file download happens. Of course this is just my lazy method to accomplish this... Pörköltszaft |
![]() ![]() |
Pörköltszaft,
|
![]() ![]() |
Pörköltszaft,
|
![]() ![]() |
Dear yah, I understand the problem, and you're right! Again, I'd like to thank you for your work and great support! I'll continue watching the topic/script, and if it happens that something needs to be translated from addat (or any Hungarian site), I'm happy to help! :) Thanks,
|
![]() ![]() |
Thanks, Pörköltszaft.
|

