[APP] pyLoad v0.4.9 for firmware V4+ (11/2014)

There is a plug-in available (ExtractArchive).

I think it’s enabled by default.

It works for .zip files!

However, in order for it to work for .rar files, unrar patched for V4 firmware 64K is needed.

(I don’t think it is available somewhere on this forum)

1 Like

Hi all,

I installed pyload but when I add any link to download it never starts downloading…it’s only shown in “Queue”.

What I’m doing wrong?

Thank you in advance!!

Have a nice day :slight_smile:

Check the logs. You may find the reason there.

Moreover, after installation pyload downloads plugins for each hoster automatically, and asks for a restart. After restart it continues to download other plugins and asks for another restart after a while.
I think it will ask your for 3 restarts, before you can use all the supported hosters.

1 Like

What download speeds do you guys manage to get?

My maximum seems to be 4.5 MiB/s, while python shows near 200% cpu usage.

This in contrast to v3 firmware, where I easily managed to get 15 MiB/s… 

Mine pretty much the same between v3 and v4.

thanks a lot :slight_smile: great job!

Thanks to Nazar78’s thread around here, I have succesfully managed to install Transmission on my MyCloud. It works like a charm!

Now I am thinking about installing also pyLoad. I am confident that it will work alright, but I am wondering about one thing:

When it runs as server on the MyCloud, it cannot rely on any user interaction.

So how does it handle the recaptchas then, which there is no automatism for, as far as I know?

They are quite widely used at one-click-hosters these days…

ps: Please don’t mind me asking - I am totally new to pyLoad.

I finally managed to SSH onto my WD, but as soon as I get to the point where I should enter:

curl nazar.bagus.org/installer.fcgi?pyload-cli-v0.4.9|sh;

I get the following error:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100  7213    0  7213    0     0   7896      0 --:–:-- --:–:-- --:–:-- 18832

sh: syntax error: you disabled math support for $((arith)) syntax

I just can’t download because of the syntax error. What am I doing wrong? 

eugenkss wrote:

Thanks to Nazar78’s thread around here, I have succesfully managed to install Transmission on my MyCloud. It works like a charm!

 

Now I am thinking about installing also pyLoad. I am confident that it will work alright, but I am wondering about one thing:

 

When it runs as server on the MyCloud, it cannot rely on any user interaction.

So how does it handle the recaptchas then, which there is no automatism for, as far as I know?

They are quite widely used at one-click-hosters these days…

 

 

ps: Please don’t mind me asking - I am totally new to pyLoad.

I recalled building it with py-imaging. Think this package does all the recaptcha OCR (optical character recognition). But I never tested them though.

CVL82 wrote:

I finally managed to SSH onto my WD, but as soon as I get to the point where I should enter:

curl nazar.bagus.org/installer.fcgi?pyload-cli-v0.4.9|sh;

I get the following error:

 

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100  7213    0  7213    0     0   7896      0 --:–:-- --:–:-- --:–:-- 18832

sh: syntax error: you disabled math support for $((arith)) syntax

 

I just can’t download because of the syntax error. What am I doing wrong? 

The error failed in disk space calculations. Which firmware is this? Note that this script only works on WDMyCloud firmware v4. I think you’re trying with WDMyCloud Mirror’s busybox. Mirror/EX2/EX4 is totally different from WDMyCloud.

I have the WD Mycloud Mirror 4TB with FW 1.05.30.

Sorry, is this the wrong one? Does this mean pyload won’t work with my system?

This script installs debian packages (mycloud runs on debian wheezy). Mycloud mirror/ex2/ex4 runs on busybox. I think it’s possible only with custom firmwares but don’t have mycloud mirror to test.

BTW this is not mycloud mirror sub forum. You could try asking in the mycloud mirror section http://community.wd.com/t5/WD-My-Cloud-Mirror/bd-p/mycloud_mirror

@Nazar78
Did you build “vim” for 4.x Fw by any chance?

I installed it and it is running now.

The configuration was a bit more work than the setup of transmission:

For example, you have to setup a reconnection script that fits your router.

I also made the Download folder being a softlink to a folder on the data partition of the WDMyCloud, in order to not fill up its root partition with downloads.

And finally, the automatic captcha OCR is nowadays only usable for few hosters that do not use the “recaptcha” type.

In order to have these “recaptchas” running, you can either buy a premium acount (so no captchas at all), or solve the captchas manually in the webinterface.

