Marius van Witzenburg We fight for our survival, we fight!

17jul/113

How to download sexdumpert.nl photo’s or video’s with a simple Bash script

Posted by mariusvw

Here is the simple script which downloads all photos from sexdumpert.nl

Just save the file as run.sh in a directory and run it. It will save all photos found.

#!/bin/bash
 
if [ ! -d 'files' ]
then
    mkdir files
fi
 
for ((a = 0; a <= 999; a++))
do
    ca=`printf "%03d" $a`
    for ((b = 0; b <= 999; b++))
    do
        cb=`printf "%03d" $b`
        for ((c = 0; c <= 999; c++))
        do      
            cc=`printf "%03d" $c`
            for ((d = 0; d <= 999; d++))
            do      
                cd=`printf "%03d" $d`
 
                url="http://mediadata.sexdumpert.nl/$ca/$cb/$cc/$cd.jpg"
                echo $url
                /usr/bin/curl $url -o "files/$ca-$cb-$cc-$cd.flv"
 
            done    
        done    
    done    
done

Here is the simple script which downloads all video's from sexdumpert.nl

Just save the file as run.sh in a directory and run it. It will save all video's found.

#!/bin/bash
 
if [ ! -d 'files' ]
then
    mkdir files
fi
 
for ((a = 0; a <= 999; a++))
do
    ca=`printf "%03d" $a`
    for ((b = 0; b <= 999; b++))
    do
        cb=`printf "%03d" $b`
        for ((c = 0; c <= 999; c++))
        do      
            cc=`printf "%03d" $c`
            for ((d = 0; d <= 999; d++))
            do      
                cd=`printf "%03d" $d`
 
                url="http://mediadata.sexdumpert.nl/$ca/$cb/$cc/$cd.flv"
                echo $url
                /usr/bin/curl $url -o "files/$ca-$cb-$cc-$cd.flv"
 
            done    
        done    
    done    
done

Hope this for fills some people their needs ;-)

Geëtiketeerd als: , , , , , 3 Reacties