Logo
IT Dienstleistungen

Tubeload/MyStream Download Helper

Tubeload/MyStream needs an xvid plugin. To download the Videos instead of direct watching just pass the playerpage url to this script as command line argument like

streamload $URL

~/bin/streamload

#!/bin/bash
# grab html page first
wget $1
 
#extract filepath from the downloaded html file
#remove of "http://www.tubeload.to/"
tubepage=$(echo $tubesource | cut -d"/" -f4)
tubefile=$(cat $tubepage |  grep "var url" | cut -d"'" -f2)
rm $tubepage
 
#download file in background
echo "Download of $tubefile"
wget -nc -b -c $tubefile

wget produces files like wget-log.X for every new download in the folder where the script is executed.

Notices

  • most services limit the rate for a download, so fetching more than one file saves time
  • tubeload works with at least 6 downloads at the same time
  • myStream works best with 3 or 4 simultan downloads

Seiten-Werkzeuge