flexget.components.sites.sites.morethantv module#
- class flexget.components.sites.sites.morethantv.MoreThanTVCookie(**kwargs)[source]#
Bases:
VersionedBase- _cookie#
- _sa_class_manager = {'_cookie': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'cookie': <sqlalchemy.orm.attributes.create_proxied_attribute.<locals>.Proxy object>, 'expires': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'username': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
- cookie#
- expires#
- username#
- class flexget.components.sites.sites.morethantv.SearchMoreThanTV[source]#
Bases:
objectMorethanTV search plugin.
- get(url, params, username, password, force=False)[source]#
Allow refreshing the cookie if it is invalid for some reason.
- search(**kwargs)#
- errors = False#
- schema = {'additionalProperties': False, 'properties': {'all_tags': {'default': True, 'type': 'boolean'}, 'category': {'oneOf': [{'items': {'enum': ['HD Episode', 'HD Movies', 'HD Season', 'SD Epiosde', 'SD Movies', 'SD Season'], 'title': 'single value', 'type': 'string'}, 'minItems': 1, 'title': 'multiple values', 'type': 'array', 'uniqueItems': True}, {'enum': ['HD Episode', 'HD Movies', 'HD Season', 'SD Epiosde', 'SD Movies', 'SD Season'], 'title': 'single value', 'type': 'string'}]}, 'order_by': {'default': 'time', 'enum': ['seeders', 'leechers', 'time'], 'type': 'string'}, 'order_way': {'default': 'desc', 'enum': ['desc', 'asc'], 'type': 'string'}, 'password': {'type': 'string'}, 'tags': {'oneOf': [{'items': {'enum': ['action', 'adventure', 'animation', 'anime', 'art', 'asian', 'biography', 'celebrities', 'comedy', 'cooking', 'crime', 'cult', 'documentary', 'drama', 'educational', 'elclasico', 'family', 'fantasy', 'film.noir', 'filmromanesc', 'food', 'football', 'formula.e', 'formula1', 'gameshow', 'highlights', 'history', 'horror', 'investigation', 'lifestyle', 'liga1', 'ligabbva', 'ligue1', 'martial.arts', 'morethan.tv', 'motogp', 'musical', 'mystery', 'nba', 'news', 'other', 'performance', 'philosophy', 'politics', 'reality', 'romance', 'romanian.content', 'science', 'scifi', 'short', 'silent', 'sitcom', 'sketch', 'sports', 'talent', 'tennis', 'thriller', 'uefachampionsleague', 'uefaeuropaleague', 'ufc', 'war', 'western', 'wta'], 'title': 'single value', 'type': 'string'}, 'minItems': 1, 'title': 'multiple values', 'type': 'array', 'uniqueItems': True}, {'enum': ['action', 'adventure', 'animation', 'anime', 'art', 'asian', 'biography', 'celebrities', 'comedy', 'cooking', 'crime', 'cult', 'documentary', 'drama', 'educational', 'elclasico', 'family', 'fantasy', 'film.noir', 'filmromanesc', 'food', 'football', 'formula.e', 'formula1', 'gameshow', 'highlights', 'history', 'horror', 'investigation', 'lifestyle', 'liga1', 'ligabbva', 'ligue1', 'martial.arts', 'morethan.tv', 'motogp', 'musical', 'mystery', 'nba', 'news', 'other', 'performance', 'philosophy', 'politics', 'reality', 'romance', 'romanian.content', 'science', 'scifi', 'short', 'silent', 'sitcom', 'sketch', 'sports', 'talent', 'tennis', 'thriller', 'uefachampionsleague', 'uefaeuropaleague', 'ufc', 'war', 'western', 'wta'], 'title': 'single value', 'type': 'string'}]}, 'username': {'type': 'string'}}, 'required': ['username', 'password'], 'type': 'object'}#