pyLoad

pyLoad is a free and open source downloader for 1-click-hosting sites like rapidshare.com or uploaded.to. It supports link decrypter as well as all important container formats. (Source: Official Homepage)

Note
pyLoad has already been added to the PHP Installer and this guide should only be consulted if you want to learn how to set it up manually.

Okay so you have a PREMIUM account at a One-Click-Hoster (RapidShare, Netload, etc) and are fed up with the limited features of the integrated e-Downloader of the e-TRAYz? You miss container file support (.dlc) and a nicer web interface? Then pyLoad is the solution! Follow these instructions to get started.


Install pyLoad

Login as "root" and type:

wget -P /tmp http://get.pyload.org/get/ && unzip /tmp/pyload-v*.zip -d /opt/share
ln -sf /home/Public/eDownloader /opt/share/pyload/Downloads

This will get you the latest pyLoad and extract it to /opt/share on your e-TRAYz. The second line creates a symbolic link to the eDownloader folder on the public e-TRAYz disk (note: you can edit the download folder in the config file later but that file expects a relative path, so using a symbolic link is more convenient here).

Now start pyLoad and see what it does:

cd /opt/share/pyload
python pyLoadCore.py

From the output you will see that some software packages are missing: pycrypto, pycurl, Django, tesseract and gocr. Furthermore, two config files are created in /opt/share/pyload/module/config: core.xml and plugin.xml which you can edit to your needs:

/opt/bin/mcedit /opt/share/pyload/module/config/core.xml
/opt/bin/mcedit /opt/share/pyload/module/config/plugin.xml

Edit at least ALL "Username" and "Password" values in core.xml and if you want pyLoad to only download at a specific time of the day, you can do that too in the "Download" section of the XML file.

You can enter your PREMIUM account details in the plugin.xml:

        <premium>True</premium>
        <username>your_username</username>
        <password>your_password</password>

Save each file with F10 and continue with installing the missing software packages.

Required packages

For proper functionality pyLoad requires the additional packages that I mentioned above. The only package which was available via IPKG and recognized by pyLoad after installation is tesseract, so we will install this one with IPKG:

/opt/bin/ipkg install tesseract-ocr
ln -sf /opt/bin/tesseract /usr/bin/tesseract

All others will be downloaded and installed by ourselves:

wget -P /tmp http://files.mavvy.net/xtreamer/pycrypto-2.1.0.tar.gz && tar xvzf /tmp/pycrypto-2.1.0.tar.gz -C /tmp
wget -P /tmp http://files.mavvy.net/xtreamer/pycurl-7.19.0.tar.gz && tar xvzf /tmp/pycurl-7.19.0.tar.gz -C /tmp
wget -P /tmp http://files.mavvy.net/xtreamer/Django-1.1.1.tar.gz && tar xvzf /tmp/Django-1.1.1.tar.gz -C /tmp
wget -P /tmp http://files.mavvy.net/xtreamer/gocr-0.48.tar.gz && tar xvzf /tmp/gocr-0.48.tar.gz -C /tmp

Each of the following steps will take a while, so get yourself cozy with a coffee or a tea:

cd /tmp/pycrypto-2.1.0
python setup.py install
cd /tmp/pycurl-7.19.0
python setup.py install
cd /tmp/Django-1.1.1
python setup.py install
cd /tmp/gocr-0.48
./configure --prefix=/usr
make && make install
cd /opt/share/pyload
python module/web/manage.py syncdb

pyLoad should ask you to set up a superuser, agree to that and follow the instructions to create a superuser account.

Start pyLoad

python pyLoadCore.py

You will see that the webinterface listens at port 8001 so go there: http://<your e-TRAYz IP>:8001 and a friendly pyLoad prompt should ask you for your login details. Use the details you entered for your superuser.

If everything works, you can abort the currently running pyLoad with CTRL+C and restart it into the background:

python pyLoadCore.py &