https://wiki.archlinux.org/api.php?action=feedcontributions&user=Hops&feedformat=atomArchWiki - User contributions [en]2024-03-29T14:54:18ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=PyLoad&diff=163956PyLoad2011-10-04T14:17:59Z<p>Hops: spidermonkey -> js</p>
<hr />
<div>{{Lowercase title}}<br />
[[Category:Internet Applications (English)]]<br />
[http://pyload.org/ pyLoad] is a fast, lightweight and full featured download manager for many One-Click-Hoster, container formats like DLC, video sites or just plain http/ftp links ([http://pyload.org/hoster supported hosts]). It aims for low hardware requirements and platform independence to be runnable on all kind of systems (desktop pc, netbook, NAS, router). Despite its strict restriction it is packed full of features just like webinterface, captcha recognition, unrar and much more. <br />
<br />
pyLoad is divided into core and clients, to make it easily remote accessible. Currently there are ([http://pyload.org/screenshots screenshots]):<br />
* a '''webinterface''';<br />
* a '''command line interface''';<br />
* a '''GUI''' written in '''Qt''';<br />
* and an '''Android''' client.<br />
<br />
==Installation==<br />
<br />
Install the [http://aur.archlinux.org/packages.php?ID=34434 pyload] package from the AUR.<br />
<br />
===Requirements===<br />
Required dependencies are handled by the AUR package's PKGBUILD. Nevertheless, some optional dependencies aren't:<br />
<br />
* Ability to establish a secure connection to core or webinterface.<br />
# pacman -S openssl python2-pyopenssl<br />
<br />
*For ClickNLoad support. <br />
# pacman -S js<br />
<br />
==Configuration==<br />
Run Setup Assistant:<br />
# pyLoadCore -s<br />
<br />
The Setup Assistant gives you a jump start, by providing a ''basic'' but ''working'' setup. Being a basic setup, there are more options and you should at least look at them, since some sections are untouched by the Assistant, like the permissions section. <br />
<br />
{{Tip|Most (if not all) of the options can be changed with {{Codeline|pyLoadGui}} or with the the Web Interface.}}<br />
===Optional===<br />
However, if you prefer to edit the pyload.conf yourself and you went with the default conf directory, you can change the settings by editing {{Filename|~/.pyload/pyload.conf}. Use your favorite editor to edit, ''ie'':<br />
# nano ~/.pyload/pyload.conf<br />
<br />
You can get aquainted with most of the [http://pyload.org/configuration configuration options] in this page. Do note that it is outdated, in a sense, since the {{Filename|/opt/pyload/module/config/}} files it refers to do not match what's still on that page.<br />
<br />
While also editable with the web interface, you can also change the plugins configuration by editing {{Filename|~/.pyload/plugins.conf}}. Use your favorite editor to edit, ''ie'':<br />
# nano ~/.pyload/plugins.conf<br />
<br />
'''Extraction passwords''' are store in ~/.pyload/unrar_passwords.txt. To add passwords either edit the file or:<br />
# echo '<password>' >> ~/.pyload/unrar_passwords.txt<br />
<br />
You can get aquainted with most of the [http://pyload.org/configuration configuration options] in this page. Do note that it is outdated, in a sense, since the /opt/pyload/module/config/ files it refers to do not match what's still on that page.<br />
<br />
===Scripts===<br />
For more info on this,<br />
cat /opt/pyload/scripts/Readme.txt<br />
and [http://forum.pyload.org/viewtopic.php?f=7&t=7 visit pyload.org forums].<br />
<br />
If you are interested in running userscripts, before running, you need to either<br />
# chmod 777 /opt/pyload/scripts/<br />
or <br />
# chown <user you defined in pyload.conf / permissions settings> /opt/pyload/scripts/<br />
in order for pyLoadCore to create the necessary folders.<br />
<br />
==Running==<br />
===Essential===<br />
# pyLoadCore <br />
{{Tip|You may want to add {{Codeline|pyLoadCore --daemon}} to your {{Filename|rc.local}}}}<br />
<br />
===Interfacing with pyLoadCore===<br />
# pyLoadCli<br />
<br />
# pyLoadGui<br />
<br />
Or, as stated above, with the web interface. If the default settings are true, then:<br />
http://localhost:8000<br />
<br />
==Daemon==<br />
<br />
Create and {{Codeline|chmod +x}}: {{Filename|/etc/rc.d/pyLoadCore}} with the following content:<br />
{{Tip|Don't forget to change {{Codeline|user}} in line 9.}}<br />
<pre>#!/bin/bash<br />
<br />
. /etc/rc.conf<br />
. /etc/rc.d/functions<br />
<br />
case "$1" in<br />
start)<br />
stat_busy "Starting pyLoadCore"<br />
su user -c '/usr/bin/pyLoadCore --daemon' &> /dev/null<br />
if [ $? -gt 0 ]; then<br />
stat_fail<br />
else<br />
add_daemon pyLoadCore<br />
stat_done<br />
fi<br />
;;<br />
stop)<br />
stat_busy "Stopping pyLoadCore"<br />
killall -w -s 2 /usr/bin/pyLoadCore &> /dev/null<br />
if [ $? -gt 0 ]; then<br />
stat_fail<br />
else<br />
rm_daemon pyLoadCore<br />
stat_done<br />
fi<br />
;;<br />
restart)<br />
$0 stop<br />
sleep 1<br />
$0 start<br />
;;<br />
*)<br />
echo "usage: $0 {start|stop|restart}"<br />
esac<br />
exit 0</pre><br />
<br />
Add {{Codeline|pyLoadCore}} to the Daemons section in your {{Filename|/etc/rc.conf}}.<br />
<br />
==Alternatives==<br />
[[JDownloader]] available in [http://aur.archlinux.org/packages.php?ID=29288 AUR].<br />
<br />
[http://tucaneando.com/index.html Tucan Manager] available in [http://www.archlinux.org/packages/community/x86_64/tucan/ community].<br />
<br />
[http://code.google.com/p/plowshare/ plowshare] available in [http://aur.archlinux.org/packages.php?ID=24601 AUR] (CLI).<br />
<br />
[http://urlget.sourceforge.net/ uGet] available in [http://aur.archlinux.org/packages.php?ID=25887 AUR] (GTK).</div>Hops