{"comment":{"url":"https://api.github.com/repos/caronc/newsreap/comments/18638758","html_url":"https://github.com/caronc/newsreap/commit/4ab111f058e0866dd8eb33414460e862d251c092#commitcomment-18638758","id":18638758,"user":{"login":"Safihre","id":5703454,"avatar_url":"https://avatars.githubusercontent.com/u/5703454?v=3","gravatar_id":"","url":"https://api.github.com/users/Safihre","html_url":"https://github.com/Safihre","followers_url":"https://api.github.com/users/Safihre/followers","following_url":"https://api.github.com/users/Safihre/following{/other_user}","gists_url":"https://api.github.com/users/Safihre/gists{/gist_id}","starred_url":"https://api.github.com/users/Safihre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Safihre/subscriptions","organizations_url":"https://api.github.com/users/Safihre/orgs","repos_url":"https://api.github.com/users/Safihre/repos","events_url":"https://api.github.com/users/Safihre/events{/privacy}","received_events_url":"https://api.github.com/users/Safihre/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"4ab111f058e0866dd8eb33414460e862d251c092","created_at":"2016-08-15T09:17:00Z","updated_at":"2016-08-15T09:17:00Z","body":"I switched to my Ubuntu VM now, but when I run the NZB example I get (with ```test2,py``` located in the directory containing newsreap-repo, after running the setup.py):\r\n```\r\nTraceback (most recent call last):\r\n  File \"test2.py\", line 18, in <module>\r\n    NNTPnzb('~/Documents/ga.nzb', tmp_dir='~/Documents/tmp'),\r\nTypeError: 'module' object is not callable\r\n```\r\nThis is my script:\r\n```python\r\nfrom newsreap import NNTPConnection\r\n\r\n# Create an NNTP Connection\r\nsock = NNTPConnection(\r\n    host='eunews.frugalusenet.com',\r\n    port=119,\r\n    # Set this to True and use the Secure port\r\n    # if you want.\r\n    secure=False,\r\n    username='safihre',\r\n    password='x',\r\n)\r\n\r\n\r\n# - Retrieve a series of articles if you have an nzbfile:\r\nfrom newsreap import NNTPnzb\r\nresult = sock.get(\r\n    NNTPnzb('~/Documents/ga.nzb', tmp_dir='~/Documents/tmp'),\r\n    work_dir='~/Documents/tmp'\r\n)\r\n```"}}
{"actor":{"display_login":"Safihre"}}