Skip to content

New search plugin, FileList#1700

Merged
cvium merged 6 commits intoFlexget:developfrom
cvium:filelist
Feb 18, 2017
Merged

New search plugin, FileList#1700
cvium merged 6 commits intoFlexget:developfrom
cvium:filelist

Conversation

@cvium
Copy link
Copy Markdown
Contributor

@cvium cvium commented Feb 18, 2017

Motivation for changes:

Request

Config usage if relevant (new plugin or updated schema):

    schema = {
        'type': 'object',
        'properties': {
            'username': {'type': 'string'},
            'password': {'type': 'string'},
            'passkey': {'type': 'string'},
            'category': {'type': 'string', 'enum': list(CATEGORIES.keys())},
            'order_by': {'type': 'string', 'enum': list(SORTING.keys()), 'default': 'hybrid'},
            'order_ascending': {'type': 'boolean', 'default': False},
            'search_in': {'type': 'boolean', 'enum': list(SEARCH_IN.keys())},
            'include_dead': {'type': 'boolean', 'default': False}
        },
        'required': ['username', 'password', 'passkey'],
        'additionalProperties': False
    }

For some weird reason, the site only allows you to search in one category. Picking multiple categories and a search string makes it search in all categories.

requests = RequestSession()
requests.add_domain_limiter(TimedLimiter('filelist.tv', '5 seconds'))

BASE_URL = 'https://filelist.ro/'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this domain differ from the domain limiter one on purpose?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mistake

@cvium cvium merged commit 9407c46 into Flexget:develop Feb 18, 2017
@cvium cvium deleted the filelist branch February 18, 2017 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants