Code Monkey home page Code Monkey logo

nzb-monkey's People

Contributors

c-kr avatar github23leech avatar kwaaak avatar macearl avatar marclandis avatar nzblnk 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

Watchers

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

nzb-monkey's Issues

Settings for SABNZBD

Hello,
i have some issues with the settings ... our servers ui path is https://url/sab/

Here are our settings ...

2018-01-17 10_33_08-sabnzbd config - general

Settings in nzb-monkey:

[SABNZBD]
# SABnzbd Hostname
host = url
# SABnzbd Port
port = 8080
# Use https
ssl = false
# NZB Key
nzbkey = xxx
# Basic Auth Username
basicauth_username = username
# Basic Auth Password
basicauth_password = password
# Basepath
basepath = sab
# Category
category = 
# Add the nzb paused to the queue
addpaused = False

When i use these settings, i get an error:

  • Pushing to SABNZBD ...FAILED: HTTPConnectionPool(host='url', port=8080): Max retries exceeded with url: /sab/api (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0402B410>: Failed to establish a new connection: [WinError 10061] Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte',))

Same with https and port 9090 ...

SRR (ReScene) Integration

what is ReScene
Basicly the gist of this program is that rar files that use store compression can be recreated with a special small file called ".srr"
All you need to do is let the program process the rar's (or an sfv file) and it will create a .srr file which can later be used for reconstruction.

The implications are awesome, you can extract and delete the original rars and if you want you can recreate them with this <10kb file!
a lot of 'collectors' or 'archivers' would appreciate a feature like this.

Newzleech is back

Newsleecher is operational again could you hand it over.
He is very powerful

Changes for python 3.91 on Arch

Had to change
from validate import Validator
to
from configobj.validate import Validator

on Arch to get it to work again with the latest updates.

Linux KDE/Plasma konsole option removed

Hi,

At least on my System the version of Konsole
> /usr/bin/konsole -v
konsole 17.08.3
don't have the option
--caption "NZB-Monkey"
anymore. So it doesn't work.
But without it all went fine.

Hope this helps.
Pietro

Integrate Premiumize Cloud

Premiumize is a Usenet provider which provides a cloud. You can send an NZB via webinterface or via the API to the service and the files are downloaded into the Premiumize Cloud. Premiumize has a Kodi plugin with which you can access media files from your cloud.
It would be great to see NZBMonkey work together with premiumize.
https://app.swaggerhub.com/apis/premiumize.me/api/1.0.0

Let me know if accounts are needed.

Add Watcher, sonarr,... compatibility

Hello,
I think it could be a good idea to add nzb-monkey support in Watcher and Sonarr. Some french sites are using nzblnk instead of giving directly the NZB.
With this new fonctionality we will be able to automatise our download using all format!

If you need support for testing (site with nzblnk) I could provide one!
Thanks for your tool!

MacOs support working

Hi,

With the following steps you will get the monkey working on MacOs Mojave (10.14):

  1. download linux release
  2. tar xvzf nzbmonkey-v*-linux.tbz2
  3. brew install python
  4. pip3 install --user pyperclip requests configobj colorama
  5. pip3 install --user cryptography
  6. cd nzbmonkey*
  7. create nzbmonkey.cfg by ./nzbmonkey.py
  8. test with real data ./nzbmonkey.py "nzblnk:?t=title&h=header&p=password"
  9. create wrapper script with name nzbmonkey.command:
    #!/bin/sh
    cd "$(dirname "$0")"
    echo "$1" > last_call.txt
    ./nzbmonkey.py "$1"
  10. chmod +x nzbmonkey.command
  11. register nzblnk as url scheme by installing lincastor
  12. open lincastor and add new scheme
  13. Choose as scheme nzblnk
  14. use a shell script to execute nzbmonkey.command $URL

Enjoy

No cfg file created on ubuntu

i tried nzb-monkey for the first time on ubuntu. all worked fine after i had installed the missing modules

 - Write desktop file to '/home/user/.local/share/applications/nzblnk.desktop'
   ... DONE
 - Add nzblnk to mimeapps.list ... DONE
Configuration successfully finished.

but there is no cfg file in the nzb-monkey folder.

Pushing to Synology (with DSM7.x) failing - latest NZBMONKEY version (0.27)

  • Pushing to SYNOLOGY-DLS ...Traceback (most recent call last):
    File "C:\dev\python\nzb-monkey-github\src\nzbmonkey.py", line 1751, in
    File "C:\dev\python\nzb-monkey-github\src\nzbmonkey.py", line 1671, in main
    File "C:\dev\python\nzb-monkey-github\src\nzbmonkey.py", line 1308, in push_nzb_synologydls
    TypeError: can only concatenate str (not "NoneType") to str

any idea whats wrong?

i have window.. when i run .. i get this error.. how to fix

NZB-Monkey v0.2.1

Traceback (most recent call last):
File "nzbmonkey.py", line 1733, in
File "nzbmonkey.py", line 1332, in main
File "C:\dev\Tools\python34\lib\site-packages\configobj.py", line 1229, in i
nit

File "C:\dev\Tools\python34\lib\site-packages\configobj.py", line 1318, in _lo
ad
configobj.DuplicateError: Duplicate keyword name at line 12.

C:\Users\hope\Downloads\nzbmonkey-v0.2.1-win>

NZB-Monkey failing to push to latest SABnzbd

The update of SABnzbd to v3+ (from v2.x.x) included a change to the API that is not yet adressed by NZB-Monkey.

Trying to push a NZB file only results in "Failed" message. Not even listing the categories anymore.

categorize = manual gives KeyError with SABnzbd v3.7.0

NZB_monkey crashes (about here) with KeyError: 'categories' unable to retrieve the categories-list from SABnzbd v3.7.0:

Debug output with categorize = manual in nzbmonkey.cfg:

 ==========================================
 Debug output enabled for NZB-Monkey v0.2.7
 ==========================================

 Started: 2022-11-06 13:26:01 (1667737561)
 Command line arguments passed to NZB-Monkey
 -------------------------------------------
 Arg[0]: C:\Users\hidden\AppData\Local\Programs\nzbmonkey-v0.2.2-win\nzbmonkey.exe
 Arg[1]: nzblnk:?t=hidden&h=hidden&p=hidden
 -------------------------------------------

 Called by NZBLNK scheme:

     - Tag     : hidden
     - Header  : hidden
     - Password: hidden
    
 - Searching NZB - Search for best NZB enabled
   with NZBIndex ... DONE
   - Check NZB (Max. 5 missing files - Max. 5.0% missing Segments)
     Update counter ... 
     Check file count ... OK - 37 from 37 files
     Check segments ...
       Total Segments:        10880
       Expected Segments:     10880
       Missing Segments:          0
       Additional Segments:       0
       OK - 10880 from 10880 segments

     Overall result: OK - All 37 files are complete

   use NZB from NZBIndex
     Upload age:      4 days
     Upload started:  2022-11-02
     Upload duration: 00:01:18
Traceback (most recent call last):
  File "C:\dev\python\nzb-monkey-github\src\nzbmonkey.py", line 1751, in <module>
  File "C:\dev\python\nzb-monkey-github\src\nzbmonkey.py", line 1559, in main
KeyError: 'categories'

Debug output with categorize = off or categorize = auto in nzbmonkey.cfg:

 ==========================================
 Debug output enabled for NZB-Monkey v0.2.7
 ==========================================

 Started: 2022-11-06 13:20:29 (1667737229)
 Command line arguments passed to NZB-Monkey
 -------------------------------------------
 Arg[0]: C:\Users\hidden\AppData\Local\Programs\nzbmonkey-v0.2.2-win\nzbmonkey.exe
 Arg[1]: nzblnk:?t=hidden&h=hidden&p=hidden
 -------------------------------------------

 Called by NZBLNK scheme:

     - Tag     : hidden
     - Header  : hidden
     - Password: hidden
    
 - Searching NZB - Search for best NZB enabled
   with NZBIndex ... DONE
   - Check NZB (Max. 5 missing files - Max. 5.0% missing Segments)
     Update counter ... 
     Check file count ... OK - 37 from 37 files
     Check segments ...
       Total Segments:        10880
       Expected Segments:     10880
       Missing Segments:          0
       Additional Segments:       0
       OK - 10880 from 10880 segments

     Overall result: OK - All 37 files are complete

   use NZB from NZBIndex
     Upload age:      4 days
     Upload started:  2022-11-02
     Upload duration: 00:01:18
 - Pushing to SABNZBD ...OK
 - Saving NZB-file ... OK
 - Done
Close window in 1 second(s)

...or is this a SABnzbd issue?

more "indexer"

Currently nzb-monkey supports 4 Indexers. Unfortunatly, all of them become less reliable every day, espacially with older posts. Software like UE Explorer or Shmes /Grabit do the job. But they do not cooperate with nzb-monkey. An Interface / API connecting to these services would be .. a very nice thing :)

