Giter Club home page Giter Club logo

pyload's Introduction


pyLoad

The free and open-source Download Manager written in pure Python



Choose your Version

The newest version of pyLoad running on Python 3.6+ and PyPy (experimental) is developed in the main branch on GitHub and published as pyload-ng on PyPI.

The old version of pyLoad working on Python 2 is still available in the stable branch on GitHub, pre-built packages are available for download on the releases page on GitHub.

This README covers only the latest version of pyLoad.

Quick Start

Open a terminal window and install pyLoad typing:

pip install --pre pyload-ng[all]

To start pyLoad use the command:

pyload

See the usage section for information on all available options.

If you want to uninstall pyLoad:

pip uninstall pyload-ng

Usage

usage: pyload [-h] [-d] [-r] [--storagedir STORAGEDIR] [--userdir USERDIR]
              [--tempdir TEMPDIR] [--dry-run] [--daemon] [--version]

The free and open-source Download Manager written in pure Python

optional arguments:
  -h, --help                    show this help message and exit
  -d, --debug                   enable debug mode
  -r, --reset                   reset default username/password
  --storagedir STORAGEDIR       use this location to save downloads
  --userdir USERDIR             use this location to store user data files
  --tempdir TEMPDIR             use this location to store temporary files
  --dry-run                     test start-up and exit
  --daemon                      run as daemon
  --version                     show program's version number and exit

To start pyLoad, type the command:

pyload

