mirror of
https://github.com/nikdoof/flexget-plugins.git
synced 2025-12-18 12:19:28 +00:00
Removed mention of API URL, not supported in mainline version of python-twitter
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
import logging
|
||||
from flexget.plugin import *
|
||||
|
||||
__pychecker__ = 'unusednames=parser'
|
||||
|
||||
log = logging.getLogger('twitter')
|
||||
|
||||
class OutputTwitter:
|
||||
@@ -18,7 +16,6 @@ class OutputTwitter:
|
||||
username : twitter username (required)
|
||||
password : twitter password (required)
|
||||
to : the recipients
|
||||
apiurl : API URL
|
||||
active : is this plugin active or not ?
|
||||
|
||||
Config basic example:
|
||||
@@ -35,13 +32,11 @@ class OutputTwitter:
|
||||
twitter.accept('text', key='to')
|
||||
twitter.accept('text', key='username', required=True)
|
||||
twitter.accept('text', key='password', required=True)
|
||||
twitter.accept('text', key='apiurl')
|
||||
return twitter
|
||||
|
||||
def get_config(self, feed):
|
||||
config = feed.config['twitter']
|
||||
config.setdefault('active', False)
|
||||
config.setdefault('apiurl', 'http://twitter.com/')
|
||||
return config
|
||||
|
||||
def on_feed_exit(self, feed):
|
||||
|
||||
Reference in New Issue
Block a user