[Question] Android-App

Hi.
I'm working on an App for Android to handle NZBLNKs like your nzb-monkey for Windows. And I'd like to know if it is fine for you if I use the name and the icon/logo?

Regards,
Daniel

64 bit?

The script starts but it's terminated after a few seconds.

python3 nzbmonkey.py 

 NZB-Monkey v0.2.2
 =================

(nzbmonkey.py:24436): Gtk-WARNING **: 17:37:07.396: Theme parsing error: gtk.css:127:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(nzbmonkey.py:24436): Gtk-WARNING **: 17:37:07.396: Theme parsing error: gtk.css:128:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(nzbmonkey.py:24436): Gtk-WARNING **: 17:37:07.396: Theme parsing error: gtk.css:132:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
 ERROR: Please provide a tag and header info.
uname -a
Linux localhost 4.18.0-1-amd64 #1 SMP Debian 4.18.6-1 (2018-09-06) x86_64 GNU/Linux

lsb_release -da
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux testing (buster)
Release:        testing
Codename:       buster
dpkg -l | grep -e pyperclip -e requests -e configobj -e colorama

ii  python-configobj                              5.0.6-3                                 all          simple but powerful config file reader and writer for Python 2
ii  python-requests                               2.18.4-2                                all          elegant and simple HTTP library for Python2, built for human beings
ii  python3-colorama                              0.3.7-1                                 all          Cross-platform colored terminal text in Python - Python 3.x
ii  python3-configobj                             5.0.6-3                                 all          simple but powerful config file reader and writer for Python 3
ii  python3-pyperclip                             1.6.4-1                                 all          Cross-platform clipboard module for Python3
ii  python3-requests                              2.18.4-2                                all          elegant and simple HTTP library for Python3, built for human beings