Or use a captcha solving service, where you use credits to have your captchas solved. These credits can either be bought, or you can solve captchas for others on their website in order to earn credits this way.

alirz1 wrote:
@Nazar78
Did you build “vim” for 4.x Fw by any chance?

Sorry no. I’m using nano.

Hello,

Thanks for all sharing… I love my Wd my cloud because transmission works fine!!!

Is possible use FlexGet in V4 ? or pyLoad be can replace ?

Sorry for low level english…rs

TiagoCunhaF wrote:

Hello,

Thanks for all sharing… I love my Wd my cloud because transmission works fine!!!

 

Is possible use FlexGet in V4 ? or pyLoad be can replace ?

 

Sorry for low level english…rs

 

Nope, no Flexget on V4 FW. I wanted that for the longest time till i gave up and realized that i was running a router with OPENWRT and i could easily flexget on that. So i did that. Its a lot better on the router infact, No need for periodic disk wakeups etc…Router is always on and running so it was perfect for running flexget. Its alot faster on it also :slight_smile:

TiagoCunhaF wrote:

Hello,

Thanks for all sharing… I love my Wd my cloud because transmission works fine!!!

 

Is possible use FlexGet in V4 ? or pyLoad be can replace ?

 

Sorry for low level english…rs

 

It’s on my to-do-list but not anytime soon. I have some other projects.

After clicking on Info i got:

HTTP Response 500

Traceback (most recent call last):
File "/usr/share/pyload/module/lib/bottle.py", line 733, in _handle
return route.call(**args)
File "/usr/share/pyload/module/lib/bottle.py", line 1448, in wrapper
rv = callback(*a, **ka)
File "/usr/share/pyload/module/web/pyload_app.py", line 533, in info
return render_to_response("info.html", data, [pre_processor])
File "/usr/share/pyload/module/web/utils.py", line 29, in render_to_response
t = env.get_template(TEMPLATE + "/" + name)
File "/usr/share/pyload/module/lib/jinja2/environment.py", line 716, in get_template
return self._load_template(name, self.make_globals(globals))
File "/usr/share/pyload/module/lib/jinja2/environment.py", line 690, in _load_template
template = self.loader.load(self, name, globals)
File "/usr/share/pyload/module/lib/jinja2/loaders.py", line 134, in load
bcc.set_bucket(bucket)
File "/usr/share/pyload/module/lib/jinja2/bccache.py", line 168, in set_bucket
self.dump_bytecode(bucket)
File "/usr/share/pyload/module/lib/jinja2/bccache.py", line 209, in dump_bytecode
f.close()
IOError: [Errno 28] No space left on device

No space left on device? The device is empty! 4 TB free.

Also administrate won`t work:

HTTP Response 500

Traceback (most recent call last):
File "/usr/share/pyload/module/lib/bottle.py", line 733, in _handle
return route.call(**args)
File "/usr/share/pyload/module/lib/bottle.py", line 1448, in wrapper
rv = callback(*a, **ka)
File "/usr/share/pyload/module/web/utils.py", line 113, in _view
return func(*args, **kwargs)
File "/usr/share/pyload/module/web/pyload_app.py", line 503, in admin
return render_to_response("admin.html", {"users": user, "permlist": perms}, [pre_processor])
File "/usr/share/pyload/module/web/utils.py", line 29, in render_to_response
t = env.get_template(TEMPLATE + "/" + name)
File "/usr/share/pyload/module/lib/jinja2/environment.py", line 716, in get_template
return self._load_template(name, self.make_globals(globals))
File "/usr/share/pyload/module/lib/jinja2/environment.py", line 690, in _load_template
template = self.loader.load(self, name, globals)
File "/usr/share/pyload/module/lib/jinja2/loaders.py", line 121, in load
bucket = bcc.get_bucket(environment, name, filename, source)
File "/usr/share/pyload/module/lib/jinja2/bccache.py", line 163, in get_bucket
self.load_bytecode(bucket)
File "/usr/share/pyload/module/lib/jinja2/bccache.py", line 200, in load_bytecode
bucket.load_bytecode(f)
EOFError: EOF read where object expected

I also got download errors:

Download failed: file.mp4 | [Errno 28] No space left on device

(but the file was completly downloaded and saved in chunks)

Any suggestions?

@Grimoire 

Where is your download path? Also check your system if there’s any got filled up: df -h