The Cavern Links Checker

By yah Last update Jan 19, 2012 — Installed 2,002,296 times.

Hungarian hosts

in
Subscribe to Hungarian hosts 7 posts, 2 voices



Pörköltszaft User
FirefoxWindows

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:
The first host is "addat.hu". I've added this code to your script to get it work:


hosts.push (["addat.hu",
             /http:\/\/addat\.hu/gi,
             /kiválasztott fájl/gi,
             /a keresett fájl nem található/gi
             ]);

Here are some working links for you to test:

http://addat.hu/49eb38cf/g1cndb-vegsoallomas3d-cam.crc.html
http://addat.hu/9297bf70/spancserek.md5.html

And these are dead / not working:

http://addat.hu/971d71c8/sanctuary-01-01-02.part3.rar
http://addat.hu/675bb1f5/sanctuary-01-01-02.part4.rar

The second host is called "data.hu". This is the code for it:


hosts.push (["data.hu", 
	     /http:\/\/data\.hu/gi,
	     /következő fájl letöltése/gi,
	     /az adott fájl nem létezik/gi
	     ]);

Working links:

http://data.hu/get/490052/Terkep.rar.html
http://data.hu/get/204781/Magyar_Radio_-_Hamupipoke.mp3

Dead links:

http://data.hu/get/1626987/Csatni_chutneyreceptek.doc.html
http://data.hu/get/1626989/Marhahusoslevesek.doc.html

The third one's called "hellshare.hu". Here, you can create folders too.


hosts.push (["hellshare.hu",
             /http:\/\/download.hellshare.hu/gi,
             /Free Download|következő mappát választotta/gi,
             /fájl nem található/gi
             ]);

Working links:

http://download.hellshare.hu/darksite/plazaasza-upby-darksite.rar/558886

http://download.hellshare.hu/tmnt-rolemodels-xvid-part1.rar/564699
http://download.hellshare.hu/tmnt-rolemodels-xvid-part2.rar/564918

Dead links:

http://download.hellshare.hu/silent-hill-homecoming-vitality-part2.rar/185060
http://download.hellshare.hu/silent-hill-homecoming-vitality-part3.rar/185096

The next one isn't Hungarian, but the uploaders use it quite lot around here: It's called "load.to".


hosts.push (["load.to",
             /http:\/\/www.load\.to/gi,
             /You are going to download/gi,
             /Please check URL/gi
             ]);

Workin' links:

http://www.load.to/?d=EBlta4ZoHc
http://www.load.to/?d=lcoWKuJsyJ

And not working ones:

http://www.load.to/?d=v9gSO5kEG
http://www.load.to/?d=3822rjvch
http://www.load.to/?d=PezE1mO5c

And one more to go: "4shared.com". Here's the code I've added:


hosts.push (["4shared.com",
             /http:\/\/www\.4shared\.com/gi,
             /Download Now/gi,
             /class=\"warn\"/gi
             ]);

Links that are working:

http://www.4shared.com/file/116521671/c29efea2/Husz_orapart01.html
http://www.4shared.com/file/116524696/f5a7b6bd/Husz_orapart02.html

And dead ones:

http://www.4shared.com/file/41454127/244401c/12_Angry_Menpart1.html
http://www.4shared.com/file/41456471/3a921b0c/12_Angry_Menpart2.html

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:


hosts.push (["uploaded.to",
             /http:\/\/uploaded\.to/gi,
             /Premium Download/gi,
             /File doesn\'t exist|The file status can only be queried by premium users/gi
             ]);

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

 
yah Script's Author
FirefoxWindows

Porkoltszaft,
..
All Hosts have been added to the Test Script here: http://userscripts.org/scripts/show/43375.
..
Please note that the data.hu files all show bad based on the links and code you posted. You will have to verify them.
..
Thanks,
yah.

 
Pörköltszaft User
FirefoxWindows

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
http://addat.hu/6149cf47/g1cndb-vegsoallomas3d-cam.004.html

And there is the another way when you link this way:
http://addat.hu/6149cf47/g1cndb-vegsoallomas3d-cam.004

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

 
yah Script's Author
FirefoxWindows

Pörköltszaft,
..
I do appreciate the help. I have updated the string for következő.
..
However, adding an extra if/then/else routine just for a single host is not feasible. This basically slows down all other checks just to support addat.hu. This would not be very efficient.
..
I will also, however, pursue another solution. I have seen this kind of link before. I would like to find a way to support the response received from the server for a direct link and try not to trigger the download. I think there might be a way but this will take some work.
..
Thanks for the input,
yah.

 
yah Script's Author
FirefoxWindows

Pörköltszaft,
..
Due to the danger to script users from addat.hu, I am going to remove it from the latest release. It would be irresponsible to include a filehost which behaves the way addat.hu does. I'm leaving the code in the script, just commenting it out. If you really want it to work for you, feel free to uncomment it.
..
I am still going to try to find a solution to the problem, but for now, addat is not going to be available by default.
..
yah.

 
Pörköltszaft User
FirefoxWindows

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,
Pörköltszaft

 
yah Script's Author
FirefoxWindows

Thanks, Pörköltszaft.
..
I appreciate the amount of care you take to present your sites. I will always take the time to investigate your requests. I am sorry that the addat.hu site is not being supported right now. However, I think I can eventually work around this.
..
yah.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel