flexget.plugins.input.html module#

class flexget.plugins.input.html.InputHtml[source]#

Bases: object

Parse 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.

static _title_from_url(url)[source]#
_request_url(task, config, url, auth, dump_name=None)[source]#
build_config(config)[source]#
create_entries(page_url, soup, config)[source]#
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'}]}#
flexget.plugins.input.html.register_plugin()[source]#