flexget.plugins.input.gazelle module#
- class flexget.plugins.input.gazelle.GazelleSession(**kwargs)[source]#
Bases:
VersionedBase- _cookies#
- _sa_class_manager = {'_cookies': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'authkey': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'base_url': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'cookies': <sqlalchemy.orm.attributes.create_proxied_attribute.<locals>.Proxy object>, 'expires': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'passkey': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'username': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
- authkey#
- base_url#
- cookies#
- expires#
- passkey#
- username#
- class flexget.plugins.input.gazelle.InputGazelle[source]#
Bases:
objectA generic plugin that searches a Gazelle-based website.
Limited functionality but should work for almost all of them.
- authenticate(force=False)[source]#
Log in and store auth data from the server.
Adapted from isaaczafuta/whatapi
- on_task_input(**kwargs)#
- request(no_login=False, **params)[source]#
Make an AJAX request to the API.
If no_login is True, logging in will not be attempted if the request is redirected to the login page.
Adapted from isaaczafuta/whatapi
- resume_session()[source]#
Resume an existing session from the database.
Return True on successful recovery, False otherwise
- save_current_session()[source]#
Store the current session in the database so it can be resumed later.
- search(**kwargs)#
- property schema#
The schema of the plugin.
Subclasses should extend this to implement more params
- class flexget.plugins.input.gazelle.InputGazelleMusic[source]#
Bases:
InputGazelleA plugin that searches a Gazelle-based music website.
Based on WhatCD/Gazelle since it’s the starting point of all Gazelle-based music sites.
- property schema#
The schema of the plugin.
Extends the super’s schema
- class flexget.plugins.input.gazelle.InputNotWhat[source]#
Bases:
InputGazelleMusicA plugin that searches NWCD.
- class flexget.plugins.input.gazelle.InputRedacted[source]#
Bases:
InputGazelleMusicA plugin that searches RED.