[req] how to get link on filesonic ?

Status
Not open for further replies.

heppinnz

Active Member
94
2010
2
0
hello dears coders! sometimes i want get link to download file and want to do this fast and easy. filesonic api does not provide access to filelist, exist any solution ?

thanks.
 
15 comments
I normally search google for something like this for EXAMPLE:

Source Code FileServe vBulletin

That way it will search vbulletin forums for fileserve downloads for Source Code.

EDIT: I just noticed you meant hotlinking?
 
My bad. Didn't understand your question.

The easiest thing you can do is use google wisely.
Use quotes in your search. For example:

the last airbender "filesonic.com/file/"
two and a half men "filesonic.com/file/"
 
My bad. Didn't understand your question.

The easiest thing you can do is use google wisely.
Use quotes in your search. For example:

the last airbender "filesonic.com/file/"
two and a half men "filesonic.com/file/"

nope. you just misunderstood ;)
 
Then I give up.
And no, there is no central search system for filesonic links as it would prove their service is mostly used to aid in the illegal distribution of copyrighted material.

And no, nobody is able to code such thing. You can only index such links by crawling forums and blogs, but nobody sane would attempt it since google already does such a great job.

Edit:
Oh, you are trying to get the downloadlink of your own file?
In that case it's possible by scraping that page yes.
 
scraping that page can be problematic because the needed file isn't always on the first page.
solution: you can also export ALL links as a txt file and search in that file.

if you want I can write simple script that does everything for you ;)
 
PHP:
function searchnget($filepath, $stringtosearch) {
// Author : Soft2050 - Search for a string in a text file and then return the line
$lines = file($filepath);
foreach($lines as $line) {
    if (strpos($line, $stringtosearch) !== false) {
    return $line;
    break;
    }
}
return "";
}
Usage:
PHP:
echo searchnget('mytest.txt', 'soft');
mytest.txt contents:
Code:
what
great
i am what
soft 2050
this is
now i like
what the shit
good an

You can add all links to a text file and then search for that
 
Status
Not open for further replies.
Back
Top