Suggestion: Docker Container

I love nzb-monkey, but I hate that I can only use it on my windows pc. I'd rather use it everywhere - including my mobile phone. To achieve this a simple docker container with a lightweight webserver should be enough. It doesn't need more than an input filed on the start page where the nzblnk can be put. The config can be in a fix text file at first. Later on, a config page would be nice. The output of the script can be shown in a simple text field.

nzbindex problems

nzb-monkey can't find this file a02c9aacd4e64384bc662f2d52da021a
it's possible to find it with manual search on nzbindex but not via nzb-monkey

Push to SABNZBD fails when sabnzbd is not at /sabnzbd/

My sabnzbd instance lives behind an apache reverse proxy and is located at document root. Pushing to sabnzb vrom nzbmonkey fails for that reason since the path is hard coded in the code. This diff fixes the problem:

--- nzbmonkey-v0.1.10-linux/nzbmonkey.py	2017-02-23 23:13:08.000000000 +0100
+++ nzbmonkey/nzbmonkey.py	2017-02-24 13:02:58.467035916 +0100
@@ -1055,7 +1058,7 @@
  # region NZB Targets
 
 
-def push_nzb_sabnzbd(host, port, ssl, api_key, category, paused, sabnzbd_name, nzb_content,
+def push_nzb_sabnzbd(host, port, ssl, api_key, basepath, category, paused, sabnzbd_name, nzb_content,
                      start_message='Pushing to SABNZBD', debug=False):
     """Push a NZB to SABnzbd
 
@@ -1063,6 +1066,7 @@
     :param str port: SABnzbd Port
     :param bool ssl: Use https
     :param str api_key: NZB Api Key
+    :param str basepath: Basepath where SABnzbd lives
     :param str category: SABnzbd Category
     :param str paused: Add the nzb paused
     :param str sabnzbd_name: Name of the SABnzbd job. To send also the RAR password add {{password}} to the job name
@@ -1076,7 +1080,7 @@
     print(start_message, end='', flush=True)
 
     scheme = 'https' if ssl else 'http'
-    req_url = '{0}://{1}:{2}/sabnzbd/api'.format(scheme, host, port)
+    req_url = '{0}://{1}:{2}/{3}/api'.format(scheme, host, port, basepath)
 
     post_data = {
         'output': 'xml',
@@ -1468,6 +1472,7 @@
                                exe_target_cfg.get('port', '8080'),
                                exe_target_cfg.as_bool('ssl'),
                                exe_target_cfg.get('nzbkey', ''),
+                               exe_target_cfg.get('basepath', 'sabnzbd'),
                                category_args if category_args else exe_target_cfg.get('category', ''),
                                exe_target_cfg.as_bool('addpaused'),
                                nzbsrc['tag'] if nzbsrc['pass'] is None else '%s{{%s}}' % (

NZB-Monkey issue with NZBindex TimeOut

Hi,
I've just see that I've a problem with Nzbindex and nzbking servers:
On each search I've this message:

  • Searching NZB - Search for best NZB enabled
    with NZBIndex ... Timeout
    with NZBKing ... Timeout

But I could browse the website for nzbindex. NZBking seems to be down!
Could you have a look?

Thanks a lot

Proxy?

Just entdeckt, coole Sache!

Meinst Du, man könnte nzb-monkey auch für den Zugang via Proxy erweitern?
In meinem konkreten Fall benötige ich z.B. den Internet-Zugang via Socks5 Proxy.

Danke.

NZBindex not working anymore

After NZBindex beta was shut down, standard NZBindex search changed, resulting in NZBmonkey not finding any results on NZBindex anymore at all

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.