flexget.plugins.input.html module#
- class flexget.plugins.input.html.InputHtml[source]#
Bases:
objectParse urls from html page.
Useful on sites which have direct download links of any type (mp3, jpg, torrent, …).
Many anime-fansubbers do not provide RSS-feed, this works well in many cases.
Configuration expects url parameter.
Note: This returns ALL links on url so you need to configure filters to match only to desired content.
- on_task_input(**kwargs)#
- schema = {'oneOf': [{'type': 'string'}, {'additionalProperties': False, 'properties': {'allow_empty_links': {'type': 'boolean'}, 'dump': {'type': 'string'}, 'increment': {'oneOf': [{'type': 'boolean'}, {'additionalProperties': False, 'properties': {'entries_count': {'type': 'integer'}, 'from': {'type': 'integer'}, 'name': {'type': 'string'}, 'step': {'type': 'integer'}, 'stop_when_404': {'type': 'boolean'}, 'stop_when_empty': {'type': 'boolean'}, 'to': {'type': 'integer'}}, 'type': 'object'}]}, 'links_re': {'items': {'format': 'regex', 'type': 'string'}, 'type': 'array'}, 'password': {'type': 'string'}, 'title_from': {'type': 'string'}, 'url': {'format': 'url', 'type': 'string'}, 'username': {'type': 'string'}}, 'required': ['url'], 'type': 'object'}]}#