This will create the following directories (if they don't exist already):

  • ~/Downloads/pyLoad: where downloads will be saved.
  • ~/.pyload: where user data and configuration files are stored.
  • <TMPDIR>/pyLoad: where temporary files are stored. <TMPDIR> is platform-specific.

Note: On Windows, user data and configuration files are stored in the directory ~\AppData\Roaming\pyLoad.

Help

To show an overview of the available options, type:

pyload --help

Web Interface

Open your web browser and visit the url http://localhost:8000 to have access to the pyLoad's web interface.

  • Default username: pyload.
  • Default password: pyload.

It's highly recommended to change the default access credentials on first start.

Advanced Installation

Stable Release

Get the latest stable release of pyLoad:

pip install pyload-ng

Note: No stable release yet, pyLoad is now in pre-release phase.

Available modules

  • pyload.core: pyLoad's heart.
  • pyload.plugins: the collection of officially supported plugins for pyLoad.
  • pyload.webui: a web interface to interact with pyLoad.

Development Release

You can force the installation of the latest development release of pyLoad, appending the option --pre to the installation command:

pip install --pre pyload-ng

Do not use development releases in production. Unexpected crashes may occur.

Extra Dependencies

Extra dependencies are non-essential packages that enable additional features of pyLoad.

To install them you have to append a specific tag name to the installation command.

Available tags

  • plugins: includes packages used by several plugins.
  • build: includes packages used to build translations.
  • all: includes both plugins and build packages.

You can use a tag in this way:

pip install pyload-ng[plugins]

Or group more together:

pip install pyload-ng[plugins][build]

Build Translations

Use the command build_locale to retrieve and build the latest locale files (translations):

python setup.py build_locale

Invoke build_locale before building the package (eg. bdist_wheel).

Note:

You don't need to build the translations if you installed pyLoad through pip, they're already included.

Report a Vulnerability

Please refer to SECURITY to read our security policy.

Contribute to pyLoad

Please refer to CONTRIBUTING to read our contribution guidelines.

Docker Images

Docker build status MicroBadger layers MicroBadger size

Available images

  • pyload/pyload:alpine: docker image for amd64, arm and arm64v8.
  • pyload/pyload:ubuntu-arm32v7: docker image for arm32v7.
  • pyload/pyload: alias of pyload/pyload:alpine.

Create Container

docker create --name=pyload -v <USERDIR>:/config -v <STORAGEDIR>:/downloads --restart unless-stopped pyload/pyload

Note:

Replace <STORAGEDIR> with the location on the host machine where you want that downloads will be saved.

Replace <USERDIR> with where you want that user data files (configurations) are stored.

Start Container

docker start pyload

Stop Container

docker stop pyload

Show Logs

docker logs -f pyload

Docker Compose

Compatible with docker-compose v2 schemas:

---
version: '2'
services:
  pyload:
    image: pyload
    build: <REPODIR>
    container_name: pyload
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    volumes:
      - <USERDIR>:/config
      - <STORAGEDIR>:/downloads
    ports:
      - 8000:8000 # Webinterface
      - 9666:9666 # Click 'N' Load
    restart: unless-stopped

Note:

Replace <REPODIR> with the location on the host machine where you have checked out the pyload repository.

Replace <STORAGEDIR> with the location on the host machine where you want that downloads will be saved.

Replace <USERDIR> with where you want that user data files (configurations) are stored.

Troubleshooting

pip not found

Retry replacing the command pip with pip3:

pip3 install pyload-ng

If fails again, you may not have the Python interpreter or the pip package manager installed on your system.

Try reinstalling Python to fix this issue.

Visit https://www.python.org/downloads to get the proper Python 3 release for your system.

pyload-ng not found

Check the version of the Python interpreters installed on your system.

To show the version of your default Python interpreter, type the command:

python --version

If the version is too old, try to upgrage Python, then you can retry to install pyLoad.

Python releases below version 3.6 are not supported!

Setuptools is too old

To upgrade the setuptools package, type the command:

pip install --upgrade setuptools

Permission denied

Under Unix-based systems, try to install pyLoad with root privileges.

Prefix the installation/uninstallation command with sudo:

sudo pip install pyload-ng
sudo pip uninstall pyload-ng

Under Windows systems, open a Command Prompt as administrator to install pyLoad with root privileges.

You can also try to install the pyload-ng package without root privileges.

Append the option --user to the installation command:

pip install --user pyload-ng

Licensing

license cla

Open Source License

You are allowed to use this software under the terms of the GNU Affero General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

Please refer to LICENSE to read the project license.

Alternative License

With an explicit permission of the pyLoad team you may use or distribute this software under a different license according to the agreement.

Contributor License Agreement

Please refer to CLA for the full agreement conditions.

This is essentially what you will be agreeing to:

  • You claim to have the right to make the contribution (i.e. it's your own work).
  • You grant the project a perpetual, non-exclusive license to use the contribution.
  • You grant the project rights to change the outbound license that we use to distribute the code.
  • You retain full ownership (copyright) of your submission and are free to do with it as you please.

Contact us at [email protected] for any question about the pyLoad licensing policy.

Credits

Please refer to AUTHORS to know a bit more about the people behind pyLoad.



© 2008-2024 pyLoad team

pyload's People

Contributors

4christopher avatar androkev avatar enkore avatar estaban avatar evolutionclip avatar gammac0de avatar georgeto avatar godofdream avatar gregy avatar guidobelix avatar igel-kun avatar immenz avatar irrenhaus avatar joberreiter avatar kagenoshin avatar mkaay avatar ondrejit avatar ozzieisaacs avatar ranan avatar raycheung avatar s0undt3ch avatar sebdelsol avatar seoester avatar stefanos avatar stickell avatar synweap15 avatar vuolter avatar z00nx avatar zapp-brannigan avatar zoidberg10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyload's Issues

OnFichierCom

With OneFichierCom multiple download, pyload not waiting five minutes between two download and download the html page

LinkdecrypterCom regex doesn't allow https links

pyload/module/plugins/hooks/LinkdecrypterCom.py
regexp = r"http://([^.]+\.)*?(%s)/.*" % "|".join(online)

needs to be
regexp = r"https?://([^.]+\.)*?(%s)/.*" % "|".join(online)

to allow https links.

add 7z support

Please add 7z (p7zip-rar) support, the lastest version of unrar-free fails on archives packed with some winrar versions.

pyLoad crashes when download path not avaible

Using Win7 and pyLoad 0.4.9 I get this error when starting pyLoad while the download path is not avaible:

pyloadcore.exe
Traceback (most recent call last):
File "pyLoadCore.py", line 42, in
File ".\module\InitHomeDir.py", line 78, in
makedirs(configdir, 0700)
File "os.pyc", line 150, in makedirs
from os.path import join, getsize
File "os.pyc", line 150, in makedirs
from os.path import join, getsize
File "os.pyc", line 157, in makedirs
N(
WindowsError: [Error 3] Das System kann den angegebenen Pfad nicht finden: 'E:'

I think it would be better to ask for new path...

Error executing hooks: (7, "couldn't connect to host")

There is some bug with the hooksmanager, LinkdecrypterCom.py or something else.

Today Linkdecrypter.Com is down

16.04.2013 18:03:58 INFO      Activating Plugins...
16.04.2013 18:04:19 ERROR     Error executing hooks: (7, "couldn't connect to host")
Traceback (most recent call last):
  File "/volume1/@optware/share/pyload/module/HookManager.py", line 88, in new
    return func(*args)
  File "/volume1/@optware/share/pyload/module/HookManager.py", line 198, in coreReady
    plugin.coreReady()
  File "/volume1/config/pyload/userplugins/hooks/LinkdecrypterCom.py", line 33, in coreReady
    page = getURL("http://linkdecrypter.com/")
  File "/volume1/@optware/share/pyload/module/network/RequestFactory.py", line 122, in getURL
    return pyreq.getURL(*args, **kwargs)
  File "/volume1/@optware/share/pyload/module/network/RequestFactory.py", line 67, in getURL
    rep = h.load(*args, **kwargs)
  File "/volume1/@optware/share/pyload/module/network/HTTPRequest.py", line 202, in load
    self.c.perform()
error: (7, "couldn't connect to host")
16.04.2013 18:04:19 INFO      pyLoad is up and running
16.04.2013 18:04:21 INFO      No Updates for pyLoad
16.04.2013 18:04:21 INFO      No plugin updates available

the problem now is that no others hooks are executed. the EpisodeMover hook from rusk_ (http://forum.pyload.org/viewtopic.php?f=9&t=1486) dont start up.

Now when i remove the LinkdecrypterCom plugin, it works

16.04.2013 18:05:45 INFO      Activating Plugins...
16.04.2013 18:05:45 DEBUG     XFileSharingPro: Pattern loaded - handling 79 hosters
16.04.2013 18:05:45 DEBUG     EpisodeMover: Initial search on startup activated. Proceeding...
16.04.2013 18:05:45 DEBUG     EpisodeMover: acq_rls_ProcessingLock(): __em_lock acquired
16.04.2013 18:05:45 DEBUG     EpisodeMover: (Re)-Populating local tv database if necessary. Locked meanwhile...
16.04.2013 18:05:46 DEBUG     EpisodeMover: Local show: Grimm | Path to show: /volume3/tv/
16.04.2013 18:05:46 DEBUG     EpisodeMover: Local show: Vikings | Path to show: /volume3/tv/
16.04.2013 18:05:46 DEBUG     EpisodeMover: Local show: American Dad | Path to show: /volume3/tv/
........
16.04.2013 18:14:16 DEBUG     EpisodeMover: doProcessing(): __mv_queue joined
16.04.2013 18:14:16 DEBUG     EpisodeMover: acq_rls_ProcessingLock(): __em_lock released
16.04.2013 18:14:16 INFO      ZeveraCom: Reloading supported hoster list
16.04.2013 18:14:17 DEBUG     Redirected import module.plugins.hoster.ZeveraCom -> userplugins.hoster.ZeveraCom
16.04.2013 18:14:17 DEBUG     ZeveraCom: Overwritten Hosters: BayfilesCom, BitshareCom, CatShareNet, CloudzerNet, CramitIn, CrockoCom, CyberlockerCh, DailymotionCom, DdlstorageCom, EasybytezCom, EgoFilesCom, ExtabitCom, FileApeCom, FilebeerInfo, FilecloudIo, FilefactoryCom, FilejungleCom, FilepostCom, FileserveCom, FilesonicCom, FourSharedCom, FreakshareCom, GigapetaCom, HellshareCz, HotfileCom, JumbofilesCom, KickloadCom, LetitbitNet, LuckyShareNet, MediafireCom, MegasharesCom, MegauploadCom, OneFichierCom, PornhubCom, PutlockerCom, RapidgatorNet, RarefileNet, RedtubeCom, RyushareCom, SendspaceCom, ShragleCom, TusfilesNet, TwoSharedCom, UnibytesCom, UploadStationCom, UploadingCom, UptoboxCom, WuploadCom, X7To, XHamsterCom, XVideosCom, YoupornCom, YoutubeCom, ZippyshareCom
16.04.2013 18:14:17 INFO      ZeveraCom: The following hosters were not overwritten - account exists: netload.in, rapidshare.com, share-online.biz, turbobit.net, uploaded.to
16.04.2013 18:14:17 DEBUG     ZeveraCom: New Hosters: 180upload.com, 1st-files.com, albafile.com, allmyvideos.net, asfile.com, badongo.com, bulletupload.com, cuckshare.com, cum.com, dachix.com, depfile.com, deviantclip.com, dfiles.eu, empflix.com, en.vidivodo.com, epositfiles.com, fiberupload.com, filebox.com, filedefend.com, filedino.com, fileduct.net, fileflyer.com, filehost.ws, filemates.com, filemonster.net, fileparadox.in, filereactor.com, filerio.in, filerose.com, fileserving.com, filesflash.com, filesmonster.com, fileswap.com, filevelocity.com, frozenhippo.com, funny-videos.co.uk, funnyanimalvideos.com, furk.net, gigasize.com, girlfriendvideos.com, girlsandvids.com, greektube.org, henchfile.com, hipfile.com, homemoviestube.com, hotpornshow.com, i-filez.com, isavelink.com, ishare.rediff.com, keezmovies.com, livefile.org, liveleak.com, lumfile.com, madthumbs.com, mediabum.com, mega.co.nz, megaporn.com, megashare.com, metacafe.com, mixturecloud.com, mojvideo.com, movies.askjolene.com, muchshare.com, multiupload.com, oneminuteu.com, oteupload.com, pornrabbit.com, queenshare.com, scribd.com, sextube.com, shareflare.net, sharpfile.com, shufuni.com, slingfile.com, slutload.com, sockshare.com, spankwire.com, uload.to, ultramegabit.com, uploadhero.co, uploadjet.net, userporn.com, videobam.com, vidmax.com, vimeo.com, vip-file.com, xfileshare.eu, xnxx.com, youjizz.com, yousendit.com, yunfile.com, yuvutu.com, ziporn.com, ztod.com
16.04.2013 18:14:17 DEBUG     ZeveraCom: Regexp: http://zevera.com/.*|.*(empflix\.com|uploadhero\.co|hipfile\.com|keezmovies\.com|liveleak\.com|yuvutu\.com|fiberupload\.com|uploadjet\.net|1st-files\.com|epositfiles\.com|allmyvideos\.net|megaporn\.com|sockshare\.com|homemoviestube\.com|userporn\.com|livefile\.org|filebox\.com|yunfile\.com|muchshare\.com|filemonster\.net|movies\.askjolene\.com|hotpornshow\.com|fileflyer\.com|yousendit\.com|shareflare\.net|cum\.com|sharpfile\.com|ishare\.rediff\.com|queenshare\.com|cuckshare\.com|xfileshare\.eu|filedefend\.com|filedino\.com|isavelink\.com|funny-videos\.co\.uk|fileparadox\.in|xnxx\.com|dachix\.com|girlfriendvideos\.com|vidmax\.com|multiupload\.com|filemates\.com|megashare\.com|en\.vidivodo\.com|uload\.to|filerose\.com|henchfile\.com|girlsandvids\.com|mixturecloud\.com|funnyanimalvideos\.com|shufuni\.com|filehost\.ws|sextube\.com|vimeo\.com|fileswap\.com|frozenhippo\.com|ziporn\.com|badongo\.com|fileduct\.net|furk\.net|mojvideo\.com|greektube\.org|oteupload\.com|bulletupload\.com|slutload\.com|madthumbs\.com|oneminuteu\.com|180upload\.com|filesmonster\.com|slingfile\.com|i-filez\.com|metacafe\.com|spankwire\.com|filesflash\.com|mega\.co\.nz|ztod\.com|youjizz\.com|lumfile\.com|scribd\.com|depfile\.com|filerio\.in|vip-file\.com|dfiles\.eu|albafile\.com|filevelocity\.com|ultramegabit\.com|pornrabbit\.com|filereactor\.com|asfile\.com|deviantclip\.com|fileserving\.com|videobam\.com|gigasize\.com|mediabum\.com).*
16.04.2013 18:14:17 INFO      pyLoad is up and running
16.04.2013 18:14:19 INFO      No Updates for pyLoad
16.04.2013 18:14:19 INFO      New version of hook|LinkdecrypterCom : 0.17
16.04.2013 18:14:20 DEBUG     Request reload of plugins: [('hooks', 'LinkdecrypterCom')]
16.04.2013 18:14:20 INFO      *** Plugins have been updated, please restart pyLoad ***

So there is maybe somewhere a problem...?

Plugin: Putlocker

Downloads fails with: Parse error (Unable to detect a download link) - plugin may be out of date

Unable to import links with links.txt file

I suddenly am unable to import links through the links.txt file. When i add links to the file, the Pyload logfile say's something like this:

Error importing LinkList: cannot import name Package

Most of the times this error is shown underneath the list.

NoneType' object has no attribute 'LinkList

here are a few logfile lines describing a newly added linklist:

24.04.2013 20:09:39 ERROR    Error importing LinkList: cannot import name Package
430 24.04.2013 20:09:39 CRITICAL     'NoneType' object has no attribute 'LinkList'
431 24.04.2013 20:12:58 INFO     Added package /media/Downloads/Link Files/links.txt_20-12-58_24Apr2013.txt containing 1 links
432 24.04.2013 20:13:00 ERROR    Error importing LinkList: cannot import name Package
433 24.04.2013 20:13:00 ERROR    Error importing LinkList: cannot import name Package

no resume for ShareonlineBiz

Hi,
dunno if it was ever working. For me ShareonlineBiz plugin does not support to resume downloads.

filename.chunks will not be created.
If manually created, resume is working fine.

Regards,
kenodai

pyload.org/ is down

I know this not an Issue of pyLoad, but i couldn't find another place to report to.

The pyload.org seems to be down for quite some time now.

image

plugin don't recognize the link

Hi,

I have a problem with downloading the files when links look like this:

http://d5f93.egofiles.xup.pl/I7szKyJW8Eme7utI/The.Simpsons.S22E01.PL.HDTV.XviD-TVM4iN.avi
http://d47d1.rapidgator.xup.pl/file/74de559b8fc1d97091ae791639aea7a1/The.Simpsons.S22E01.PL.HDTV.XviD-TVM4iN.avi.html

In the Web Interface PyLoad is showing "The.Simpsons.S22E01.PL.HDTV.XviD-TVM4iN.avi
zakolejkowane 0.00 BBasePlugin" and downloading 22kb corrupted movie file (egofiles) or main site of rapidgator without graphics.

It would be nice if Pyload could recognize that links.

Thank you

Plugin: Premiumnize.me

Hey guys,

the plugin "premiumnize.me" doesn´t work well anymore.

The Logs keep saying:
WARNING Error calling event handler pluginConfigChanged: >, ('PremiumizeMe', 'activated', False), first argument must be string or compiled pattern

Thank you for your great work!

RapidgatorNet - parse error

I have RapidgatorNet hoster plugin version 0.06 and get followed 'Parse error':

Captcha9kw: NewCaptchaID from upload: 2982404 : tmp/tmpCaptcha_RapidgatorNet_37974.gif
Captcha9kw: result 2982404 : crocodile tears
Received captcha result: crocodile tears
Captcha9kw: Request correct: OK
Download failed: XXXXXXxx.wmv | 'Parse error (download link) - plugin may be out of date'
Error creating zip file: 'ascii' codec can't decode byte 0x8b in position 11: ordinal not in range(128)

keep2share.cc

New hoster: keep2share.cc

Pyload try to download file with BasePlugin but it's download only html webpage.

BitshareCom plugin: unable to download files

I got following error when trying to download from bitshare premium account:

310 08.05.2013 23:47:22 INFO Download starts: http://bitshare.com/files/jnzpe8ot/Safety.Not.Guaranteed.2012.PL.720p.BluRay.x264.AC3-LLO.part4.rar.html
311 08.05.2013 23:47:25 INFO Download starts: Safety.Not.Guaranteed.2012.PL.720p.BluRay.x264.AC3-LLO.part3.rar
312 08.05.2013 23:47:28 ERROR pycurl error 23: Failed writing body (0 != 1448)
313 08.05.2013 23:47:28 INFO UnSkipOnFail: look for skipped duplicates for Safety.Not.Guaranteed.2012.PL.720p.BluRay.x264.AC3-LLO.part4.rar.html (pid:1)...

Moreover I checked the account settings page and 'Direct download' box is checked.

I use pyLoad with other hosting services and they works well, so I think it is not a configuration related problem.

SerienjunkiesOrg decryption fails

21.04.2013 18:06:56 INFO     Decrypting starts: http://download.serienjunkies.org/f-<link removed>/ul_Breaking-Bad-S03E13-GERMAN-5-1-DUBBED-DL-WEB-DL-720p-H-264-TvR.html
21.04.2013 18:06:56 ERROR    Decrypting failed: http://download.serienjunkies.org/f-<link removed>/ul_Breaking-Bad-S03E13-GERMAN-5-1-DUBBED-DL-WEB-DL-720p-H-264-TvR.html | 'NoneType' object has no attribute 'get'

torrents needed

we need add plugin to download the torrents files and magnitu if can

PlugIn Putlocker: Parse error (Unable to detect a download link) - plugin may be out of date

Hi,

I´m viewing the next errors in the log "changed to debug" with putlocker files:

When I try to add a .dlc with all the links contained in the pulocker hoster I can see this in the log:

24.04.2013 07:36:25 INFO Added package el mentalista 5x19 por bengalies containing 12 links
24.04.2013 07:36:25 DEBUG Parsed package el mentalista 5x19 por bengalies with 12 links
24.04.2013 07:36:24 INFO Decrypting starts: /volume1/pyload/downloads/tmp_PUT_el_mentalista_5x19_por_bengalies-dxs6olm9xlmm.dlc
24.04.2013 07:36:23 INFO Added package add_file containing 1 links.

Once added the package, and after wait 4 minutes, I can see in the collector tab the package with the 12 links but with 0.00 B / 0.00 B

The files showed has this structure:

http://putlocker.com/file/DC22A1A9A45AF27C
in queue 0.00 B PutlockerCom

If I move the package to the queue tab in order to start the download I can see this in the log:

24.04.2013 07:44:33 INFO UnSkipOnFail: look for skipped duplicates for EM5X19PORBENGALIES.part11.rar (pid:20)...
24.04.2013 07:44:33 INFO Debug Report written to debug_PutlockerCom_24-04-2013_07-44-33.zip
24.04.2013 07:44:33 WARNING Download failed: EM5X19PORBENGALIES.part11.rar | 'Parse error (Unable to detect a download link) - plugin may be out of date'
24.04.2013 07:44:33 DEBUG PutlockerCom: FILE NAME: EM5X19PORBENGALIES.part11.rar FILE SIZE: 87818240
24.04.2013 07:44:33 DEBUG PutlockerCom: URL: http://putlocker.com/file/DC22A1A9A45AF27C
24.04.2013 07:44:27 INFO Download starts: http://putlocker.com/file/DC22A1A9A45AF27C

This sequence is exactly the same for the rest of the files contained in the .dlc.

Meanwhile in the Queue tab I can see the package "this time with the correct size of the total amount of the files contained" 0.00 B / 1.16 GiB

And the files showed has this structure

EM5X19PORBENGALIES.partxx.rar
failed "Parse error (Unable to detect a download link) - plugin may be out of date" 100.14 MiB PutlockerCom

Today 24th of april I´ve checked that the files exist in the hoster and I´ve tried to download one part of them with success.

I will try to attach or you can request me the .zip report of putlocker written and also the .dlc

I hope this info can be useful to solve the issue.

Regards

systemCheck.py errors on quit

Version: 3dcb693
This is working in the stable banch
$ python systemCheck.py

#####   System Information   #####

('Platform:', 'linux2')
('Operating System:', 'posix')
('Python:', '2.7.3 (default, Jan  2 2013, 13:56:14) [GCC 4.7.2]\n')
('pycurl:', 'libcurl/7.26.0 GnuTLS/2.12.20 zlib/1.2.7 libidn/1.25 libssh2/1.4.2 librtmp/2.3')
('py-crypto:', '2.6')
('OpenSSL:', '0.13')
('image libary:', '1.1.7')
('pyqt:', 'missing')


#####   System Status   #####

##  pyLoadCore  ##
No Problems detected, pyLoadCore should work fine.

##  Webinterface  ##
No Problems detected, web interface should work fine.

Possible improvements for web interface:

Install Flup to use FastCGI or optional web servers.
Press Enter to Exit.
Traceback (most recent call last):
  File "systemCheck.py", line 125, in <module>
    input("Press Enter to Exit.")
  File "<string>", line 0

    ^
SyntaxError: unexpected EOF while parsing

configdir parameter doesn't work with directory path that contains '-' character

/usr/bin/pyLoadCore --configdir=/mnt/MYHDD-EXT3/pyload
Traceback (most recent call last):
File "/usr/bin/pyLoadCore", line 42, in
from module import InitHomeDir
File "/usr/share/pyload/module/InitHomeDir.py", line 78, in
makedirs(configdir, 0700)
File "/usr/lib/python2.6/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/mnt/MYHDD'


Probably cause is how the "end" position is obtained

File: /usr/share/pyload/module/InitHomeDir.py
...
if "--configdir=" in args:
pos = args.find("--configdir=")
end = args.find("-", pos + 12)
...

FileFactory plugin is not working

affects pyload release 0.4.9

I am able to reproduce the Bug with any FileFactory link.

Here is the log:

07.04.2013 18:15:38 INFO No Updates for pyLoad
07.04.2013 18:15:38 INFO No plugin updates available
07.04.2013 18:21:00 INFO Added package test containing 1 links
07.04.2013 18:21:00 INFO Download starts: http://www.filefactory.com/file/*********/*/***********************************
07.04.2013 18:21:03 WARNING Download failed: Complete AppDev training for .NET and Java Developers filefactory.txt | 'NoneType' object has no attribute 'group'
07.04.2013 18:21:03 INFO UnSkipOnFail: look for skipped duplicates for Complete AppDev training for .NET and Java Developers filefactory.txt (pid:54)...

PremiumizeMe - Not recognize if premium or not

Hi guys,

can you please investigate in the PremiumizeMe Plugin?
After the expiration of my account, I found a bug in the plugin.

So the premium status is still active and the remaining traffic is being displayed wrong.
The second issue you can fix by checking
if trafficLeft <= 0 then setTraffigLeft = 0 / not available.

issue

Thank you 👍

kind regards,
himbrr

use "/usr/bin/env python2" in code

it's possible change the script "header" from "/usr/bin/env pyton" to "/usr/bin/env pyton2"? (and /usr/bin python to /usr/bin/python2)

some systems use python3 (linked to python executable) by default, change this "header" to python2 help working the program in these systems

i use this:

find -type f -name "*.py" -exec perl -pi -e 's|\r\n?|\n|g' "{}" +

find -type f -exec sed -i -e 's|/usr/bin/env python$|&2|g' -e 's|/usr/bin/python$|&2|g' "{}" +

(one for transform all script to unix BOM format, and other to change the headers)
in my build script. but when up new update, i need rebuild all the program for work again

greetings

netload URL regex doesn't allow https links

module/plugins/hoster/NetloadIn.py:
__pattern__ = r"http://.*netload\.in/(?:datei(.*?)(?:\.htm|/)|index.php?id=10&file_id=)"

should be
__pattern__ = r"https?://.*netload\.in/(?:datei(.*?)(?:\.htm|/)|index.php?id=10&file_id=)"

in order to allow https URLs.

0.4.9 .zip not working

When download the .zip for v0.4.9 (FreeBSD 8.3, Python 2.7) pyload wont start, complaining about missing module utils. I fixed that by symlinking modules/Utils.py to modules/utils.py for now.
The stable branch contains the utils.py, so the zip just needs to be updated

I'm also missing this commit (prevents pyload from start downloading): https://bitbucket.org/spoob/pyload/commits/8035babcd2a8ad2b4b053c9626af02c825628a91
The changes to pyLoadCore.py should be the following (without os-prefix pyload complains about not finding chmod):
os.chmod(self.pidfile, 0660)

UploadedTO Plugin broken? 'NoneType' object has no attribute 'group

since yesterday (after UploadedTO Plugin Update 0.65) uploaded dont load any files.

621 08.04.2013 19:58:40 WARNING  Download failed: http://ul.to/xxx | 'NoneType' object has no attribute 'group' 
622 08.04.2013 19:58:40 INFO     UnSkipOnFail: look for skipped duplicates for xxx (pid:146)...

FastshareCz - unable to download files

Hi there,
I have Fastshare.cz premium account. If I have tried to add this account into PyLoad, i got error message, but if I switch to other tab and then get back to Accounts tab, I could see there the account, but Premium=NO and Trafic left=Not Available. I'm also not able to download files even if links are alive. Pyload is running on NAS Zyxel NSA310. ShareRapid works fine there.

Thanks for help, here is the debug log:

pyLoad 0.4.9 Debug Report of FastshareCz 0.14

TRACEBACK:
Traceback (most recent call last):
File "/i-data/b8e601a4/admin/zy-pkgs/pyLoad/pyload/module/PluginThread.py", line 187, in run
pyfile.plugin.preprocessing(self)
File "/i-data/b8e601a4/admin/zy-pkgs/pyLoad/pyload/module/plugins/Plugin.py", line 237, in preprocessing
return self.process(self.pyfile)
File "/i-data/b8e601a4/admin/zy-pkgs/pyLoad/etc/pyload/userplugins/internal/SimpleHoster.py", line 182, in process
self.html = self.load(pyfile.url, decode = not self.SH_BROKEN_ENCODING, cookies = self.SH_COOKIES)
File "/i-data/b8e601a4/admin/zy-pkgs/pyLoad/etc/pyload/userplugins/internal/SimpleHoster.py", line 191, in load
return Hoster.load(self, url=url, get=get, post=post, ref=ref, cookies=cookies, just_header=just_header, decode=decode)
File "/i-data/b8e601a4/admin/zy-pkgs/pyLoad/pyload/module/plugins/Plugin.py", line 415, in load
res = self.req.load(url, get, post, ref, cookies, just_header, decode=decode)
File "/i-data/b8e601a4/admin/zy-pkgs/pyLoad/pyload/module/network/Browser.py", line 97, in load
return self.http.load(_args, *_kwargs)
File "/i-data/b8e601a4/admin/zy-pkgs/pyLoad/pyload/module/network/HTTPRequest.py", line 202, in load
self.c.perform()
error: (23, 'Failed writing body (0 != 11584)')

FRAMESTACK:

Frame preprocessing in /i-data/b8e601a4/admin/zy-pkgs/pyLoad/pyload/module/plugins/Plugin.py at line 237
self = <userplugins.hoster.FastshareCz.FastshareCz object at 0x6fc690>
thread = <DownloadThread(Thread-2, started daemon 1108452496)>

Frame process in /i-data/b8e601a4/admin/zy-pkgs/pyLoad/etc/pyload/userplugins/internal/SimpleHoster.py at line 182
pyfile = PyFile 325: http://www.fastshare.cz/2133261/pr3z1080.part1.rar@FastshareCz
self = <userplugins.hoster.FastshareCz.FastshareCz object at 0x6fc690>

Frame load in /i-data/b8e601a4/admin/zy-pkgs/pyLoad/etc/pyload/userplugins/internal/SimpleHoster.py at line 191
cookies = [('fastshare.cz', 'lang', 'cs')]
get = {}
url = 'http://www.fastshare.cz/2133261/pr3z1080.part1.rar'
self = <userplugins.hoster.FastshareCz.FastshareCz object at 0x6fc690>
decode = True
just_header = False
post = {}
ref = True

Frame load in /i-data/b8e601a4/admin/zy-pkgs/pyLoad/pyload/module/plugins/Plugin.py at line 415
cookies = [('fastshare.cz', 'lang', 'cs')]
get = {}
url = 'http://www.fastshare.cz/2133261/pr3z1080.part1.rar'
self = <userplugins.hoster.FastshareCz.FastshareCz object at 0x6fc690>
decode = True
just_header = False
post = {}
ref = True

Frame load in /i-data/b8e601a4/admin/zy-pkgs/pyLoad/pyload/module/network/Browser.py at line 97
self = <module.network.Browser.Browser object at 0x6e7ab0>
args = ('http://www.fastshare.cz/2133261/pr3z1080.part1.rar',
{},
{},
True,
[('fastshare.cz', 'lang', 'cs')],
False)
kwargs = {'decode': True}

Frame load in /i-data/b8e601a4/admin/zy-pkgs/pyLoad/pyload/module/network/HTTPRequest.py at line 202
cookies = [('fastshare.cz', 'lang', 'cs')]
get = {}
url = 'http://www.fastshare.cz/2133261/pr3z1080.part1.rar'
self = <module.network.HTTPRequest.HTTPRequest instance at 0x65ee18>
decode = True
referer = True
multipart = False
post = {}
just_header = False

PLUGIN OBJECT DUMP:

   FILE_NAME_PATTERN = '<h[23]><b><span style=color:black;>(?P<N>[^<]+)</b></h[23]>'
FILE_NAME_REPLACEMENTS = [('&#?\\w+;', <function fixup at 0x114130>)]
FILE_OFFLINE_PATTERN = u'<td align=center>Tento soubor byl smaz\xe1n'
   FILE_SIZE_PATTERN = '<tr><td>Velikost: </td><td style=font-weight:bold>(?P<S>[^<]+)</td></tr>'
FILE_SIZE_REPLACEMENTS = []
FILE_URL_REPLACEMENTS = [('#.*', '')]
    FREE_URL_PATTERN = u'<form method=post action=(/free/.*?)><b>St\xe1hnout FREE.*?<img src="([^"]*)">'
NOT_ENOUGH_CREDIC_PATTERN = 'Nem.te dostate.n. kredit pro sta.en. tohoto souboru'
 PREMIUM_URL_PATTERN = '(http://data\\d+\\.fastshare\\.cz/download\\.php\\?id=\\d+\\&[^\\s\\"\\\'<>]+)'
  SH_BROKEN_ENCODING = False
    SH_CHECK_TRAFFIC = False
          SH_COOKIES = [('fastshare.cz', 'lang', 'cs')]
             account = <userplugins.accounts.FastshareCz.FastshareCz object at 0x67cdf0>
               cTask = None
          chunkLimit = -1
              config = <module.ConfigParser.ConfigParser instance at 0x21cf58>
                core = <__main__.Core object at 0x1ee630>
           file_info = {}
                html = None
                  js = <module.common.JsEngine.JsEngine instance at 0x488a58>
           lastCheck = None
        lastDownload = ''
             limitDL = 0
                 log = <logging.Logger instance at 0x1cd5f8>
             multiDL = False
                 ocr = None
             premium = False
              pyfile = PyFile 325: http://www.fastshare.cz/2133261/pr3z1080.part1.rar@FastshareCz
                 req = <module.network.Browser.Browser object at 0x6e7ab0>
      resumeDownload = False
             retries = 0
              thread = <DownloadThread(Thread-2, started daemon 1108452496)>
                user = 'mikkiste'
           waitUntil = 0
             waiting = False
       wantReconnect = False

PYFILE OBJECT DUMP:

               _size = 0
               abort = False
              active = False
               error = u''
                  id = 325
                lock = <_RLock(None, 0)>
                   m = <module.database.FileDatabase.FileHandler instance at 0x2460d0>
         maxprogress = 100
                name = u'http://www.fastshare.cz/2133261/pr3z1080.part1.rar'
               order = 0
           packageid = 51
              plugin = <userplugins.hoster.FastshareCz.FastshareCz object at 0x6fc690>
         pluginclass = <class 'userplugins.hoster.FastshareCz.FastshareCz'>
        pluginmodule = <module 'userplugins.hoster.FastshareCz' from '/i-data/b8e601a4/admin/zy-pkgs/pyLoad/etc/pyload/userplugins/hoster/FastshareCz.pyc'>
          pluginname = u'FastshareCz'
            progress = 0
         reconnected = False
                size = 0
              status = 8
          statusname = None
                 url = u'http://www.fastshare.cz/2133261/pr3z1080.part1.rar'
           waitUntil = 0

Setup procedure

While trying to set up a fresh version of PyLoad (from current master), pyload.py crashes.

Here's the full trace of running python pyload.py -s --changedir --configdir /etc/pyload/.

Choose your Language / Wähle deine Sprache ([en], de, fr, it, es, nl, sv, ru, pl, cs, sr, pt_BR): 

Would you like to configure pyLoad via Webinterface?
You need a Browser and a connection to this PC for it.
Url would be: http://hostname:8000/
Start initial webinterface for configuration? ([y]/n): n
Welcome to the pyLoad Configuration Assistent.
It will check your system and make a basic setup in order to run pyLoad.

The value in brackets [] always is the default value,
in case you don't want to change it or you are unsure what to choose, just hit enter.
Don't forget: You can always rerun this assistent with --setup or -s parameter, when you start pyLoadCore.
If you have any problems with this assistent hit STRG-C,
to abort and don't let him start with pyLoadCore automatically anymore.

When you are ready for system check, hit enter.

Traceback (most recent call last):
  File "pyload.py", line 664, in <module>
    main()
  File "pyload.py", line 653, in main
    pyload_core = Core()
  File "pyload.py", line 132, in __init__
    s.start()
  File "/opt/pyload/module/Setup.py", line 79, in start
    self.start_cli()
  File "/opt/pyload/module/Setup.py", line 102, in start_cli
    if len(avail) < 5:
NameError: global name 'avail' is not defined

DNS resolution through SOCKS5 proxy

Even if I enable a SOCKS 5 proxy, DNS resolution is done locally:
pycurl error 6: Couldn't resolve host name

I've looked into the source and found out that libcurl has a special PROXYTYPE to resolve hostnames through the proxy called SOCKS5_HOSTNAME.

Unfortunately pycurl hasn't defined this constant, but we can pass this constant (integer) directly to setopt:
self.c.setopt(pycurl.PROXYTYPE, 7)
in line https://github.com/pyload/pyload/blob/master/module/network/HTTPRequest.py#L111

I guess everyone wants to to DNS through proxy, so we can just replace this line - otherwise we can define a new proxy type in the interfaces.

ExtabitCom /fid/<num> links are not supported

Hey there,
I found an url format that isn't supported yet: /fid/<num>

It's a simple redirect to the /file/<something> link.

Example (found that link via google search for site:extabit.com/fid, dunno what it contains): curl -v extabit.com/fid/4982370

* About to connect() to extabit.com port 80 (#0)
*   Trying 85.17.80.210...
* Connected to extabit.com (85.17.80.210) port 80 (#0)
> GET /fid/4982370 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: extabit.com
> Accept: */*
> 
< HTTP/1.1 302 Moved Temporarily
< Server: nginx/1.0.12
< Date: Fri, 12 Apr 2013 12:04:09 GMT
< Content-Type: text/html
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Powered-By: PHP/5.3.6-13ubuntu3.9
< Set-Cookie: PHPSESSID=ac1d0be5efdd97ff514e4f519d8aa87b; path=/; domain=.extabit.com
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< Pragma: no-cache
< Set-Cookie: vs=b006f57dabda3652; expires=Sun, 12-Apr-2015 12:04:09 GMT; path=/; domain=.extabit.com
< Location: /file/2dvf8et8nza01/
< 
* Connection #0 to host extabit.com left intact

Uploaded.to: 'NoneType' object has no attribute 'group'

Hello,

when i start a download i get this message (Debug):

07.04.2013 04:21:47 INFO Download starts: http://ul.to/XXX
07.04.2013 04:21:47 WARNING Download failed: http://ul.to/XXX | 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
File "/opt/share/pyload/module/PluginThread.py", line 187, in run
pyfile.plugin.preprocessing(self)
File "/opt/share/pyload/module/plugins/Plugin.py", line 233, in preprocessing
self.setup()
File "/opt/share/pyload_config/userplugins/hoster/UploadedTo.py", line 102, in setup
self.fileID = getID(self.pyfile.url)
File "/opt/share/pyload_config/userplugins/hoster/UploadedTo.py", line 18, in getID
return m.group('ID')
AttributeError: 'NoneType' object has no attribute 'group'

Content of UploadedTo.py (/opt/share/pyload_config/userplugins/hoster/UploadedTo.py):

-- coding: utf-8 --

import re

from module.utils import html_unescape, parseFileSize

from module.plugins.Hoster import Hoster
from module.network.RequestFactory import getURL
from module.plugins.Plugin import chunks
from module.plugins.ReCaptcha import ReCaptcha

key = "bGhGMkllZXByd2VEZnU5Y2NXbHhYVlZ5cEE1bkEzRUw=".decode('base64')

def getID(url):
""" returns id from file url"""
m = re.match(r"http://[\w.-]?(uploaded.(to|net)|ul.to)(/file/|/??id=|.?&id=)(?P\w+)", url)
return m.group('ID')

def getAPIData(urls):
post = {"apikey": key}

idMap = {}

for i, url in enumerate(urls):
    id = getID(url)
    post["id_%s" % i] = id
    idMap[id] = url

api = unicode(getURL("http://uploaded.net/api/filemultiple", post=post, decode=False), 'iso-8859-1')

result = {}

if api:
    for line in api.splitlines():
        data = line.split(",", 4)
        if data[1] in idMap:
            result[data[1]] = (data[0], data[2], data[4], data[3], idMap[data[1]])

return result

def parseFileInfo(self, url='', html=''):
if not html and hasattr(self, "html"): html = self.html
name, size, status, found, fileid = url, 0, 3, None, None

if re.search(self.FILE_OFFLINE_PATTERN, html):
    # File offline
    status = 1
else:
    found = re.search(self.FILE_INFO_PATTERN, html)
    if found:
        name, fileid = html_unescape(found.group('N')), found.group('ID')
        size = parseFileSize(found.group('S'))
        status = 2

return name, size, status, fileid
  • /opt/share/pyload_config/userplugins/hoster/UploadedTo.py 1/229 0%

The file is manually downable. What's wrong?!

All users have full rights (777). pyLoad runs on a Synology NAS (Diskstation 412+).

Rapidgator.net - Weird Captchas

Rapidgator.net is serving up some weird captchas from within pyload (Stable).

Captchas appear 'normal' when downloading via a browser.

On the chance that you get one that you can read, it seems to only download a ~280KB file.

This has only started happening after restarting after the most recent batch of plugin updates (although it may be an update on the rapidgator/SolveMedia end so that might just be a co-incidence).

Examples:
Test file: http://rapidgator.net/file/73974166/FXP204-cm-10-20130126-UNOFFICIAL-hallon.zip.html

Normal i.e. from browser:
http://i.imgur.com/ayAi6qX.png

Weird:
http://i.imgur.com/VbO6Fxc.gif
http://i.imgur.com/Dot0tyy.gif
http://i.imgur.com/OaYe0sV.gif
http://i.imgur.com/1ory6uR.gif
http://i.imgur.com/YTcsKOP.gif

JSONP support in JSON Api

This evening I started to hack some bookmarklet to append a button next to download links. This button should allow to add the current link to the pyLoad queue.

I had to stop working on it, as I wasn't able to communicate with the JSON Api due the Same-Origin-Policy.

Perhaps you want to consider to allow JSONP calls to the API. This seems to not be so hard to implement with bottle.py. See: http://markhuge.com/blog/2013/03/02/dynamically-serving-jsonp-with-bottle-dot-py/

Another issue is when using JSONP you cannot make any POST requests. So perhaps it should be allowed to make a GET request for the login action? (As for the other Api methods)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.