Anime
Created on: May 2nd, 2004
Sponsorships:
user | amount | user | amount |
---|---|---|---|
No one has sponsored this site ( ._.) | |||
Sponsor this site! | Total: $0.00 | Active: $0.00 |
Vote metrics:
rating | total votes | favorites | comments |
---|---|---|---|
(2.28) | 39 | 0 | 8 |
View metrics:
today | yesterday | this week | this month | all time |
---|---|---|---|---|
0 | 0 | 0 | 0 | 5,265 |
Inbound links:
views | url |
---|---|
1 | http://littlethingy.ytmnsfw.com |
Thank you pichu for wrting this awesome code to download YTMND assets
[code]#!/bin/bash
export OPENSSL_CONF=/etc/ssl/
read -p "start at what asset number " -e CHECKSTART
read -p "end at what asset number " -e CHECKEND
# subtracts the end from the start to see how times it loops
count=$(expr $CHECKEND - $CHECKSTART)
# bellow adds +1 to the number to make sure it loops full number, like grabbing 120 instead of stopping the loop at 120
count=$(expr $count + 1)
for i in $(seq $count)
do
echo $CHECKSTART
url="https://ytmnd.com/assets/$CHECKSTART"
wget --no-check-certificate --header="Accept: text/html" --user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0" $url -O site
downloadurl=$(grep -oP '(?<=<div class="asset_value"><a href=").*?(?=" id="asset_url" title=")' site)
#takes the basename from the url for using curl to save file
filename=$(basename $downloadurl)
curl "$downloadurl" -o $filename
# adds number to the asset number as it goes threw the loop
CHECKSTART=$(expr $CHECKSTART + 1)
# deletes the downloaded site profile as it goes threw a cycle of them
rm site
# random number to pause between 1 and 20 seconds
pause=$((1 + RANDOM % 3))
echo $pause
sleep $pause
done[/code]
Bold
Italic
Underline
Code
User Link
Site Link