Skip to content

Add option to allow empty links in html plugin#2098

Merged
liiight merged 1 commit intoFlexget:developfrom
thisirs:html-empty-links
Aug 22, 2018
Merged

Add option to allow empty links in html plugin#2098
liiight merged 1 commit intoFlexget:developfrom
thisirs:html-empty-links

Conversation

@thisirs
Copy link
Copy Markdown
Contributor

@thisirs thisirs commented Mar 9, 2018

Motivation for changes:

Some links are sometimes empty but have a CSS style that make them visible (typically an icon) but html plugin ignores them

Detailed changes:

  • Add a allow_empty_links option in html plugin
  • Update skipping code

allow_empty_links is False by default for backward compatibility.

advanced.accept('text', key='password')
advanced.accept('text', key='dump')
advanced.accept('text', key='title_from')
advanced.accept('boolean', key='allow_empty_links')
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not sure the name properly conveys the meaning

Copy link
Copy Markdown
Contributor Author

@thisirs thisirs Mar 9, 2018

Choose a reason for hiding this comment

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

I'm open to any suggestion for a better name... Maybe allow_empty_content?

@thisirs
Copy link
Copy Markdown
Contributor Author

thisirs commented Aug 22, 2018

Any chance this change be merged?

@liiight liiight merged commit 5c1a1ba into Flexget:develop Aug 22, 2018
@thisirs
Copy link
Copy Markdown
Contributor Author

thisirs commented Aug 22, 2018

Great! Thanks!

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.

3 participants