Skip to content

Instantly share code, notes, and snippets.

@jomat
Created December 20, 2011 01:52
Show Gist options
  • Save jomat/1499862 to your computer and use it in GitHub Desktop.
Save jomat/1499862 to your computer and use it in GitHub Desktop.
youporn-deutsch.com downloader
#!/bin/zsh
# ./ypd².sh http://youporn-deutsch.com/video/2961/schneeflittchen-2
# ./ypd².sh http://youporn-deutsch.com/video/2720/dornm%C3%B6schen
foo=(`echo $1|cut -d/ -f5,6|sed 'su/u u'`)
foo[2]=$(printf "`echo $foo[2]|sed 's/+/ /g;s/%/\\\\x/g'`")
echo video id: $foo[1]
echo file name: $foo[2]
bar=(`wget -q -O- http://www.youporn-deutsch.com/media/player/config.php\?vkey=$foo[1]|xmlstarlet sel -t -m "/xml/video" -v image -o \ -v src`)
echo pic: $bar[1]
echo vid: $bar[2]
wget -O$foo[1]_$foo[2].jpg $bar[1]
wget -O$foo[1]_$foo[2].flv $bar[2]
@stablebetter
Copy link

You may refer to this step by step guide to dwonload youporn videos at http://www.allavsoft.com/how-to/youporn-downloader.html

It also helps to download videos from pornhub, redtube, youtube, etc video sharing websites

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment